ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Execute Javascript inside of XTML published article??

June 07, 2012 8:44pm

Subscribe [2]
  • #1 / Jun 07, 2012 8:44pm

    handyman

    509 posts

    As per the title - is it possible to use any sort of wrapper to make a JS call (like adsense) work inside a article published in EE 1.7?

    I already have done do in the TEMPLATES, and have also used “no format” and then HTML and JS pasted in…both work fine. But this is an instance where I want to tag only certain articles to have an ad in the middle of the text - and they are all XHTML plain EE texts.

    To make it clearer, I need to execute the code - for example - in the middle of the “body” piece of an entry.

  • #2 / Jun 08, 2012 5:19pm

    Shane Eckert

    7174 posts

    Hey handyman,

    Thank you for posting your question here on the ExpressionEngine forums.

    Can you show me the code you are thinking of using?

    I am not sure it would work in a custom entry field, but let’s see what you got!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases