4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: jafori on August 18, 2006, 11:39:13 PM
-
Hello...
Im trying to do the following without any succes:
show same details about the uploaded images on details.htm, in the category page. where all the thumbnails are.
For instance to show {lang_description}: {image_description} in the index.htm...
the problem is that i dont know how to take a supportet lang function like {lang_description} from a htm file to another and make it work.. i think i have to add stuff in the php files... if anybody understand please help.. if not tell me and i will try to explain better..
its difficult to explain but i hope you understand.=(...
-
look in details.php under
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
You'll see bunch of "tag name" => $lang['blah']..
just copy/paste them into categories.php in the same place ;)
P.S. make sure each line in that array ends with a coma!
-
Its not working =(
I did copy the print out section without any luck..
By the way im using the mod, Abgerundete Bilderboxen / rounded corners of image boxes
:( i wrote for example {lang_category} in the thumbnail_bit.htm but it didnt work out =(
here is the print out code in categories.php
//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->register_vars(array(
"msg" => $msg,
"clickstream" => $clickstream,
"lang_category" => $lang['category'],
"lang_added_by" => $lang['added_by'],
"lang_description" => $lang['description'],
"lang_keywords" => $lang['keywords'],
"lang_date" => $lang['date'],
"lang_hits" => $lang['hits'],
"lang_downloads" => $lang['downloads'],
"lang_rating" => $lang['rating'],
"lang_votes" => $lang['votes'],
"lang_author" => $lang['author'],
"lang_comment" => $lang['comment'],
"lang_prev_image" => $lang['prev_image'],
"lang_next_image" => $lang['next_image'],
"lang_file_size" => $lang['file_size']
));
$site_template->print_template($site_template->parse_template($main_template));
-
thumbnail_bit - you should've been more specific from the begining ;)
Above include(ROOT_PATH.'includes/paging.php');
Insert this:$site_template->register_vars(array(
"lang_category" => $lang['category'],
"lang_added_by" => $lang['added_by'],
"lang_description" => $lang['description'],
"lang_keywords" => $lang['keywords'],
"lang_date" => $lang['date'],
"lang_hits" => $lang['hits'],
"lang_downloads" => $lang['downloads'],
"lang_rating" => $lang['rating'],
"lang_votes" => $lang['votes'],
"lang_author" => $lang['author'],
"lang_comment" => $lang['comment'],
"lang_prev_image" => $lang['prev_image'],
"lang_next_image" => $lang['next_image'],
"lang_file_size" => $lang['file_size']
));
(you can remove previous changes)
-
I tried to do as you said in categories.php but without any success =(
Edited; *could you please edit a category file for me and make it work and send it to my mail...* jafori@gmail.com
I really did as you told me to do.. but im not getting any lang stuff in the thumbnails only empty spaces... =(