PDA

View Full Version : Four quickies


Jernau
14th of September 2004 (Tue), 02:11
Greetings everyone :)

I think that I'm starting to get the hang of customizing EE, but there are a few things that I haven't been able to figure out for myself and would really appreciate your assistance with.

1) On the main gallery index page I have lots of whitespace below the listed galleries, which means the browser generates a scroll bar when one isn't needed and it just scrolls down to nothing. Do you know how I can get rid of this excess white space?

2) On the main gallery index page under each gallery title there is a list of where the photographs were taken e.g. 'Photos from: United States, Italy, United Kingdom and Ireland'. I would like to be able to turn this off. I found a setting in 'Misc Settings' that said something like 'Turn on gallery information' but unchecking this didn't seem to have the desired effect.

3) On the individual gallery thumbnail and the individual photograph pages a shadow appears under the header menu that isn't there on the main gallery index page. How do you turn this off?

4) On the individual gallery thumbnail and the individual photograph pages I would like to be able to alter the content and formatting of the text at the bottom of the page e.g. '7 Photos found in this category...' and 'Photographer Billy Bob. All rights reserved...' Which php file would I need to edit to achieve this?

Thanks in advance for your help with this. I'm really looking forward to getting my website in ship shape so I can unleash it on the world 8)

Jernau
14th of September 2004 (Tue), 14:11
I have fixed issue 3 by commenting out this line

@include($toroot . "subheader.php");

in both \gallery\pagetemplates\photo\default.php & \gallery\pagetemplates\list\default.php

Here's hoping that somebody can help me with my three remaining issues :)

Pekka
14th of September 2004 (Tue), 14:21
Hi,

1) On the main gallery index page I have lots of whitespace below the listed galleries, which means the browser generates a scroll bar when one isn't needed and it just scrolls down to nothing. Do you know how I can get rid of this excess white space?

In indexstyles/X.php, where X is index style you have chosen in misc settings Index page style: (topmost dropdown), remove lines:

<?php for ($n=0;$n<=25;$n++) {
print "<p>  </p>";
}

or simply alter it to

<?php for ($n=0;$n<=1;$n++) {
print "<p>  </p>";
}

2) On the main gallery index page under each gallery title there is a list of where the photographs were taken e.g. 'Photos from: United States, Italy, United Kingdom and Ireland'. I would like to be able to turn this off. I found a setting in 'Misc Settings' that said something like 'Turn on gallery information' but unchecking this didn't seem to have the desired effect.

Misc settings

show 0 random countries from exhibition photos

4) On the individual gallery thumbnail and the individual photograph pages I would like to be able to alter the content and formatting of the text at the bottom of the page e.g. '7 Photos found in this category...' and 'Photographer Billy Bob. All rights reserved...' Which php file would I need to edit to achieve this?

In pagetemplates/photo/default.php comment out line

print $shadowline_html;

You may need to add couple of BR tags if you enable comments and ratings:

print "<br><br>";

Jernau
16th of September 2004 (Thu), 01:58
Pekka, thank you so much for your help! :D

I will have a chance to try these changes tonight after work and will let you know how I get on.

Thanks again for the software and especially for spending your time helping folks like me on the forum. You rock. 8)