C Chris Radford Active member Oct 20, 2021 #1 Hey guys. We want to make the "VPN Netflix and casino" link in the bottom left of our footer only appear on our homepage. I tried <xf:if is="$__globals.template == 'forum_list'"> </xf:if> but it didn't seem to work. Any assistance? Thanks!
Hey guys. We want to make the "VPN Netflix and casino" link in the bottom left of our footer only appear on our homepage. I tried <xf:if is="$__globals.template == 'forum_list'"> </xf:if> but it didn't seem to work. Any assistance? Thanks!
P Paul B XenForo moderator Staff member Oct 20, 2021 #2 Assuming you are editing the PAGE_CONTAINER template it would just be: HTML: <xf:if is="$template == 'forum_list'"> Content </xf:if> Upvote 0 Downvote
Assuming you are editing the PAGE_CONTAINER template it would just be: HTML: <xf:if is="$template == 'forum_list'"> Content </xf:if>
C Chris Radford Active member Oct 20, 2021 #3 Mr Lucky said: All you should do is just post the URL, not the whole html code Ie isolate the url before posting it Click to expand... Brogan said: </xf:if> Click to expand... Hey @Brogan Thanks for the quick response - but we are editing Styles Properties - Footer Upvote 0 Downvote
Mr Lucky said: All you should do is just post the URL, not the whole html code Ie isolate the url before posting it Click to expand... Brogan said: </xf:if> Click to expand... Hey @Brogan Thanks for the quick response - but we are editing Styles Properties - Footer
P Paul B XenForo moderator Staff member Oct 20, 2021 #4 You can't add HTML to the style properties in that manner - they are just for styling purposes. Unless you're using a third party style which allows links to be added? Upvote 0 Downvote
You can't add HTML to the style properties in that manner - they are just for styling purposes. Unless you're using a third party style which allows links to be added?
C Chris Radford Active member Oct 20, 2021 #5 Brogan said: You can't add HTML to the style properties in that manner - they are just for styling purposes. Unless you're using a third party style which allows links to be added? Click to expand... @Brogan Can we not do it here, no? Upvote 0 Downvote
Brogan said: You can't add HTML to the style properties in that manner - they are just for styling purposes. Unless you're using a third party style which allows links to be added? Click to expand... @Brogan Can we not do it here, no?
P Paul B XenForo moderator Staff member Oct 20, 2021 #6 That's a third party customisation and we have no knowledge of how it works. Try the code I posted above - it may work. If not, dump the vars to see what the actual param is: {{ dump(vars()) }} Upvote 0 Downvote
That's a third party customisation and we have no knowledge of how it works. Try the code I posted above - it may work. If not, dump the vars to see what the actual param is: {{ dump(vars()) }}