Hi,
Is there a way to show the text from the description of the thumbnails and single image in a two column order? I search the forum about "description" and more, and see no results.
And what about the albuns description: is it possible to limit the text to some amount, like a excerpt? I read about costume fields, but dont know how to do it...
Any help? Thanks
[list=1]
[]Set your theme up to use the description field and the custom field as two parts and then setup your theme to display them as fake columns. http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetAlbumCustomData
[]Add html code to the description itself using two divs or a table.
[/list]
2. You can limit the description with standard php functions or our standard function:
http://www.zenphoto.org/documentation/functions/_functions.php.html#functiontruncate_string
You have to edit the given theme files.
Thank you acrylian,
The only thing I tryed is the div thing, but it prints the same text three times! The two I created at the side of the thumbs and the one by default at the bottom... that is the only thing my bad knowledge let me do, lol. Php is to much for me, and css or html is just a bit better...
I tryed with no sucess, probably I do something wrong...
Now I want the text one column above the thumbs. That is ok, but the description text appears at the bottom of the images too. I have deleted the editor_config.js.php because I saw in other post to remove it in order to make the text dissapear from the bottom. It did not work, still both texts. Now I put the file in its place again, but (only with IE), the search form disapear and the tags went crazy...
Zenphoto looks great, but not for people who dont understand php...
editor_config.js.php is the configuration file to load the TinyMCE editor on the administration backend. It has nothing to do with the display on the site itself. I don't know where you read that...
You probably call the album desc twice so it will appear twice. You probably really should read the theming tutorial again.
You also did not tell what theme you are actually using.
Quote:Zenphoto looks great, but not for people who dont understand php...
Every CMS requires special knowledge if you want to do special things as no CMS is able to do everything out of the box. You problem has not exactly really to do with PHP.
Thanks once more, sorry for this long post.
I am using default theme. Maybe my problem is english...
I read it here: http://www.zenphoto.org/support/topic.php?id=5330
don´t know if I am right but it was what I understood. Anyway, after I remove the file, the search box dissapear. It is a strange behaviour. But now I put the file again in its place and when open the page in other computer I can see the search box, but not in my computer, only with IE, (even if I refresh the database, clean the cache, etc...). So I dont think it is a real problem.
And I dont know nothing about PHP, when you say I call the description twice, I dont think I do, but not sure exactly what that means, so maybe I am call it twice...
What I want is to remove the duplicated text at the bottom of the thumbs (the original one): http://www.barrento.com/emag/zenphoto/Egrets/ and I dont think I have call it twice, here is my code:
" title=""> |
" title=" ">
" title=" ">
" title="">