Steve
I want to embed some software into one LCMS page. Is there an easy way to add code to the <head> tag for a single page, rather than for all the pages (via Main template)?
Many thanks
Neil
Amending <head> for specific page
4 posts
• Page 1 of 1
Amending <head> for specific pageSteve
I want to embed some software into one LCMS page. Is there an easy way to add code to the <head> tag for a single page, rather than for all the pages (via Main template)? Many thanks Neil
You could put an if statement in the main template.
e.g.
Many thanks Steveyet again. My problem is not knowing what the correct variables are! Well, one of them, anyway.
Neil
Next issueThe {if} statements are working i.e. they are selecting the correct page, but I am trying to execute php code and because MainTemplate is a .html, the php code is not executing.
Can I rename the MainTemplate to be a .php or is there a less drastic solution? Many thanks Neil
4 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 8 guests |