Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
screen.png | 25.5 KB | Observer123 |
Comments
Comment #1
Observer123 CreditAttribution: Observer123 commentedHow I can disable TOC for given category? And how to put prev-next link bellow the content teasers list?
Comment #2
JirkaRybka CreditAttribution: JirkaRybka commentedTOC 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...