Hardwired Theme Configuration Hardwired Theme Configuration
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Hardwired Theme Configuration

Started by Sideswipe, September 10, 2006, 04:46:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sideswipe

Hi,

I've just recently upgraded from Coppermine v1.3.x to 1.4.x and the hardwired theme I was using has now changed.  Basically when I was using this them on version 1.3.x the theme seemed as if it was set within a table as it only displayed at about 800 pixels wide I'm guessing, but now since I updgraded to version 1.4.x the theme has been altered so that it's now the full width of the screen.  Is there any way that I can change the new hardwired theme so that it only dispays at 800 pixels wide and full screen ???   there's no option with the Coppermine config panel to change this.

Thanks
Lee.

Sami

Yes there is ...
you should set it under:
admin mode=>config=>Album list view=>Width of the main table (pixels or %)
Set it to 800 nd you'll be fine :)
‍I don't answer to PM with support question
Please post your issue to related board

Sideswipe

This doesn't work, it only reduces the internal size of the tables, the theme itself is still the full width of the screen as you can see from the screen grab below.



(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.scifievents.pwp.blueyonder.co.uk%2Fimg%2Fgallery.jpg&hash=109c08a9e20466acc9bfb874d2f54293a5ee84e4)

Sami

Then you need to manualy edit themes/hardwired/template.html around line 14 and replace

<table width="100%"  border="0" cellspacing="0" cellpadding="0">


with


<table width="800"  border="0" cellspacing="0" cellpadding="0">
‍I don't answer to PM with support question
Please post your issue to related board

Sideswipe

That's much better.

Thanks for your help.   ;D

ChiDao

Thanks for that, helped me also.

Only one more thing I would need help with, how to center that template because after resize, by default it seems to allign to left?


Sami

put the <center> tag before <table> tag and </center> tag after </table>
‍I don't answer to PM with support question
Please post your issue to related board