Hi,
Perhaps someone can help me ...
I want to embed php code on a page.
When I edit this page with the WYSIWYG-editor, I can not insert PHP code (obviously).
If I use the {embed url="http://whatever.com"} tag .. it works .. but with a fixed height .. and I'm unable to change it.
Is there a way to insert PHP code within a page?
This PHP code only has to appear on 1 page ... so not on all pages.
Thanx in advance.
Gr. Rik
[SOLVED] PHP code inside
-
Ric
[SOLVED] PHP code inside
Last edited by Ric on Tue Aug 07, 2007 12:24 pm, edited 1 time in total.
Re: PHP code inside
Ric,
embed, embeds the called URL inside an iframe, that has a default height/width. You can give a bigger height by using the CSS. I think the help of {embed} already states how to increase the height. If you're embedding external pages (outside) the domain, the height can't be dynamically retrieved, so you have to give height yourself.
Ronny
embed, embeds the called URL inside an iframe, that has a default height/width. You can give a bigger height by using the CSS. I think the help of {embed} already states how to increase the height. If you're embedding external pages (outside) the domain, the height can't be dynamically retrieved, so you have to give height yourself.
Ronny
-
cyberman
Re: PHP code inside
Have you tried to use a user defined tag (admin panel, extensions > user defined tag)?
You can put there your source and call it via {name_of_userdefined_tag} inside WYSIWYG editor ...
You can put there your source and call it via {name_of_userdefined_tag} inside WYSIWYG editor ...
-
Ric
Re: PHP code inside
Thanx for the quick .. very quick replies. 
I'm going to check these options. If I understand how to do it .. I'll change the subject to [SOLVED]
Greetz, Rik
I'm going to check these options. If I understand how to do it .. I'll change the subject to [SOLVED]
Greetz, Rik

