|
|||||||
| v4 Modules / Modifications Information about modules and script modifications for v4. Questions here are beyond "typical" 68classifieds support and not supported by the 68classifieds team. |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Hi,
A quick newbie question (I'm loving 68classifieds so far!) - has anyone placed the categories in the left hand column? I'd like to do this so that the categories are always visible for the user. Ideally I'm wanting to change the code into a seo friendly <ul><li> setup, with a possibility or nesting the sub categories and displaying them too if required. Has anyone of you already done such a thing? Is there an example of the code that I could look at just so I'm not reinventing the wheel? Many thanks, Konrad |
|
#2
|
||||
|
||||
|
Hi,
You should be able to use this: Code:
{categories_parent}
<ul>
{foreach from=$pcat item=entry}
<li>{$entry.link}</li>
{/foreach}
</ul>
__________________
Eric Barnes 68 Classifieds Developer "If a wood chuck could chug beer how much beer could a wood chuck chug?" Customer Area | Issue Tracker | Knowledge Base | User Manuals | Twittering |
|
#3
|
|||
|
|||
|
Thanks, that did the trick! I have now been trying based on this code to place the subcategories in there as well but have been getting error messages (I'm not a php coder!).
I would like the sub categories only to appear nested in the main categories menu when on the actual parent page - is this possible? Thanks! Konrad |
|
#4
|
||||
|
||||
|
I am really not sure how difficult it would be. However the file this pulls from is includes/classes/smarty/plugins/function.categories_parent.php
You may want to look in that to see how it is generated.
__________________
Eric Barnes 68 Classifieds Developer "If a wood chuck could chug beer how much beer could a wood chuck chug?" Customer Area | Issue Tracker | Knowledge Base | User Manuals | Twittering |
|
#5
|
|||
|
|||
|
Thanks for your help - however, this si way beyond my php capabilities - I think I'll leave it for now but of course if anyone else wants to look at it then that would be really appreciated!
Thanks again, Konrad |
| Bookmarks |
| Tags |
| list, menu, navigation |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Alphebetical category display | teg | v4 Questions & Support | 6 | 03-12-2008 08:41 AM |
| Making a Left Hand Column | goose | HTML, CSS, and Design Help | 1 | 09-26-2007 05:49 PM |
| Right column | dphibb | v3.1 Questions & Support | 1 | 07-17-2007 08:35 AM |
| Categories displayed in left column...??? | Netpower | v3.1 Modifications | 4 | 07-06-2007 02:03 PM |
| Prevent Browse Categories Table for hidden categories | free2take | v3.0 Questions & Support | 3 | 05-12-2006 10:14 AM |