![]() |
|
Creating a folder only shown on startpage - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Creating a folder only shown on startpage (/thread-2765.html) |
Creating a folder only shown on startpage - PierreSnugg - 2008-04-28 Hy, is there a possibility to create a folder in zenphoto, which is only shown at the startpage (i use that random image function) BUT not in zenphotos library at all? that would be cool ;-) I have this question, b´cause i got problems with vertical and horizontal images, on the startpage only landscape images should be shown. So i thought i could create a folder where i just put some images in, that contain only these specific parameters. Creating a folder only shown on startpage - acrylian - 2008-04-28 Create an unpublished album and write a custom function that gets its the data directly from the db. Creating a folder only shown on startpage - PierreSnugg - 2008-04-28 puh, sounds complicated. but of course i got to figure out by myself... any tip? Creating a folder only shown on startpage - PierreSnugg - 2008-04-28 How can i connect to the database? Creating a folder only shown on startpage - acrylian - 2008-04-28 The database is already connected, take a look at function within template-function.php as a guide Creating a folder only shown on startpage - PierreSnugg - 2008-04-28 oky! but before i go to the hills: --> getAlbumId [line 3222] am i right with that? Creating a folder only shown on startpage - PierreSnugg - 2008-04-28 I tried, but got an error showing up: ` Creating a folder only shown on startpage - acrylian - 2008-04-28 That would not work. Please take the time to read what is written in the functions guide. |