Member
Member
kaline   2006-01-21, 04:32
#1

Hi all,
I don't know if anyone else is in the same boat but I use zenphoto in conjunction with Textpattern - my cms. I think most folks here are using Wordpress. Anyway, if you do use Textpattern, I haven't found a good way to integrate the two packages. So, to make it look like it's integrated, I've had to tweak the 3 zenphoto php files in a theme and kind of hard-code my website's look into these files. It's not pretty, it doesn't update easily, but it works.

Two examples:
http://www.jaydreyer.com/gallery (I really need to add some real pics to it)
http://www.localtreasureinternational.com/gallery

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!

Member
Member
calca   2006-01-21, 11:25
#2

in txp it's possible to execute php code into template.

i think it's possibile to import zenphoto function in txp ed
integrate it, like wp ..

Member
Member
cquiec   2006-02-17, 22:16
#3

hi. so. what is the "possibility"? any tutorial???
thanks

Member
Member
calca   2006-02-18, 12:27
#4

you have looked on txp forum ??
mmm, i don't know tutorial ..

Member
Member
iris   2010-03-05, 14:23
#5

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.