Tabs links not working with clean urls


Author Message
Juss

Posted: 4/19/2009
Quote message 

When using clean urls in drupal 5 the tabs links stop working, in order to fix this check the "drupal5_methods.php" file for the function:


function gobernacion2_menu_local_task($mid, $active, $primary) {
$link = menu_item_link($mid, FALSE);
return '<a href=?q="'.$link['href'].'" class="Button"><span class="btn">'.


and replace it with this:


function mytheme_menu_local_task($mid, $active, $primary) {
$link = menu_item_link($mid, FALSE);
return '<a href="'.base_path().$link['href'].'" class="Button"><span class="btn">'.



 
Juss

Posted: 4/21/2009
Quote message 

note:

In your particular case the name of the function will have the name of the theme (in my case gobernacion2).

So keep your theme name at the begining of the function.