16
Discussion & Troubleshooting / Re: Previous and next photos on detail page.
« on: March 14, 2011, 08:30:14 PM »you can all words edit in lang/yourLang/main.phpI want to change words for small photos.
mfg Andi
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
you can all words edit in lang/yourLang/main.phpI want to change words for small photos.
mfg Andi
search in details.php:Thank's.
$msg .= (($msg != "") ? "<br />" : "").$lang['headline_required'];
$error = 1;
replace "$error = 1" to "$error = 0"
search in your templates:I removed it from comment_bit.html but get Please enter a headline.Code: [Select]<td valign="top"><b>{comment_headline}</b></td>
remove it or comment out with <!-- -->
search in your details.html:Thank's.
....
Thanks but i see one image only.....I've chaneged this code but i've got error:I think they have deleted ";
.
replace:
LIMIT 3 ";
Hi!I've chaneged this code but i've got error:..
How to show TOP 3 images by 'rating'?Code: [Select]$sql = "SELECT DISTINCT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name".get_user_table_field(", u.", "user_name")."
FROM (".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c)
LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id)
WHERE i.image_active = 1 AND i.cat_id NOT IN ($cat_id_sql) AND c.cat_id = i.cat_id
ORDER BY i.image_votes DESC
LIMIT 3
mfg Andi
Not enough information. The only answer you could get is: edit .php files in admin/ directory...I want to rename IMAGE NAME field and locate with additional fields or the last. (in edit image menu ACP)