PDA

View Full Version : Changing the layout/order on the Gallery Browser page


Oceanwatcher
28th of July 2005 (Thu), 08:37
When I view the thumbnail page for each gallery, I would like to move all info about that gallery down under the description for this gallery. I would also like the description to be only 70% of the total with.

What file do I need to edit to achieve this?

If you are unsure about what I mean, take a look at this page:

http://www.oceanwatcher.com/list.php?exhibition=1&u=8|3|... (http://www.oceanwatcher.com/list.php?exhibition=1&u=8%7C3%7C...)

wkitty42
31st of July 2005 (Sun), 11:32
list.php appears to be where that page is built... a quick perusal of that code shows that it won't be an easy task as that stuff is built on the fly with php code rather than being gathered in one place and then output in another...

it appears that that section of output starts about line 2400... above that line is where the EE logo on the right of that info is output... i can't really tell where the end of that output is, though...

it appears that the styles stuff is only currently associated with the colors used in the displays... i've not seen anything in any templates that allows one to radically alter the layout like one can do in other php applications like phpBB for instance...

i'm hopeful that the next release does offer this type of customization capabilities...

Taligent
31st of July 2005 (Sun), 13:18
Hi Oceanwatcher,

The list.php page is templated by /pagetemplates/list/default.php - it's simple to rearrange parts of the layout once you take a look at the code.

-Nikhil

myth337
31st of July 2005 (Sun), 14:08
interesting question... sparked me to change some things around that had been bothering me. (took all of 3 minutes!!)

Thanks Nikhil for telling me where to look.. probably would have found it myself eventually... but you smacked me in the face with the location.. so I had no excuse not to do it now... ;)

Oceanwatcher
31st of July 2005 (Sun), 17:23
The list.php page is templated by /pagetemplates/list/default.php - it's simple to rearrange parts of the layout once you take a look at the code.

This one definitely made my day :-) Thank you a lot!

I was able to get pretty close to what I wanted. The only thing I can not figure out is how to have the exhibition description at 80% and the infotext etc. (the stuff in small print) at 100%... I tried setting <td width="80%"> before the first part and <td width="100%"> before the small print. This gave an unexpected effect. Take a look at http://www.oceanwatcher.com/list.php?exhibition=2 . Not too bad, but not what I was thinking about. I will keep it this way for now, because it separates my info about the exhibit easily readable. But I will appreciate if anyone can help me get the stuff to look the way I was thinking about in the first place - above each other, just different with.

myth337
31st of July 2005 (Sun), 18:11
I accomplished that a bit easier...

just added a br or two in the right place.. and rearranged things how I wanted.

look at the txt clip that is attached...


.. lee

Oceanwatcher
31st of July 2005 (Sun), 19:14
Mine is almost identical. But I see you did not move the EE logo down like I did. The only big difference is the line I added with 100% above the small print. Without that, I guess ours are similar. But just so you can try my version out, I have attached it.

myth337
1st of August 2005 (Mon), 02:07
I just moved the lines around so that the gallery description text was first below the thumbs... and the other stuff below that... also put a few line breaks in.

I like the way yours looks.. may adjust mine later to look similar... but I haven't put much description text in yet, so it would look kind of funny with lots of stuff on the right.. but nothing on the left.

Oceanwatcher
14th of August 2005 (Sun), 20:33
Well, I think I will leave things as they are for now. Have started to add pictures to the site and I feel it is ok for now. Will try to work with a designer to come up with a nice, original design of my own eventually. But for now, this works just fine :-)

Now I will go back to actually taking pictures and put some of them up on the web. That is what we really should do, right? Nothing beats a day out with freshly loaded batteries and empty memory cards. Ready to find the next great motive.

I am dreaming about a digital SLR. In the meantime, my trusty old Nikon Coolpic 990 will have to do. Maybe I will dig out my old Olympus OM2n or Canon A1, shoot some 35mm and scan it. Not a bad solution after all...

Happy shooting!!