![]() |
|
Effervescence+ Slimbox help - 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: Effervescence+ Slimbox help (/thread-9377.html) |
Effervescence+ Slimbox help - nummell - 12-12-2011 Hello, Does anyone knows out to show image descriptions and/or other custom fields in the slimbox? When I click on a image slimbox opens very nice and shosws only image name and image 1 out of 6... I need to put a description there and a some other extra fields. Thx in advance Effervescence+ Slimbox help - nummell - 12-12-2011 I don´t know what happened post came blank!!! Here´s my question again, Anyone knows how to show the imagem description inside the slimbox? I can only show the image name, image count (1 of 8) and the close button. Anyone got it working? Thx in advance Effervescence+ Slimbox help - acrylian - 12-12-2011 No it did not come blank, it was moderated. Which should have been noted right on the forum you used to post. You even should have clicked to acknowledge that. I think it is not possible to show the description in the slimbox. You will have to do modifications to that. Also note that FB etc buttons will not work as using these boxes there is no page to link to. Effervescence+ Slimbox help - nummell - 12-12-2011 Thanks acrylian, too bad it doesn´t work, the theme is awsome with that option available it would be perfect. I´m customizing a site that uses zenphoto with effervescence+ with a lot of modifications and I would love to use that function... Too bad it´s not possible. About the moderation issue, I´m sorry about that, I did noticed the warning but the post was shoing blank in the forum so I presumed there was some error, didn´t understant the the post would be blank until moderation... Once again I´m sorry Best regards ZenPhoto Rocks Effervescence+ Slimbox help - sbillard - 12-12-2011 If you look at the album.php script where the slimbox is setup you will find a call on Always remember. If you are going to modify a theme you should do so from a copy so that future ZP updates do not wipe out your changes. Effervescence+ Slimbox help - nummell - 13-12-2011 Thx sbillard, I´ve tried and the only thing I´ve managed to do is in functions.php function annotateImage() { text appears fine in the slimbox but I still can´t put in the image description there, and if I try to put a text link there it will show up on the album page and not on the slimbox. This is all i´ve managed to do so far... Effervescence+ Slimbox help - acrylian - 13-12-2011 As said above if you use an kind of *box for image display only you cannot link to the individual images (except you want to use the full image). On how to get the image desc I recommend to rewiew the object model and theming tutorials. Effervescence+ Slimbox help - nummell - 13-12-2011 Progress... I´ve managed to show the image description inside the slimbox. REPLACED: } WITH: } Halfway trough the desired result... And the result I was after... And you get the link working in the slimbox... It would be nice if someone who realy understands php to clean up the code or maybe even turn this idea into a plugin or something. I´m using this as a links page for a custumer, I know it isn´t the cleanest code and not a fully function plugin but I´m just a designer who does a little bit of freelance work to some friends. In this case it´s for a tattoo studio and I was asked to leave the links page as if it was a gallery page so this is the best I can do. I hope someone grabs this idea and turn it into a "real" function of zenphoto. Thanks for the help Effervescence+ Slimbox help - nummell - 13-12-2011 Acrylian I forgot to coment the href to put inside the description so it´s showing as a link... Can you edit or delete the post please? Sorry about that... Newbie typing :P and I´m not used to write in forums Effervescence+ Slimbox help - acrylian - 13-12-2011 Great if you got this working for your purpose. Doing a plugin for htis would mean you have to make a slimbox one first. I don't think we will do as we ship actually Colorbox which is more or less the same based on jQuery instead of Motools (it is in Eff+ actually for legacy reasons I think). But of course maybe someone else will. Btw, I removed your link as I saw nothing Zenphoto related there actually (more a placeholder) Effervescence+ Slimbox help - nummell - 13-12-2011 Thanks acrilyan, the link was just to show how to write the description so it would become a link... href='http://zenphoto.org.com'>CLICK HERE TO VIEW THE SITE Effervescence+ Slimbox help - nummell - 13-12-2011 Sorry... Can´t figure out how to block the links... please delete it Effervescence+ Slimbox help - acrylian - 13-12-2011 It is pretty simple: either use Effervescence+ Slimbox help - sbillard - 13-12-2011 Slimbox is indeed legacy code in Effervescence+. But no plans to change it--"If it is not broke...." Effervescence+ Slimbox help - nummell - 14-12-2011 Acrylian: Sbillard: Keep it up Effervescence+ Slimbox help - acrylian - 14-12-2011 No problem, just wanted to point out how to do it..;-) For suggestions best use the bugtracker, otherwise it tends to be forgotten in the stream of forum posts. |