slideshow possibility not in photos a. folders, only sidebar
|
Coucerbaum
![]()
Joined: 2005-01-16
Posts: 13 |
Posted: Sun, 2005-01-16 00:59
|
|
hi peoples, first, my english is very bad, i'm german. i have some question: i want only display the slideshow ability in the left sidebar, and not in the folders and photos - it's too much for my users http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=24869&highlight=slideshow thx, couci ---- |
|


Posts: 7994
You can modify modules/slideshow/slideshow.inc and in the getItemLinks method and change the foreach to this:
foreach ($items as $item) { if (!GalleryUtilities::isA($item, 'GalleryAlbumItem')) continue; } $links[$item->getId()][] = array('text' => $this->translate('view slideshow'), 'params' => array( 'view' => 'slideshow:Slideshow', 'itemId' => $item->getId())); }Posts: 13
hi bharat,
thanks for your fast answer. but i have a problem, i cannot find this method in the file /gallery2/modules/slideshow/slideshow.inc. there is no method named getItemLinks. (i saw, you wrote the slideshow module, respect and thanks for your help)
in teh next i post my slideshow.inc for better understanding...
[edit: copy of slideshow.inc deleted (bharat)]
Posts: 7994
Oops, my bad I meant to say gallery2/modules/slideshow/module.inc ! sorry for the confusion.