4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: Washi on August 17, 2005, 04:05:49 AM
-
Hey,
I'm having a small problem here. I'm trying to remove the image data (user name, comments and lightbox) from the index.php page. I tried messing around with it a bit, and couldn't remove the user name of the person who uploaded it. Then, I tried messing a bit with the thumbnail_bit.html, and the thumbnails changed on alll the pages. Is there a way to make the change only on the index.php page? Thanks.
-
hi Washi,
1. provide a thumbnail_bit_less.html from a copy of thumbnail_bit.html, save your old thumbnail_bit.html
2. delete in thumbnail_bit_less.html all {tags} which you not need on your index.php/home.html
3. find in index.php the following on the top :
$templates_used = 'home,category_bit,thumbnail_bit, ... ';
and replace it by the following :
$templates_used = 'home,category_bit,thumbnail_bit_less, ... ';
4. find in index.php the following after //--- Show New Images --- :
$new_images .= $site_template->parse_template("thumbnail_bit");
and replace it by the following :
$new_images .= $site_template->parse_template("thumbnail_bit_less");
now is indicated your thumbnail_bit_less.html on index.php/home.html and your thumbnail_bit.html on all other sides ... :wink:
mawenzi
-
Oooh! Thanks! Works like a charm! :D
-
Why ... Oooh! ... :?: ... it should also work ... :wink:
mawenzi
-
IMO, this should have been done since 4images was released - different templates for different pages...
good job mawenzi!
-
... V@no is back (your last comment : 17.08.2005) ... :wink:
... it is nice to read some new comments / statements of you here in the forum.
Thanks for your note.
mawenzi
-
yeah, was on a vocation 1 month...now I have to catch up by reading 33 pages with new posts...8O (hopefuly there are many in deutsch...:lol:)