Page 1 of 1

Does home page banner slide?

Posted: Wed Sep 19, 2012 2:35 pm
by meifullerton
Hi,
In the demo site, there are multiple home page banners set up in the database. Are those banners suppose to be slide show?

This is version 2 RC 1

Thanks
Mei

Re: Does home page banner slide?

Posted: Wed Sep 19, 2012 4:11 pm
by phillipuniverse
This is currently not configured to do that. However, if both of the banners have the same priority, the system will randomly decide which banner to show.

Re: Does home page banner slide?

Posted: Wed Sep 19, 2012 4:26 pm
by meifullerton
Do you mean it can be "configured" to do the slide show? What are the configurations?

Thanks for your help.
Mei

Re: Does home page banner slide?

Posted: Thu Sep 20, 2012 9:31 am
by phillipuniverse
By "configured" I mean there is no HTML/CSS/JS written to enable this functionality. But you can definitely do this by pulling back content based on that type:

Code: Select all

<blc:content contentType="Homepage Banner Ad" />
<div id="banners">
    <ul>
        <li th:each="${item : contentList}">
     <a th:href="@{${item['targetUrl']}}"><img th:src="@{${item['imageUrl']}}" alt="Buy One Get One" /></a>
        </li>
    </ul>   
</div>


Obviously this is not all the code you would need to write but something along those lines.

Re: Does home page banner slide?

Posted: Thu Sep 20, 2012 9:45 am
by meifullerton
Got it. Thanks for your clarification.