Go Back   PHP Link Directory Forum > PHP Link Directory (phpLD) > Support (Version 2)

Support (Version 2) Here is where we provide limited support for version 2. If you are seeking support for version 3 please post in the phpLD 3.0 Support Forum.

Closed Thread
 
Thread Tools Display Modes
Old 10-14-2005   #1
jharri26
 
Join Date: Oct 2005
Posts: 33
Default Adding column in template

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
jharri26 is offline  
Old 10-14-2005   #2
vkaryl
 
Join Date: Aug 2005
Posts: 263
Default

Meaning you want three columns? Or four? And are you trying to do this with the "default" tabled one?
__________________
{Signature Edited - Old non-working links removed}
vkaryl is offline  
Old 10-14-2005   #3
jharri26
 
Join Date: Oct 2005
Posts: 33
Default Column

Yea I am using the default tabled one that come with php link directory. I would like 2 or 3 columns.
jharri26 is offline  
Old 10-14-2005   #4
hosted
 
Join Date: Sep 2005
Location: Australia
Posts: 17
Default

take a quick look at a layout I am working on www.podcast-lists.com

If you like it, let me know and I'll pull it apart and share how I did it.
hosted is offline  
Old 10-14-2005   #5
jharri26
 
Join Date: Oct 2005
Posts: 33
Default Thats what im looking for

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
jharri26 is offline  
Old 10-19-2005   #6
hosted
 
Join Date: Sep 2005
Location: Australia
Posts: 17
Default

Since I have had a couple of PM's about this, I am putting the info in here.

Edit main.tpl

Code:
 
{* Display categories heading if not on homepage *}
{if $category.ID gt 0 and count($categs) gt 0}<h3>{l}Categories{/l}</h3>{/if}

<div style="float:left;clear:right;width:170px;padding:10px;margin-right:10px;">
Please add your podcast resource to our directory. 


You may add your site to a maximum of 3 categories


If you have a podcast or podcast tutorial add a link.


{include file="Google2"}

</div>

{* Categories *}
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 is offline  
Old 10-19-2005   #7
hosted
 
Join Date: Sep 2005
Location: Australia
Posts: 17
Default

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.
hosted is offline  
Old 05-19-2006   #8
proprod
Mentor
 
proprod's Avatar
 
Join Date: May 2006
Location: Fond du Lac, WI
Posts: 1,380
Exclamation

Quote:
Originally Posted by hosted
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.
Did you ever get time? hehehe... seriously though, let us know
proprod is offline  
Old 05-19-2006   #9
anon
Supporter
 
anon's Avatar
 
Join Date: Feb 2006
Location: As far from you as humanly possible!
Posts: 2,893
Send a message via Yahoo to anon
Talking

Quote:
Originally Posted by proprod
Did you ever get time? hehehe... seriously though, let us know
i dunno man.... it's only been 1..2...3... 7 months now.
I think he may need another 12+
anon is offline  
Old 05-17-2007   #10
Datalynk
 
Join Date: May 2007
Posts: 3
Default Works a dream

This worked a fream for me... I have right aligned the additional column which I intend to use to capyure leads.

On 2.1 using skyblue theme it's a great mod...!
Datalynk is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:42 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.