Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Textpattern and iframe
I sometimes blog about films and books and would like to add an Amazon Associates link.
This uses an iframe eg.
<iframe src=“http://rcm-uk.amazon.co.uk/e/cm?t=properinthesu-21&o=2&p=8&l=as1&asins=B00112S8SC&fc1=000000&IS2=1<1=_blank&lc1=265E15&bc1=FFFFFF&bg1=FFFFFF&f=ifr&nou=1” style=“width:120px;height:240px;” scrolling=“no” marginwidth=“0” marginheight=“0” frameborder=“0”></iframe>
It doesn’t seem to work in Textpattern …? Any one know a way to do this?
Thanks
Geoff
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Textpattern and iframe
Do any of these plugins help?
Offline
Offline
Re: Textpattern and iframe
Hi Steve,
Content – Write – HTML – paste in the iframe code above – update – save article ….. and I get nothing …?
In fact look again at the HTML and the iframe code has gone ….?
Any ideas …
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Offline
#6 2008-02-23 22:08:22
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Textpattern and iframe
geoff777 wrote:
Content – Write – HTML – paste in the iframe code above
You can’t add something in the HTML tab, it’s only meant for viewing the code.
Offline
Re: Textpattern and iframe
Els wrote:
You can’t add something in the HTML tab, it’s only meant for viewing the code.
I’m using tinymce wysiwyg plugin it appears I can alter the HTML using this.
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
#8 2008-02-23 22:18:30
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Textpattern and iframe
Ah OK, I don’t know that plugin. But try jm’s advice (add it in the ‘text’ tab).
Offline
Re: Textpattern and iframe
maverick wrote:
Do any of these plugins help?
Had a look at all of these one comes close but I can’t seeow to add my associate id.
Thanks
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Textpattern and iframe
Els wrote:
Ah OK, I don’t know that plugin. But try jm’s advice (add it in the ‘text’ tab).
I tried notextile. and it just prints out the iframe code as if it was text
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Textpattern and iframe
Steve was right it does work … no need for notextile.
The problem was the tinymce wysiwyg plugin. I disabled it and the amazon link works.
Thanks to all for taking the time to help.
Geoff
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Textpattern and iframe
Here we go, resurrecting the dead (thread).
I hate to say it, but I think I have need for putting an iframe in articles (not Amazon related), and I may need to install hak_tinymce for the client in general (the placebo), and it looks like in 2008 there was a problem with hak_tinymce and iframes.
I then found this article of some unknown date which shows a little hak hack to make it work. The prescribed fix was…
In tinymce.js, find
this._def("extended_valid_elements","");
and replace it withthis._def("extended_valid_elements","iframe[align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|Src|width]");
. Then upload the file andiframe
works with hak_tinymce.
So my question is just to see if this is all par for the course 3 years later?
Offline