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: Another thing I'm trying to accomplish......  (Read 3338 times)

0 Members and 1 Guest are viewing this topic.

rubbersoul

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 92
Another thing I'm trying to accomplish......
« on: March 17, 2005, 04:30:42 am »

I need to go from this....
Logged

rubbersoul

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 92
Re: Another thing I'm trying to accomplish......
« Reply #1 on: March 17, 2005, 04:31:22 am »

to something like this.....
Logged

rubbersoul

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 92
Re: Another thing I'm trying to accomplish......
« Reply #2 on: March 18, 2005, 01:17:39 am »

I now I'm asking a lot but I'd appreciate the help as all these tables are created dynamically and that throws me off.....
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Another thing I'm trying to accomplish......
« Reply #3 on: March 18, 2005, 01:22:15 am »

If you look in theme.php file, you'll see all the variables that hold the html code.  They are named for exactly what they do.  If you view source on your site, you'll see the comments that will also help you narrow down what does what.
Logged
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

rubbersoul

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 92
Re: Another thing I'm trying to accomplish......
« Reply #4 on: March 18, 2005, 02:50:29 am »

Ya....but it's confusing for a non-php guy like me....I can view the source code and I know that it's creating a 'standard table'....but it creates them everywhere....I have to do the same thing that you showed me before....by defining someother variable so that I can change the css of 'maintable' to something else in order to get rid of all those non-sence colors! It's really not friendly for people who don't have a lot of PHP experience. I feel like I have to learn the code perfectly in order to get rid of some background color....
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Another thing I'm trying to accomplish......
« Reply #5 on: March 18, 2005, 12:59:52 pm »

Have you gone back to your other thread, where I posted the code to allow custom random blocks?  I posted much better code that is easier to maintain and it shows you exactly how to define a custom variable and how to apply it.  I also posted about your repeating image issue.

We don't expect you to be a php genius, but if you run a website and you have apps that dynamically generate code, you have to roll up your sleeves and get dirty if you want to customize things.  It's the same thing for every php app our there.
Logged
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

rubbersoul

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 92
Re: Another thing I'm trying to accomplish......
« Reply #6 on: March 18, 2005, 03:12:27 pm »

OK...kegobeer....I will give it a go tonight.......but if I mess it up....ill be drinking that keg and coming lokking for ya  ;)
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Another thing I'm trying to accomplish......
« Reply #7 on: March 20, 2005, 02:24:47 am »

The caption class is .img_caption_table (look at all of them, th, td, etc), the image border class is .imageborder, etc.  Get the picture?  View source on that page, look at the css classes for the sections you want to change, then find them in the css file and change them.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.