Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Thank you Rod for your suggestion to use separate scripts for each page, I forgot to mention it's my current workaround but I have to maintain a bunch of templates whitch hold 99,9% of the same configuration.
Daniel, I will give your solution a try, thank you very much!
Hi,
I'm migrating my running CE4 website to backlight (1.2.3r4).
What I wish do have is a hook triggered only when a specific page is called.
Is there a php variable like $page or a env variable containing the path or the identifier?
in the CE4 environment I did it like this for example for the standard 'Info' page:
function ttg_block_bottom( $style, $path ) {
if (G_STYLE == 'CE4-PAGES-INFO') {
echo '.....'
}
}
This runs well although I never explored the possibility to trigger it beyound a standard page identifier.
Hope you have an idea!
Regards,
Jürgen
Pages: 1