|
|
#1 |
|
Junior Member
Join Date: Apr 2009
Posts: 14
Rep Power: 2 ![]() |
I need to have subcategories shown on home page (like those in the picture)
__________________
![]() 68 Classifieds Developer @ v4.1.x + Nu Style Template
|
|
|
|
|
|
#2 |
|
All Hands On Deck
Join Date: Mar 2008
Posts: 1,128
Rep Power: 29 ![]() |
You will need to do a few things. First of all you will need to edit your home.tpl page to show the sub categories. Remove the comments <!- and --> from this line below
<!--{$data[td].subcats}--> As you do not want to show decriptions under the categories you can comment the description out so it looks like this <!--{$data[td].description}--> Then you will need to change your category image for a dot. Finally and beyond the scope here, you will need to adjust your css style sheet to get exactly what you are asking for. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2007
Posts: 370
Rep Power: 19 ![]() |
In v4.1.3
Go to includes>classes>kernel>Categories.php and insert a <br /> at the end of lines 98 and 103 (in place of ). While you're there you might also like to increase your subcategory limit at line 92. The default is just 3. Good luck.
__________________
M Michael V4.1.3 Developer - 3 Column Default Template "All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642) |
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: Jul 2009
Posts: 8
Rep Power: 0 ![]() |
Quote:
The $limit=3 is in line 87 btw in my categories.php (4.1.4) |
|
|
|
|
|
|
#5 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 820
Rep Power: 21 ![]() |
Hi,
I just did this on my site. But it ends up looking like this http://everythingsfree.org/image//images/212850cats.jpg Can anyone see an easy way to fix this? Cheers
__________________
Nick Bowers 68c v4.09 Developer Custom Template |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Jul 2009
Posts: 8
Rep Power: 0 ![]() |
For the dots just remove "LANG_DOT_DOT_DOT." from Categories.php
Donno about those blank areas in tables. |
|
|
|
|
|
#7 | |
|
68 Evangelist & Developer
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,587
Rep Power: 46 ![]() ![]() |
Quote:
The only way that I know of to get around that is to rewrite the browse.tpl file to use CSS boxes to contain the data instead of a table. This will get complicated and you would have to be an advanced coder for smarty and CSS to accomplish this.
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.3) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as my store with Templates, Mods & Docs Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Jan 2007
Posts: 370
Rep Power: 19 ![]() |
Nick, the categories are stored in table cells so those gaps are unavoidable unless you rewrite that part of your page to use CSS instead.
__________________
M Michael V4.1.3 Developer - 3 Column Default Template "All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642) |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Jan 2007
Posts: 370
Rep Power: 19 ![]() |
Seriously Mike, how the hell did you get your response in 15 minutes before mine! You weren't there when I started typing like 5 minutes ago!!
__________________
M Michael V4.1.3 Developer - 3 Column Default Template "All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642) |
|
|
|
|
|
#10 |
|
68 Evangelist & Developer
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,587
Rep Power: 46 ![]() ![]() |
I use "The Force"! You must not have the force or you would have felt my presence.
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.3) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as my store with Templates, Mods & Docs Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to show the number of listings in subcategories? | AHTOXA | Modules / Plugins / Modifications | 12 | 06-01-2009 01:35 PM |
| SubCategories | Unregistered | Pre Sales Questions | 2 | 09-29-2008 09:50 AM |
| how to display subcategories on homepage | cedano | v4 Questions & Support | 5 | 06-28-2008 03:52 AM |
| Show 2nd level categories on homepage? | Success | v4 Questions & Support | 8 | 06-11-2008 09:16 PM |
| Can't browse subcategories | Bucketman | v3.0 Questions & Support | 2 | 04-04-2006 07:07 AM |