• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 varible for node description

Nudaii

Well-known member
#1
Howdy what would be the variable for node description, so i can say place it elsewhere in a template?

So viewing node example it dynamically shows the description of that node? (i have some fancy html/css plans for a site of mine)
 

Nudaii

Well-known member
#3
I was hoping to kinda have a speech bubble type description (for my rp site)

and use it for meta description

do you think the latter would be possible?
 

Nudaii

Well-known member
#4
<meta name="description" content="{xen:raw $forum.description}" />

however i am not sure exactly how to get where to put it?

and how to have it

aka if index show (global board description)

if viewing a node
<meta name="description" content="{xen:raw $forum.description}" />


any ideas?
 

Chris D

XenForo developer
Staff member
#5
I'm not sure if I'm misunderstanding you (if so, entirely my fault, I've had a long day and not been sleeping much!) but the meta description for each forum is already the standard forum description. If you take a look at the source for the Suggestion forum for example, you'll see:

HTML:
<meta name="description" content="If you would like to suggest a feature that can stand alone or is an entire add-on itself, please post it here. Small adjustments can be posted here." />
And if you hover over that forum description you'll see:

description_pop.png