PDA

View Full Version : Remove "last comment" from mainpage


affi
August 9th, 2004, 09:50 AM
I'm trying to remove the "Last comment" and "Last uploaded picture" from the mainpage due to lack of space. I've found a setting in the admin-pages for this but nothing happend. I also checked the tables in PHPMyAdmin and found this:

Display new comments/photos indicator on index?
id 101

This was set to "yes" and although I set it manually to "no" those two columns still appear.

I guess I can fix this quite easily by just removing the columns in the templates but there should be a better way to do so as I think "many" others also want to do this.

My PP can be found here:
http://www.fotoalbumet.no/pp (still in development)

donb
August 9th, 2004, 12:23 PM
Those are two different items.

You'll need to edit the template in order to remove those columns if I remember correctly.

affi
August 9th, 2004, 05:13 PM
OK. Do you also know in what template and where?

donb
August 9th, 2004, 05:25 PM
/templates/categories.tmpl

lines 26-35, 172-183, 188-202

Smoothie
August 9th, 2004, 06:03 PM
take a look here, see if this would be something you're after:
http://www.macfora.com/gallery/index.php

there are a few categorie template changes you can make to alter the front gallery page, and they are located at photopostdev.com

affi
August 10th, 2004, 02:49 PM
Smoothie: Yes thats exactly what I want! I'll check out that template donb.

And hey, nice page Smoothie! And also very nice integration of IBP and PP. I also consider using IP Dynamic Lite on another side. Anything to suggest?

affi
August 17th, 2004, 01:06 PM
Well, I've tricked alot with the style now and here's the result so far:
http://www.fotoalbumet.no/pp/index.php