this peresentation of module that is not completed can kill other's time
please correct this as soon as possible
L function change " ' " to url encoded character
this must be changed:
// snippet of magic_tabs_get function
// extract titles and contents
foreach ($tabs as $tab) {
$title = $tab['title'] ? $tab['title'] : t('Tab %index', array('%index' => $index));
$class = strtolower(preg_replace('/[^a-zA-Z0-9]+/ ', '-', $tab['title']));
// $items[] = '<a href="'.url($_GET['q']).'&'.magic_tabs_query_string(array($callback . '_tab' => $index))
$items[] = '<a href="#" class="" onclick="'."
$('#$callback .magic_content').addClass('hidden');
$('#$callback .loading').removeClass('hidden');
$('#$callback').load('/magic_tabs/$callback?{$callback}_tab=$index');
".'"> '
.'<span>'. $title .'</span></a>';
$index++;
}
ajax functionallity still have bugs
Comments
Comment #1
esmailzadeh commentedi apologize you this is working well (changing character has no effect in ajax fuctionallity)
my problem resulting of my drupal installation
when i install magic tabs on a clean drupal, magic tabs work well
Comment #2
yhager commented