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: [Solved]: Really quick and easy question / hack  (Read 3310 times)

0 Members and 1 Guest are viewing this topic.

appleton

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
[Solved]: Really quick and easy question / hack
« on: May 20, 2008, 01:27:46 am »

Okey, after lots of poking around and reading articles and forum posts with a general confused look - i finally gave up and decided to ask for instruction :)

Im stuck as to how to control

<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">

I need to make this 700px, from reading numerous articles, and forum posts - I understand i should be able to control this with the theme.php but with being tired and alot of information, i need a pointer :) please.

Thanks
rob.
« Last Edit: May 21, 2008, 07:06:16 am by Joachim Müller »
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Really quick and easy question / hack
« Reply #1 on: May 20, 2008, 04:26:49 am »

Hi, just change
Quote
width="100%"
to width="700 px".

I also modify maintable (in some themes) just editing style.css without modifying theme.php file

Try both and reply if you achieve it...

Bye…
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Really quick and easy question / hack
« Reply #2 on: May 20, 2008, 08:13:41 am »

Why don't you use the config option that controls the width of the overall table?
Logged

appleton

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Really quick and easy question / hack
« Reply #3 on: May 20, 2008, 12:55:28 pm »

Hiya, thanks for replies - well basically I have hacked together a coppermine template from a wordpress template,
Currently pulling in 2 css files which are doing funning things.

Yup if i was running stand alone, i could do both / either of the above options - but as im hacking it, just to provide an "example" its not a clean integration.

Please see the following:

www.msireviews.com/gallery/

All i need to get it todo is for the standard table, to fit within the width of the wordpress template.

Thanks
Rob.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Really quick and easy question / hack
« Reply #4 on: May 20, 2008, 01:16:34 pm »

Pretty straightforward theme that already exists for coppermine (k2 or however it is being called today). Should work well with coppermine's config set to 100%.
Logged

appleton

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Really quick and easy question / hack
« Reply #5 on: May 20, 2008, 03:36:26 pm »

Cool, ta - ill grab it and see if i can make it look the same :)

This isnt the finished design - i just wanted to prove tight-integration, before continuing with skinning all 3 products (Wordpress/PHPBB3/Coppermine).

Thanks
Rob.
Logged

appleton

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Really quick and easy question / hack
« Reply #6 on: May 20, 2008, 08:16:11 pm »

nice one, cheers for the help - integration looks great www.msireviews.com
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.