|
| |||||||
| Mods and contribution Discussion This forum is only for discussion of modding phpLD. For specific mod releases, please see the appropriate forum. |
![]() |
| | topic widgets |
| | #1 |
| Join Date: Oct 2005 Posts: 23 | Hello all, my first post ![]() Here is a way to make two columns in the directory: New table goes before {* Calculate the number of categories per row *} and after {include file="top_bar.tpl"}. It should look like this: Code: Content visible to registered users only. Code: Content visible to registered users only. Code: Content visible to registered users only. Here is a simple new table you can modify later: Code: Content visible to registered users only. edit: added -> align="top" __________________ -- logged |
| |
| | #2 |
| Administrator phpLD Administrator Supporter Join Date: Jan 2005 Posts: 12,325 | Nice! Do you have a demo? __________________ Helpful Links: templates supporters forum █ New phpLD User? Start here █ Quality Guidelines for Directories █ Recommended Host |
| |
| | #3 |
| Join Date: Oct 2005 Posts: 23 | Thanks, yes demo @ {non working link removed} __________________ -- logged Last edited by David; 08-01-2008 at 04:22 PM. |
| |
| | #4 |
| Administrator phpLD Administrator Supporter Join Date: Jan 2005 Posts: 12,325 | Great contribution! Thank you. __________________ Helpful Links: templates supporters forum █ New phpLD User? Start here █ Quality Guidelines for Directories █ Recommended Host |
| |
| | #5 |
| Supporter Join Date: Nov 2005 Location: UK Posts: 66 | Hello, I added this mod but it seemed to have no effect? This is the two sections from my main.tpl Code: Content visible to registered users only. Code: Content visible to registered users only. Code: Content visible to registered users only. |
| |
| | #6 |
| Supporter Join Date: Nov 2005 Location: UK Posts: 66 | Found the error with the help of logged. Thanks for the help, A good little mod and would certainly recommend |
| |
| | #7 |
| Join Date: Nov 2005 Posts: 35 | The preview isn't working anymore, can someone please show me what this modification does? Im interested in keeping the body of my link directory on the homepage normal and at the same time have something on the other side. But when someone clicks on a link cat the page isn't devided, I just want the homepage to be affected. So, atfer installing a new phpld and keeping everything the same except putting something (like an image for example) on the right side of the body, under the search and above the footer... this is what this mod does? Thanks, I need help asap. __________________ If I have helped you in some way please consider adding your website to my website directory. Thanks! |
| |
| | #8 |
| Join Date: Jan 2006 Posts: 47 | This is a great mod, but I also am trying to tweak it so the column only displays on the homepage. Has anyone had any luck doing this? I know I haven't. One more thing that might save some headaches for someone. If you copy and paste the code, note that right.tpl is mispelled rigth.tpl. Which is fine as long as you name your new file that you create rigth.tpl as well |
| |
| | #9 |
| Supporter Join Date: Dec 2005 Posts: 484 | @jay275 I had posted something but then realised it didn't exclude the search pages. Sorry. Net. |
| |
| | #10 |
| Join Date: Jan 2006 Posts: 47 | Code: Content visible to registered users only. |
| |
| | #11 |
| Join Date: Nov 2005 Posts: 50 | Any ideas on how to make it a left column? |
| |
| | #12 |
| Supporter Join Date: Feb 2006 Location: As far from you as humanly possible! Posts: 2,860 | Code: Content visible to registered users only. Rob |
| |
| | #13 |
| Supporter Join Date: May 2006 Posts: 15 | Hi, May I ask for some help in this column thing? Have added a left column for "google like ads" and the page appears to just ok in IE . But in firefox the column is totally misplaced. Using v3.05 springbreak {non working link removed} Thank You for any help! Dee Last edited by David; 08-01-2008 at 04:23 PM. |
| |
| | #14 |
| Supporter Join Date: Feb 2006 Location: As far from you as humanly possible! Posts: 2,860 | where you added your column within the <td> tage add this: rowspan="100%" so it should look like: <td rowspan="100%"> and see how that works out for you in FF. Last edited by David; 08-01-2008 at 04:23 PM. |
| |
| | #15 |
| Supporter Join Date: May 2006 Posts: 15 | THANK YOU, THANK YOU, THANK YOU Anon! Been at this most of the day and have tried almost everything I could find! Have a Good Day, Dee |
| |
| | #16 |
| Supporter Join Date: Feb 2006 Location: As far from you as humanly possible! Posts: 2,860 | Code: Content visible to registered users only. you're welcome Dee |
| |
| | #17 |
| Mentor Supporter Join Date: May 2006 Location: Fond du Lac, WI Posts: 1,400 | Code: Content visible to registered users only. Thanks in advance. __________________ |
| |
| | #18 |
| Join Date: Aug 2006 Posts: 118 | Code: Content visible to registered users only. |
| |
| | #19 |
| Join Date: Sep 2005 Posts: 19 | I'm having the same issue- When adding a left AND a right column, everything lines up correctly on the home page but on the category pages, the right column appears under the categories, not next to it. Any suggestions? |
| |
| | #20 |
| Join Date: Oct 2006 Posts: 5 | I tried this mod and its excellent thanks to the coder, i put the code on the bottom and adjusted the table so to make it appear on the bottom along the page so i can get banners to fit on there. now my quesiton is, is it possible to isolate this code so i can add different banners and different table for each category page, and if thats not possible how can i limit this mod so it only appear on the home page?? please have a look at my directory and feel freee to put a free submission and let me know any hints or comments that may improve things, {non working link removed} thanks in advance Last edited by David; 08-01-2008 at 04:24 PM. |
| |