2013-09-03, 01:51 PM
Hi, how can I show a message only to guests viewing threads?
Conditional show only to guests viewing threads
|
2013-09-03, 01:51 PM
Hi, how can I show a message only to guests viewing threads?
2013-09-03, 01:59 PM
What kind of message do you mean?
2013-09-03, 02:00 PM
Lets just pretend I want to show this one "HELLO WORLD"
2013-09-03, 02:08 PM
You can add the message or things you want on header templates:
header_wellcomeblock_guest Something like that i don't remember fine xD, but something like that, you can add whatever you want and shows only to guests. Many users i helped, add some message like vB xD. The only infinite thing is the universe and human stupidity, but the universe is not for sure
Plugins 1.6.x Plugins 1.8.x
2013-09-03, 02:08 PM
as you are using template conditionals plugin, you can use code like below in showthread template
Thanks very much! I know where it should be added but I need conditional control so that only guests browsing threads can see it!
(2013-09-03, 02:08 PM).m. Wrote: as you are using template conditionals plugin, you can use code like below in showthread template Thanks, how to make your code to show my message only when someone is viewing a thread. For instance http://letsforum.com/Thread I want to add this code to header template! Hi .M. what if I can add it to "Navigation Templates"
2013-09-03, 03:03 PM
if you want to show it on the thread pages only then showthread template is the correct place.
if you want to show the message on all pages except the index then code like below can be used in header / footer template
I'd not suggest to add such code to navigation templates - but the code can be added to header template below <navigation>
2013-09-03, 03:12 PM
(2013-09-03, 03:03 PM).m. Wrote: if you want to show it on the thread pages only then showthread template is the correct place. As always perfect answer! Thanks very much. Me love you long time |
« Next Oldest | Next Newest »
|