- Could I perhaps somehow hide/show code based on a URL? So that I would have five sets of Facebook JS code and only the bit relevant to a particular sub-domain would show up?
- Any way I can add/insert html under the head tag using a stack? I could then easily make that code active or inactive in several different ways.
I feel like there’s a way just can’t figure it out Any help or thoughts appreciated. @zeebe @joeworkman your brilliant input is welcome
you can’t put a
noscript like that into the header – it will not work. i suspect that code is meant to go into he body of the page.
a no-script tag can go into a header – so long as it does not contain body elements. but this one does. it contains an
to make this work you’ll probably have to put that code into the body somewhere – or remove the no-script bit.
as for how this impacts Total CMS – i’ll leave that to the experts (not me)
Isaiah, thank you for the input. Oddly however, the code works just fine under the head tag when I place the code into the settings/code/head setting of Rapidweaver. The site functions fine and the JS registers with Facebook and all works? Facebook instructions are to place it under the head tag. Why this works and contradicts your point is above my pay grade
Have you made sure that your CMS admin text stack is set to use plain text/strip html? I don’t know why it would split things up. Having said that, I’ve used text macros in page descriptions and URL fields, but never in the code boxes for RW…
Thanks for the suggestion Jason. I’ve tried the various options for the CMS text stack settings. I have it set to text, and have tried with/without strip html, with/without markdown, etc. with no luck. Appreciate the suggestion though.
BAM! That did the trick Thanks Joe. I’m continually amazed at the things I can do with Total CMS and Foundation for that matter. Thanks for the support and an awesome product.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.