Hello,

I use this module with a front page, and a global home redirect (to avoid being always back to the front page). Unfortunately, the menu pointing to have the good link, but does not have the "active" css class when the home page is displayed.

Any idea to fix this?

Thanks in advance.

Comments

Dublin Drupaller’s picture

Status: Active » Closed (fixed)

when you redirect away from the front page, you are no longer on the front page. You could try using the load_node function to pull the node into the front page rather than redirecting...e.g. using something like this:

$noderef = '12'; // change the node ref to suit.
$embednode = node_load($noderef);
print  node_view($embednode, $teaser = TRUE, $page = FALSE, $links = TRUE);

reopen this issue if you're still having problems.