![]() |
|
Integrating with Textpattern - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Integrating with Textpattern (/thread-234.html) |
Integrating with Textpattern - kaline - 2006-01-21 Hi all, Two examples: Other than my inability to gracefully integrate the two products, I'm really happy with zenphoto. My customer (LTI) really likes it, too, especially now that they can re-order the galleries with drag-n-drop. If anyone knows of a better way to integrate zenphoto and textpattern, please share! Integrating with Textpattern - calca - 2006-01-21 in txp it's possible to execute php code into template. i think it's possibile to import zenphoto function in txp ed Integrating with Textpattern - cquiec - 2006-02-17 hi. so. what is the "possibility"? any tutorial??? Integrating with Textpattern - calca - 2006-02-18 you have looked on txp forum ?? Integrating with Textpattern - iris - 2010-03-05 I'm also using Textpattern for my blog with a ZenPhoto gallery stuck on, "integrating" the two simply by using the same layout. But I'm also displaying the latest from my Zenphoto gallery on the txp blog, using the excellent smd_query textpattern plugin. This fantastically versatile plugin allows you to pull any data from your database. Prerequisites are that you use the same database for textpattern and zenphoto, and of course that you have some basic idea of how databases work. To display the latest albums with thumbnails in my blog, I use this form code: `Latest Albums {title} [img]/photos/cache/{folder}/{thumb}_100_cw85_ch85_thumb.jpg[/img] ` Of course you could also pull the zenphoto folder out of the database, and the bit that gives you the complete thumb URL, but in my case these are not going to change any time soon, so I simply hard coded them. Similarly, you could quite easily display the latest photo, comments, or whatever you want. |