Member
Member
sevans   13-07-2008, 18:48
#1

Ok I am confussed. I need to know where to place the plugin code in the header or before the header. I have tried both places and the body as well in a desperate attempt. I have included the basic loop as well to print the albums. I am just a confused as to how to include this code. I know that this is not easy or recomended to do but I do need to include it in my current CMS (Etomite). Any help will be greatly appreciated.

Thanks,

Spencer

Member
Member
sbillard   14-07-2008, 02:19
#2

Are you refering to http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin?

It goes before the header.

Member
Member
sevans   14-07-2008, 03:21
#3

Ok so I have it in the right place no errors are thrown but nothing prints on the page. Am I suppose to use something than the standard loop to print the albums like in the index file of zen photo? I appreciate your prompt reply on the last question. Sorry for the additional newbie questions.

thanks,

Spencer

Member
Member
sbillard   14-07-2008, 15:45
#4

You need to put in any code you want zenphoto to do. You really have not said what you want to accomplish. The example in the link above is one idea. Expand on it to meet your needs.

Member
Member
sevans   14-07-2008, 21:23
#5

Yeah basicly I just want the default template embeded in my page. So I assumed pulling the loop would atleast print the list of albums but it did not. Is that the wrong assumption or do I need to dig further just want to make sure I am headed down the right path before spending hours and hours beating my head against the wall.

Thannks,

Spencer

Member
Member
sbillard   14-07-2008, 21:48
#6

There are a number of things setup in the environment before a theme's index or album page is created. It is probably not practica for you to replicate all that (although it is certainly possible.)

You would need to replicate the relevant code from the zenphoto root index.php and from the theme index.php. Even that may not succeed because you will have to deal with folder pathing.

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