Posted by Observer123 on April 26, 2010 at 11:02am
2 followers
Jump to:
| Project: | Category |
| Version: | 6.x-2.0-rc2 |
| Component: | Category_display |
| Category: | support request |
| Priority: | critical |
| Assigned: | Observer123 |
| Status: | active |
| Issue tags: | category view |
Issue Summary
like here http://rannorazvitie.bg/screen.png , just content list with preview.
Or may be it should be done with view?
I am new to views, please give me information how to use category view and to display nodes attached only to specified category.
| Attachment | Size |
|---|---|
| screen.png | 25.5 KB |
Comments
#1
How I can disable TOC for given category? And how to put prev-next link bellow the content teasers list?
#2
TOC is enabled/disabled per container, just edit the container node and choose. Per category - well, that's not supported I believe.
Not sure about the prev/next links (in fact, I think these are not working in the 6.x version properly ( #458972: Navigation links PREV/NEXT on categories broken, category_menu_tree_all_data() needs cleanup ), so I just disabled them on my site). It's either in the themable functions, somewhere, or else one needs to play with the node object prior to rendering (i.e. hook_nodeapi() from another module, or a hack in code), or as last resort do some "dirty" manipulations like strpos(), str_replace(), a regex etc. in your node.tpl.php. No time to check now, just thinking aloud. Personally I consider these links a bit pointless, but it depends...