Guest Welcome message

TazDevilLooney

Active member
Hi there, How would i go about adding a message above the forum block for guests?

Example : If you’re just joining us here at blar,blar, welcome! Our community works together to bring you the information found here, we are looking forward to you being a part of it! Registration is simple and quick, and a one time thing.

Thankyou ;)
 
Grate stuff, could you give a bit of a idiots guide to that Brogan,
I have no problem placeing the information in the template, however....

Do i make a template for this or place the text between the lines "<xen:include template="welcome_message" />"

Thanks guys
 
You create the template called "welcome_message" and write your text in that template.
Then use the xen:include to add it to the other templates.

Or you can do it all inline between the IF statement, e.g.
<xen:if is="!{$visitor.user_id}">
<div class="importantMessage">Hello, welcome to our forum</div>
</xen:if>

It's up to you how you do it but I prefer to use separate templates.
 
Top Bottom