Thanks Bleekk;
Worked like a charm for xoops 2.5.8. My 2.5.8 site is not yet online.
Here's a demo site (2.5.7.1) using using publisher, slider and slideshow:
http://www.rossco.orgI used these modules for 2.5.8:
http://www.rossco.org/Files/publisher-1.04_RC1b.tar.gz (no changes)
http://www.rossco.org/Files/slider_2.5.8.tar.gzhttp://www.rossco.org/Files/slideshow_2.5.8.tar.gz (Publisher Slideshow, depends on slider)
The latter 2 modules have changes to be 2.5.8 compatible:
.html -> .tpl
fixed assign by reference errors for objects
fixed $itemsObj = $publisher->getHandler('item')->getItems(...) call per your suggestion.
Thus far, I have only used / tested slider/templates/blocks/slider1.tpl, slider2-10.tpl need testing
I am hoping that someone will adopt the slider and slideshow modules, complete 2.5.8 testing, checkin to trunk.
TODO:
1 - test slider2-10.tpl
2 - Consider making publisher slideshow module a merge of slider / slideshow.
3 - Error messages that do not seem to affect functionality (also present for xoops 2.5.7.1
Notice: Undefined offset: 1 in file /modules/slider/blocks/slider.php line 25
Notice: Undefined offset: 2 in file /modules/slider/blocks/slider.php line 26
Notice: Undefined offset: 3 in file /modules/slider/blocks/slider.php line 27
Notice: Undefined offset: 4 in file /modules/slider/blocks/slider.php line 28
Notice: Undefined offset: 5 in file /modules/slider/blocks/slider.php line 29
Notice: Undefined offset: 6 in file /modules/slider/blocks/slider.php line 30
Notice: Undefined offset: 7 in file /modules/slider/blocks/slider.php line 31
Notice: Should call parent::__construct in /modules/slideshow/class/item.php line 150, in file /kernel/object.php line 1240
Notice: Undefined index: type in file /modules/slideshow/class/item.php line 263