Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2010-06-18 11:33:24

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: minishowcase gallery for txp

yes, i try to use it in TXP’s page template. But where to use it yet?) And how?))


<txp:txp_me />

Offline

#17 2010-06-18 11:50:03

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: minishowcase gallery for txp

Read Using PHP code in Textpattern.

If you want to use that directly from witin TXP, change the code to work within function’s scope. Probably you should also fix the deprecation warning or suppress it and change the paths to point correct locations (or place the files respectfully).

Or you always try to include the end output to your TXP pages. Either way, it might involse some tweaking with PHP and you can’t directly throw <txp: /> tags in the PHP either.

Or you could just use the gallery as it is, and make it match rest of the site.

Offline

#18 2010-06-18 12:25:14

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: minishowcase gallery for txp

Gocom wrote:

Or you could just use the gallery as it is, and make it match rest of the site.

You mean call with some php tag main code of this gallery? this method possible?


<txp:txp_me />

Offline

Board footer

Powered by FluxBB