- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
06-26-2013 08:03 AM - last edited on 09-17-2016 07:58 PM by kathleen_jo
Hello, I am trying to integrate the following script into our website using the content modification extension: http://toddmotto.com/reengineering-the-jbar-plugin-with-immediately-invoked-data-expressions/ (desired end result: http://toddmotto.com/labs/jbar/) The tag is set to load on the applicable pages which works fine. My challenge is passing the proper html through the content modification extension. The demo html using the data-jbar attribute is as follows: (edit: I couldn't use the div tags or it erased the entire code block.) class="jbar" data-init="jbar" data-jbar='{ "message" : "jBar, re-imagined. Get version 2.0.0 now!", "button" : "Download", "url" : "http://toddmotto.com/labs/jbar/jbar_v2.zip", "state" : "closed" Inside the CME, I replaced the double quotes with & quot; and escaped the single quotes. But when the code is injected in the page, the single quotes are replaced with double quotes and the bar does not appear. There are no errors throw in the console. It works fine locally but won't seem to work with Tealium. What am I missing here? Any insight would be greatly appreciated. Thank you, Jeff
06-26-2013 12:14 PM
06-26-2013 12:34 PM
06-26-2013 12:37 PM
06-26-2013 12:50 PM
06-26-2013 01:45 PM
06-26-2013 01:49 PM
06-26-2013 01:54 PM
Copyright All Rights Reserved © 2008-2023