Another thing I'm trying to accomplish...... Another thing I'm trying to accomplish......
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Another thing I'm trying to accomplish......

Started by rubbersoul, March 17, 2005, 04:30:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rubbersoul

I need to go from this....

rubbersoul

to something like this.....

rubbersoul

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.....

kegobeer

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.
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

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....

kegobeer

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.
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

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  ;)

kegobeer

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.
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