I've just upgraded my site from 4.6.something to 4.7.2, and taken the opportunity to add the category module to the site.

the taxonomy -> category export worked okay, so all the various nodes on the site have category types attached to them, as can be seen when browsing by category via the menu....

http://wellingtonista.com/?q=coffee-0

But the problem is on the individual node pages. The category links underneath the post text just don't display. eg, this page...

http://wellingtonista.com/?q=espressoholics-the-final-countdown

...should read...

Categories: Eating/Drinking. Coffee, Events, Free Stuff!

...but nothing. I've hacked up my theme's node.php.tpl file fairly thoroughly, so it may be something to do with that. The current line, which used to work with the taxonomy module is...

print $terms

...but that's the bit that obviously doesn't work any more. What should go here instead?

cheers.

Comments

noizyboy’s picture

now that I look a bit harder, it's also stuffed up my breadcrumb trails. hmmm....

venkat-rk’s picture

No need to hack. Just edit each container and category's category_display settings and check the box that says 'Show links to categories in assigned nodes'.

No idea why your breadcrumbs break, though.

noizyboy’s picture

check the box that says 'Show links to categories in assigned nodes'.

done. but still no joy.

I've only got one category type: the originally name 'Category'. The Category display settings are...

  • Show prev, next, and up links: enabled
  • Link to distant neighbours: none
  • Display TOC within this container: enabled
  • Depth of TOC: 0
  • Show assigned node count in TOC: not checked
  • Use description as body text: not checked
  • Show links to categories on assigned nodes: checked
  • Show message if no posts: checked
  • Show node listings: checked

I'm feeling well and truly stumped.

venkat-rk’s picture

I don't undersand this either. It has probably has something to do with the theme, but I am unable to put my finger on it...

noizyboy’s picture

it has probably has something to do with the theme

indeed. But I've tried switching from my custom theme back to the off-the-shelf drupal templates, and they have the exact same problem. I'm wondering if there might be some odd conflict with another module I've installed...

so I've got all the standard 4.7.2 modules, plus...

advanced_menu
category
--category_display
--category_export
--category_legacy
--category_menu
comment_info
commentrss
pathauto
sitemenu
tinymce
troll

I might try stripping things back to a bare bones install, introduce the extra modules one-by-one, and see what happens.

giorgosk’s picture

as it was explained in another post (can't find it now) the core system does not play well with the categories and does not know to output the categories as links. Installing the wrapper makes it behave a lot like the taxonomy

Anyway that is what Jaza (the developer) intended with the taxonomy wrapper but there is a small glitch:

the last term link is actually outputed twice,
Here is the issue with some temporary patches http://drupal.org/node/79890

------
GiorgosK
Web Development