At the moment we are using a CMS called Immediacy. One of the things this has is a plugin called Insert Anything. This allows the page editors the ability to add javascript to pages, as they may need to add tracking tags etc... to specific pages without the need and hassle of creating a whole new template just to add some.
Is there any way this can be done in umbraco, this is another stumbling block I have come across. I am trying the example of using an macro with a multiline text field, but this just seems to break the markup.
Has anybody got a definitive solution to this, is there a package that allows it, I can't seem to find one?
I usually have an "SEO Tracking" tab on all content pages, with the following textareas:
header script, start of body script, end of body script and google analytics
I have the google analytics one as a recursive field on the template (so all pages use the code on the homepage, but you can override it on individual pages if you wish). The rest are specific to the page.
Allowing Editors to add script to pages
At the moment we are using a CMS called Immediacy. One of the things this has is a plugin called Insert Anything. This allows the page editors the ability to add javascript to pages, as they may need to add tracking tags etc... to specific pages without the need and hassle of creating a whole new template just to add some.
Is there any way this can be done in umbraco, this is another stumbling block I have come across. I am trying the example of using an macro with a multiline text field, but this just seems to break the markup.
Has anybody got a definitive solution to this, is there a package that allows it, I can't seem to find one?
Thanks
Hey,
This is possible by either a Macro or some logic, what about a checkbox that just states "EnableTracking".
What is the exact problem with rendering a multiline text field? If you are pulling this out using XSLT then you might need to use:
<xsl:value-of select="$currentPage/yourProperty" disable-output-escaping="yes"/>
Rich
I usually have an "SEO Tracking" tab on all content pages, with the following textareas:
header script, start of body script, end of body script and google analytics
I have the google analytics one as a recursive field on the template (so all pages use the code on the homepage, but you can override it on individual pages if you wish). The rest are specific to the page.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.