Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Trying to use a script in an article
Hi there,
I’m hoping you can help me
I am using a 3rd party web form site to create a data entry form. I have tried to embed it using a script they have provided in an article but all I get is a blank page. (http://www.ndmtennis.co.uk/shop/201101)
When I tried it at page level it worked fine. (http://www.ndmtennis.co.uk/shop1)
Any suggestions as to why its not working at article level and how it can be rectified would be greatly appreaciated
Kind Regards
Chris
Last edited by manncj (2011-01-17 22:28:01)
Offline
Re: Trying to use a script in an article
can we see the embedded code snippet somewhere?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Trying to use a script in an article
<a name=“form1120849162” id=“formAnchor1120849162”></a>
<script type=“text/javascript” src=“https://fs22.formsite.com/include/form/embedManager.js?1120849162”></script>
<script type=“text/javascript” EmbedManager.embed({key:“https://fs22.formsite.com/form_app/FormSite?EParam=IRLY%2BVpkNNgGlFMPzwe1pSPoPJMOjxIEKm8qHSeyW8AZ%2BUAR4qS3Zonjqh0%2BizcTK5oMHUOxJy8%3D&1120849162”,width: “100%”});
</script>
Offline
Re: Trying to use a script in an article
Hi i think it s a textile problem, try escape textile or disable textile in that article.
Cheers
Offline
Re: Trying to use a script in an article
how do I go about that?
Sorry if I’m being thick!!!
Offline
Re: Trying to use a script in an article
notextile. <a name="form1120849162" id="formAnchor1120849162"></a>
<script type="text/javascript" src="https://fs22.formsite.com/include/form/embedManager.js?1120849162"></script>
<script type="text/javascript" EmbedManager.embed({key:"https://fs22.formsite.com/form_app/FormSite?EParam=IRLY%2BVpkNNgGlFMPzwe1pSPoPJMOjxIEKm8qHSeyW8AZ%2BUAR4qS3Zonjqh0%2BizcTK5oMHUOxJy8%3D&1120849162",width: "100%"});
</script>
Remember that a blank line will end the notextile
block.
Last edited by jsoo (2011-01-17 18:01:59)
Code is topiary
Offline
Re: Trying to use a script in an article
tried that… it didnt work :(
if you want to have a look in textpattern:
user: deleted
pass: deleted
deleted user/pass for your security
Last edited by colak (2011-01-17 18:55:02)
Offline
Re: Trying to use a script in an article
The script is there, and the embedManager.js?1120849162 script is loading. It isn’t otherwise working because you didn’t close the opening script
tag for the second script.
Code is topiary
Offline
Re: Trying to use a script in an article
I went ahead and fixed it for you.
Code is topiary
Offline
Re: Trying to use a script in an article
thank you very much!!!!
Offline
Pages: 1