PDA

View Full Version : Adding column in template


jharri26
10-14-2005, 03:23 AM
I am trying to add a column to the existing template but doesnt work right and was wondering if someone had some pointers on how to do it.

Thanks
John

vkaryl
10-14-2005, 04:29 AM
Meaning you want three columns? Or four? And are you trying to do this with the "default" tabled one?

jharri26
10-14-2005, 02:07 PM
Yea I am using the default tabled one that come with php link directory. I would like 2 or 3 columns.

hosted
10-14-2005, 05:30 PM
take a quick look at a layout I am working on

If you like it, let me know and I'll pull it apart and share how I did it.

jharri26
10-14-2005, 08:42 PM
Yea that is what I am looking for. I was able to get two columns working on the main page but when i go into categories it squishes the column, if you could take a look at give me some pointers that would be great.

Thanks
John

hosted
10-19-2005, 12:38 PM
Since I have had a couple of PM's about this, I am putting the info in here.

Edit main.tpl

Content visible to registered users only.

I think that the above code is all that is needed, so if someone want's to try it from a clean install and let me know if everything iis as expected, else I will look at my main.tpl again and see what else I did to it...

hosted
10-19-2005, 03:42 PM
I have taken a quick look, and I have missed out a few bits of info that is required to present it properly...

Basically, I forgot to add a couple of extra div's to wrap around the table where the categories are displayed - and they need to be there !

I will do a clean install and put all of the info here as soon as I get time.

proprod
05-19-2006, 01:24 AM
Content visible to registered users only.

Did you ever get time? hehehe... seriously though, let us know :)

anon
05-19-2006, 02:11 AM
Content visible to registered users only.
i dunno man.... it's only been 1..2...3... 7 months now.
I think he may need another 12+

Datalynk
05-17-2007, 02:36 AM
This worked a like a dream for me... I have right aligned the additional column which I intend to use to capture leads.

On 2.1 using skyblue theme it's a great mod...!:)