Announcement

#1 2019-12-08 22:53:50

dummer-esel
Member
2017-01-25
44

How to display PHP in an additional page?

Hi,

sorry if this is a stupid question...
I want to have an additional page and within execute some PHP code (like results of a mysql query). I already found the "additional pages" extension, however it does not include PHP code, only HTML/text.

Instead of just uploading a single file I still would like to keep the "stuff" like navigation, theme design etc. on that page, this is why I ask.

Maybe I just don't see how to do it?

Thanks.

Offline

 

#2 2019-12-09 04:18:39

executive
Member
2017-08-16
1099

Re: How to display PHP in an additional page?

Offline

 

#3 2019-12-09 11:14:36

dummer-esel
Member
2017-01-25
44

Re: How to display PHP in an additional page?

If I see it correctly this plugin manages only the navigation but does not solve my problem.... It is only possible to link to pages. Or where can I create a content page with php there?

Offline

 

#4 2019-12-12 16:20:06

dummer-esel
Member
2017-01-25
44

Re: How to display PHP in an additional page?

anyone?

Offline

 

#5 2019-12-12 17:42:56

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6989

Re: How to display PHP in an additional page?

Hi :-)

you must make plugin


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#6 2019-12-12 21:18:19

eliz82
Member
Romania
2016-04-27
279

Re: How to display PHP in an additional page?

if that plugin has a smarty template you can run php code in it
https://www.smarty.net/docsv2/en/langua … on.php.tpl

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact