unless there is a way to ftp a custon_page.php file like the way we can do with custom_block module to add php strings or <scripts> with the module that you mentioned. is it possible? because the page module allow me to add pages with and text box and I dont think I can add php strings in a text editor
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2014-01-28 04:24
You can add javascript to the 'HTML Code' text area of the pages module configuration page.
[img]http://galleryproject.org/files/pages_admin.png[/img]
If you want to add PHP then your going to have to edit the view page; /views/pages_display.html.php it will show up on all pages unless you add some if/else checks.
Posts: 27300
Try http://codex.galleryproject.org/Gallery3:Modules:Pages or the 2 other similar pages it suggests.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
unless there is a way to ftp a custon_page.php file like the way we can do with custom_block module to add php strings or <scripts> with the module that you mentioned. is it possible? because the page module allow me to add pages with and text box and I dont think I can add php strings in a text editor
Posts: 27300
You can add javascript to the 'HTML Code' text area of the pages module configuration page.
[img]http://galleryproject.org/files/pages_admin.png[/img]
If you want to add PHP then your going to have to edit the view page; /views/pages_display.html.php it will show up on all pages unless you add some if/else checks.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
If that is not what your after then one of the 2 other modules suggested in the pages module docs should do the trick.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team