1

I would really like to use this on a single cms page in magento. For some reason it will not show the content. i allready tried several google answers without any succes.

Smartphone kopen link to page with script

<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script type="text/javascript">// <![CDATA[
mediaid=191156;subid='';entry=25;provider='0';duration=0;renewal=0;daisyconTelecomFilterView=1;col='1111111';programs='all';header='FFFFFF';background_price='E2F0FB';border='ECECEC';button_text='Bekijken';button_color='FF8300';button_hover='FF9E3D';button_textcolor='FFFFFF';font='Arial';slider='3694C7';minMob='0';maxMob='1000';minMin='100';maxMin='3000';minInt='200';maxInt='6000';minAb='0';maxAb='100';mobiles='all';
// ]]></script>
<script type="text/javascript" src="http://developers.affiliateprogramma.eu/mobielvergelijker/general.js"></script>
<script type="text/javascript" src="http://developers.affiliateprogramma.eu/mobielvergelijker/jquery.nouislider.min.js"></script>
3
  • Post what you tried and what didn't work about it. Commented Mar 24, 2014 at 16:12
  • where did you add this? In the content section of the cms page? Commented Mar 24, 2014 at 16:22
  • design tab of cms page, Layout Update XML field Commented Mar 24, 2014 at 16:34

1 Answer 1

1

Edit your page, in design tab add

<reference name="head">
    <action method="addJs">
        <script>http://code.jquery.com/jquery-1.8.3.min.js</script>
    </action>
    <block type="core/text" name="custom.js" >
        <action method="setText">
            <text>// <![CDATA[mediaid=191156;subid='';entry=25;provider='0';duration=0;renewal=0;daisyconTelecomFilterView=1;col='1111111';programs='all';header='FFFFFF';background_price='E2F0FB';border='ECECEC';button_text='Bekijken';button_color='FF8300';button_hover='FF9E3D';button_textcolor='FFFFFF';font='Arial';slider='3694C7';minMob='0';maxMob='1000';minMin='100';maxMin='3000';minInt='200';maxInt='6000';minAb='0';maxAb='100';mobiles='all'; // ]]></text>
        </action>
    </block>
    <action method="addJs">
        <script>http://developers.affiliateprogramma.eu/mobielvergelijker/general.js</script>
    </action>
    <action method="addJs">
        <script>http://developers.affiliateprogramma.eu/mobielvergelijker/jquery.nouislider.min.js</script>
    </action>
</reference>

Sorry, now tested adn working code

Sign up to request clarification or add additional context in comments.

5 Comments

That does not make it work, if i paste above in Layout Update XML on design tab there's still no script showing up
Still not working after tested code, still got white page. pasted link in first post!
interesting, maybe it's cache issue, clear it for layouts and blocks output
If you take a look at the link in first post u will see the script text above the header.
This is perfect for the analytics experiments feature.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.