I'm creatng my own node-flexinode-n.tpl.php template to display page and teaser views for flexinode nodes as described here: http://drupal.org/node/45485
I'm successful at creating the page and teaser views. However, I can't seem to get the number of reads (page views count) for the flexinode nodes.
This code does not retrieve the '%count" reads as it should:
For my navigation I use a menu with included submenus on a multilanguage site.
e.g.
start
contact
map
address
about
The submenu should be shown, if the user is either on contact or on a page from the contact-submenu itself.
Everything is ok, if there is only one language, the submenu shows up, when it's supposed to.
I installed the language modules (i18n *, locale, translation) and added french and english to the content/map, pointing them to en/content/map and fr/content/map (like mentioned here: http://drupal.org/node/81094).
Now the submenu is not displayed anymore, when the user goes to en/content/map.
How can this be fixed?
Looks like the menu function is not able to find the trail back when using more than one language.
I've just upgraded to 4.7 and have started to use the freetagging power but I've run into a problem: I use nifty corners, which are based on category terms. They are quite prescriptive - ie. I have ten main topics that all have their own node theme.
I use template.php to generate css classes with:
<div class="tax-<?php print $node_term[0] ?>">
in node.tpl.php, but this now generates tags rather than the main vocabulary that I want.