Redesign of the Intermediate Image Display - Some assitance needed Redesign of the Intermediate Image Display - Some assitance needed
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Redesign of the Intermediate Image Display - Some assitance needed

Started by crashnet, March 25, 2005, 05:29:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crashnet

Hello everyone,

I started to do a redesign of the intermediate image display section of my theme.  Currently, as you can see below, it is the standard display that comes with coppermine.  I did not have a lot of time to make this image, but I put on top of the current display roughly where I would like each piece of the display to go.  Here's the thing though...each the intermediate display is broken into sections, ie $template_img_navbar, $template_display_picture, $template_image_rating.  Editing these pieces of the theme would not let me move the parts around on the page.  My question is, where in the code, as I can't find it, are these sections listed and the main table that controls the layout and what would be the best way to resituate the layout to get what I have roughly pictured below (I don't need exact coding instructions, just where I need to make changes and a recommendation of the way to go).  Thanks!  :)


crashnet

Could anyone provide some help or a link to another website that specializes in coppermine theming and assistance?  Thanks!

kegobeer

If you move things around in a template variable, like $template_display_image, you'll also have to move them around in the function that actually populates it.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

crashnet

Quote from: kegobeer on March 28, 2005, 03:10:57 AM
If you move things around in a template variable, like $template_display_image, you'll also have to move them around in the function that actually populates it.

Wow...its really that complex to modify the theme?  Gosh, I'm pretty good at coding, but I'm not that good.  Ease of layout modification would be a great addition to the next release of Coppermine.  Do you happen to know of a theme out there that has modified the intermediate layout that I could look at as a reference.  I've looked around, but I haven't found one as of yet.

nukeworker

Try this:

Instead of moving part of section B and C into section A....

Create a new table And insert all (When I say all, I mean the entire EOT block.) of section "A" where you want it, B, and C. -- Because it looked to me, that you just want to move the bottom stuff to the side.  It should be as simple as changing a few <tr>'s and <td>'s.

Failing that, you would need to edit the functions.

crashnet

Thanks nukeworker...I have tested a few changes with <tr> and <td> changes and it looks like I will be able to change them. 

Now this might sound like such a newbie question, and it is coming from me, but how did you increase the width of your intermediate table.  If you look at the picture above you see that the width of the display is smaller than the width of the breadcrumb.  I'm assuming in the css file, but I can't seem to find the right classes.  Thanks again for your help so far! :)

kegobeer

Look in your config settings.  There are a couple of width settings, and one of them ( Width of the table for file display ) is probably set at 600.  Change it to 100% and your table will expand to fill the width of your page.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots


crashnet

Quote from: nukeworker on March 30, 2005, 01:34:10 AM
crashnet

Your theme looks great.  You have made a VERY nice looking site.

I apologize for not seeing this earlier, but thank you very much.  That is one of the nicest comments I have gotten in quite some time.  Makes me want to go work on it right now, whether its midnight where I live or not.  ;D