Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Hardwired Theme Configuration  (Read 4881 times)

0 Members and 1 Guest are viewing this topic.

Sideswipe

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Hardwired Theme Configuration
« on: September 10, 2006, 04:46:45 pm »

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.
« Last Edit: September 10, 2006, 10:33:59 pm by Nibbler »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Hardwired Theme Configuration
« Reply #1 on: September 10, 2006, 04:58:03 pm »

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 :)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Sideswipe

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Hardwired Theme Configuration
« Reply #2 on: September 10, 2006, 07:24:52 pm »

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.



(http://www.scifievents.pwp.blueyonder.co.uk/img/gallery.jpg)
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Hardwired Theme Configuration
« Reply #3 on: September 10, 2006, 07:39:35 pm »

Then you need to manualy edit themes/hardwired/template.html around line 14 and replace
Code: [Select]
<table width="100%"  border="0" cellspacing="0" cellpadding="0">

with

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

Sideswipe

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Hardwired Theme Configuration
« Reply #4 on: September 10, 2006, 07:58:52 pm »

That's much better.

Thanks for your help.   ;D
Logged

ChiDao

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
    • Travel photos
Re: Hardwired Theme Configuration
« Reply #5 on: September 13, 2006, 07:38:47 pm »

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?

Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Hardwired Theme Configuration
« Reply #6 on: September 14, 2006, 01:02:25 am »

put the <center> tag before <table> tag and </center> tag after </table>
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.035 seconds with 20 queries.