Member
Member
sibest   2008-04-12, 14:20
#1

I need some help: i would like to use zenphoto in conjunction with a flash gallery. The problem is that the flashgallery needs an "xlm" file (one for each gallery/album) which contains the informations about every photo, and have to be so formatted:
`

    ...

`

What I need is to include the function for creating the xml in the script that checks for new images/albums.

Please help me building the code

Member
Member
sbillard   2008-04-12, 18:52
#2

Take a look at the Effervescence+ theme. It uses Simpleviewer (A flash gallery) and has a similar need. At the bottom of album.php is the code which generates the XML photo list.

Member
Member
sibest   2008-04-13, 00:00
#3

thank you, I solved my problem creating my own code. But now i need the name of a variable $something that contains the name of the folder with the photos.
eg: suppose my photos are in http://www.mysite.com/zengallery/albums/foldername_i_need, I need the name of the folder foldername_i_need. How can I get it with php code? (I don't care about further subfolders)

Member
Member
sbillard   2008-04-13, 00:26
#4

That is $something = $album->name where $album is the album object of the album whose folder name you wish.

Member
Member
sibest   2008-04-13, 00:35
#5

it was that easy: $album! Thank you very much
if you are interested in watching the result go to http://simoxz.altervista.org/sibgallery/ choose a gallery and at the bottom of the page click Vai alla vista Polaroid

Thank you again

Member
Member
sbillard   2008-04-13, 00:51
#6

Looks nice, good gallery.

Member
Member
sibest   2008-04-13, 01:07
#7

Another question, the latest i hope:
to use the function printAlbumTitle(), what do I have to include in my php page?

Member
Member
sbillard   2008-04-13, 02:04
#8

``

Member
Member
sibest   2008-04-13, 10:34
#9

yes, I know. But I need to use this function in a page outside the zenphoto gallery (and obviously, if I only insert ``, it brings back an error because the function is undeclared.

Administrator
Administrator
acrylian   2008-04-13, 10:36
#10

In that case you might look here: http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin

Member
Member
sibest   2008-04-13, 13:23
#11

thank's a lot.

Member
Member
PierreSnugg   2008-04-28, 14:04
#12

Hy sibest,

could you paste your code please ;-)

i also would like to know, how to implement in default template a xml based flash shanizzle!

i mean, would be really nice of you ;-))

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