Hello, I would like to know if it is possible
to add a page (within pages module) that will include some of my html and php at the same time?
because It seems that when I'm trying to include php It doens't work at all.
(I'm trying to do an additional uploading form)
Thanks, Yarik.
Posts: 1857
Should work. Try some simple php first (like an echo command) and troubleshoot from there.
Posts: 27300
All you should have to do is edit views/pages_display.html.php
Your code will show on all pages pages. If you want different content for different pages then you will have to be a bit more creative.
Adding the php via the UserInterface of the Pages module might get some stuff stripped.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11
Thanks guys, I'm still trying to figure it out ..
I found that it is possible to do it with Iframe. but it doesn't look well.
Maybe there is a way to create a php page?
Posts: 180
Hi,
Had a similar problem. The Pages module doesn't accept html and just strips code as Dave says. It works fine editing views/pages_display.html.php but shows on all pages as already commented. If you upload the "Edit tinymce" module and the "about" module it works fine except that I have only used one page. Hope this helps,
Ken
www.talkingwalk.com/gallerywalk
Posts: 11
It helped me alot!! thanks..
And last question! anyone knows where can I input my php code in the about module?