Hi. I am creating a new theme for our project.
How do i change the output of the $theme->album_menu(), that is, the view slideshow and other links? I need them to be text-links, not images.
The o/p is generated in the slideshow slideshow_event.php by:
static function album_menu($menu, $theme) { $max_scale = module::get_var("slideshow", "max_scale"); if ($theme->item()->descendants_count(array(array("type", "=", "photo")))) { $menu->append(Menu::factory("link") ->id("slideshow") ->label(t("View slideshow")) ->url("javascript:cooliris.embed.show(" . "{maxScale:$max_scale,feed:'" . self::_feed_url($theme) . "'})") ->css_id("g-slideshow-link")); } }
I need them to be text-links, not images.
You can use CSS change the behavior as the link has text and is changed by the cssID in the css of the theme.
Dave _____________________________________________ Blog & G2 || floridave - Gallery Team
thanks. there was a .js file that changed the css. works now
Posts: 27300
The o/p is generated in the slideshow slideshow_event.php by:
You can use CSS change the behavior as the link has text and is changed by the cssID in the css of the theme.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 10
thanks. there was a .js file that changed the css.
works now