Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2010-06-18 11:14:29

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

Re: minishowcase gallery for txp

That isn’t the code you used on your pages, right? It that was it, it ain’t going to work straight away in that format, especially if you are trying to use <txp:php> tags and textpattern tags directly within the PHP code.

Offline

#14 2010-06-18 11:21:39

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

Re: minishowcase gallery for txp

i updated it.
full source of page

http://www.katalonian.com/minishow/index.txt


<txp:txp_me />

Offline

#15 2010-06-18 11:25:00

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

Re: minishowcase gallery for txp

Yes, where are you trying to use that? Are you trying to place that in TXP’s page template? If so, why? And if are doing that, remember to change the paths to point correct locations.

Offline

#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