Quantcast
Viewing all articles
Browse latest Browse all 2325

phpBB Custom Coding • Re: Making PARENT_ID available to the templates

@Mannix_

Thanks for telling me about the Twig syntax. Image may be NSFW.
Clik here to view.
:)


I'm now using the following and it works exactly as expected...

Code:

{% ifSCRIPT_NAME != 'index' or(SCRIPT_NAME == 'index' and forumrow.FORUM_ID in ['1', '2', '3', '11'])%}
An added bonus of using Twig is the ability to use new lines. Image may be NSFW.
Clik here to view.
:)

Statistics: Posted by Denis — Wed Jan 24, 2024 2:10 pm



Viewing all articles
Browse latest Browse all 2325

Trending Articles