I have not found maxislideshow.
I have taken wide slide from pixelpointcreative.
How I installed it :
1 - I have installed the module and activated it in a non used position.
I have not done any hack or adaption of the module.
In FC :
I have 2 fields :
- image : a classical image/gallery field
- Slideshow : a loadmodule field
In the FC template :
- image is in renderonly position
- Slideshow is in the description position. It could have been also in top or I think elsewhere in a a used position of the template.
In the source of the item_html5 of the template :
- I have copy the content of modular_html5.php from
tmpl_common.
- In the source of this copied template I have added at the beginning of the template :
the following code (about line 35)
Code:
JFactory::getDocument()->addStyleSheet(JURI::base().'components/com_flexicontent/assets/css/tabber.css');
$mainAreaTag = ( $this->params->get( 'show_page_heading', 1 ) && $this->params->get('page_heading') != $this->item->title && $this->params->get('show_title', 1) ) ? 'section' : 'article';
is replace by :
Code:
JFactory::getDocument()->addStyleSheet(JURI::base().'components/com_flexicontent/assets/css/tabber.css');
/*
image to be used in the slideshow
*/
unset($_SESSION['diaporama']);
$_SESSION['diaporama'] = $this->fields['image']->thumbs_src['large'];
$mainAreaTag = ( $this->params->get( 'show_page_heading', 1 ) && $this->params->get('page_heading') != $this->item->title && $this->params->get('show_title', 1) ) ? 'section' : 'article';
This give an array with all images to be displayed in the module.
Then I use Rereplacer (nonumber.nl) to replace the content of the orginale wideslide module which display the content of all images of the directory entered in the module.
In Rereplacer :
To do that I have created 4 records in Repreplacer.
The aim is to clean the unneeded html code from wideslide and to replace it with the content of the images I need.
The 4 records are to be ordered (there is the step number inside each record).
I join the file to be imported into rereplacer which contains all 4 records.
The first step cleans all code which is between :
<!-- Slide image -->...<!-- /Slide image -->
The second step cleans all code which is between :
<!-- Texts container -->...<!-- /Texts container -->
(I don't use the caption of the images. If you need a caption for each image. I think this solution is to be modified).
The third step cleans all code which is between :
<div style="display:block"><div class="timers"></div></div>
(This step is optionnal, only to be used with auto display off and timers line off). I have found afteward that this step can be parametred from module administration)
The fourth step :
This is the main step. It's somes php lines to add the Images contents). I user a regular expression to do that :
It's adding the <img...> tag inside the
<div class="slide">...</div>
lines.
For Rereplacer you need to activate 2 Nonumber extensions :
- Rereplacer
- Sourcerer used in the fourth step.
This solution is, I hope, temporary as long as there is no native solution inside FC.
Sorry, I can't display an example for the moment as the site is not open for users.
best regards
Michel
PS : to use this solution, you need to import the attached file inside Rereplacer with the internal rereplacer menu 'Import' and of course install the Pixelpointcreative module.