Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Odoo Slider

By
Irfankhan Juneja
on 10/30/16, 8:39 AM 97 views

Hello,

I have a page like,


<?xml version="1.0" encoding="utf-8"?>

<openerp>

<data>

<template id="index">

<title>Product Display</title>

<div class="page" t-attf-style="background-image:url('/sqaj_website/static/src/files/images/background.jpg');background-size:1350px 750px; width:1350px; height:750px;">

<t t-foreach="products" t-as="product">  

 <table>

<tr class="text-center">

<td rowspan="3">

<img t-attf-src="/web/image/product.template/#{product.id}/image_display" style="height: 745px; width: 650px;"/>

</td>

<td> <font size="150px" color="white">Name : <t t-esc="product.name"/></font>

</td>

</tr>

<tr class="text-center">

<td><font size="150px" color="white">

<t t-esc="product.arabic_name"/></font>

</td>

</tr>

<tr class="text-center">

<td><font size="150px" color="white">Price : <t t-esc="product.list_price"/> Dhms.</font>

</td>

</tr>

</table>

</div>

</div>

</t>

</div>

</template>

</data>

</openerp>


and I got multiple Products in a Product.

I wants to add slider which display only one product information per slide and auto play.

any idea?

Thanks in advance.


I used owl-carousel but its not working for me.

1

Hilar AK

--Hilar AK--
829
| 5 2 7
Italy
--Hilar AK--


Hilar AK
On 10/31/16, 7:58 AM

Check the js lib of owl-carousel , it should have the the attributes to be set. so you can either extend the lib and write your own conf

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/30/16, 8:39 AM
Seen: 97 times
Last updated: 10/31/16, 7:58 AM