Slideshow on Homepage?
Slideshow on Homepage?
I notice that the MPI options are available to be set at fragment level and was wondering if there is an easy way to use MPI to display a slideshow on the homepage maybe by simply adding a fragment?
Re: Slideshow on Homepage?
Please ignore previous post as I have got it working - I was using a modified fragment layout and picking a standard layout sorted everything out.
Re: Slideshow on Homepage?
Sorry to keep answering my own posts...
I have MPI working fine as a fragment on the homepage now. (not uploaded as yet)
As I want to use it just as a slide show I don't want to have the icon layout visible. If I set the FragmentIconPosition to none then although this removes the icons it also stops the slide show from working.
Is there part of the Fragment Extra Image Table I can alter to stop the icons appearing but still let the slide show work?
I have MPI working fine as a fragment on the homepage now. (not uploaded as yet)
As I want to use it just as a slide show I don't want to have the icon layout visible. If I set the FragmentIconPosition to none then although this removes the icons it also stops the slide show from working.
Is there part of the Fragment Extra Image Table I can alter to stop the icons appearing but still let the slide show work?
Re: Slideshow on Homepage?
Here's a way:
Go to Design / Library / Variables / Extra Images Control / MPI-FragmentPosition / Values.
Click New and type in "Hidden".
OK Out.
Go to Design / Library / Layouts / Layouts / Fragment Image / Standard Fragment Image.
Look at the bottom for the lines:
Immediately above the final </actinic:block> line add:
Now in your Fragment Details you can set FragmentIconPosition to "Hidden" to hide the icons.
Go to Design / Library / Variables / Extra Images Control / MPI-FragmentPosition / Values.
Click New and type in "Hidden".
OK Out.
Go to Design / Library / Layouts / Layouts / Fragment Image / Standard Fragment Image.
Look at the bottom for the lines:
Code: Select all
<actinic:block if="%3cactinic%3avariable%20name%3d%22MPI%2dFragmentPosition%22%20%2f%3e%20%3d%3d%20%22Right%22" ></td><td class="mpi-ico-right"><actinic:variable name="Extra Image Layout" value="Fragment Extra Image Table" /></td></tr></table></actinic:block>
</actinic:block>
Code: Select all
<actinic:block if="%3cactinic%3avariable%20name%3d%22MPI%2dFragmentPosition%22%20%2f%3e%20%3d%3d%20%22Hidden%22" ><div style="display:none"><actinic:variable name="Extra Image Layout" value="Fragment Extra Image Table" /></div></actinic:block>
Norman
Re: Slideshow on Homepage?
Thanks for that Norman.
Worked perfectly and is a much more elegant solution to the lines I was thinking along.
Worked perfectly and is a much more elegant solution to the lines I was thinking along.