forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: rubbersoul on March 17, 2005, 04:30:42 am

Title: Another thing I'm trying to accomplish......
Post by: rubbersoul on March 17, 2005, 04:30:42 am
I need to go from this....
Title: Re: Another thing I'm trying to accomplish......
Post by: rubbersoul on March 17, 2005, 04:31:22 am
to something like this.....
Title: Re: Another thing I'm trying to accomplish......
Post by: rubbersoul 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.....
Title: Re: Another thing I'm trying to accomplish......
Post by: kegobeer 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.
Title: Re: Another thing I'm trying to accomplish......
Post by: rubbersoul 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....
Title: Re: Another thing I'm trying to accomplish......
Post by: kegobeer 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.
Title: Re: Another thing I'm trying to accomplish......
Post by: rubbersoul 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  ;)
Title: Re: Another thing I'm trying to accomplish......
Post by: kegobeer 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.