Junior Member
Junior Member
chims   2009-05-27, 23:39
#1

Hi, I'm looking for some help. I'm not a developer, just a designer learning as I go and it's been a challenge trying to integrate the full zenphoto into my external site. I understand that you have a zenphoto as 'plugin' but even that makes little sense to me. Is there a demo page that I can reference the way the code is setup?

So it seems like a lot of this documentation is targeted at seasoned developers. I don't understand how to call the PHP script, where it goes (heading, body?) and what not. I'm intermediate when it comes to developing. If anyone can help, I would appreciate it. Thanks.

Member
Member
sbillard   2009-05-27, 23:57
#2

Your best bet is "learn by example" (a tried and proven technique used even by developers.) First, search this forum for this topic and see what others have done. Maybe they even have code snippets.

Also do some research on the WEB on how to create WEB pages using PHP.

I am sure you understand that we do not have the capacity to do such training.

Administrator
Administrator
acrylian   2009-05-28, 08:08
#3

Here are the three ways of doing this listed: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#32
On Zenphoto.org we basically use the Ruzee way. The easiest way would probably be #2 though.

Member
Member
navjotjsingh   2009-05-28, 15:02
#4

I wanted to ask something about ruzee's way. How to get Wordpress to show correct Page Titles instead of Page Not Found?

Administrator
Administrator
acrylian   2009-05-28, 15:50
#5
  1. Include the header like this on top of each Zenphoto theme file:
    `

2. Then modify the header.php of your wordpress theme. Here is some rough code how we do it on zenphoto.org:

`
This is of course hardcoded for our specific use.

Member
Member
navjotjsingh   2009-05-29, 01:58
#6

This can be a tedious job with using multiple switch statements for url[2], url[3] and url[4].

Any simpler method where we can import titles as ZenPhoto uses it?

Administrator
Administrator
acrylian   2009-05-29, 08:28
#7

Sure, you can use the array fields like $url[2] directly to get the names from the url (note this are the foldernames of albums that do not necessarily have to be the same as titles) but then you should escape it for security reason (Wordpress has functions for that. please refer to the WP codex as I do not remember them right now).

Member
Member
girlsspot   2009-05-31, 09:26
#8

great idea. thanks acrylian

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