[Skip to main content](#vessel-content)

#   Onglets

##

- **[applidata](/forum/user/14453-applidata "View applidata's Profile")**
- [![applidata's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14453-applidata "View applidata's Profile") Topic Author
- [ Offline](/forum/user/14453-applidata)

Less More

- Posts: 12
- Thank you received: 0
-
-

11 years 6 months ago [\#200306](#200306) by [applidata](/forum/user/14453-applidata "View applidata's Profile")  *[Onglets](/forum/26-product-category-display/876690-onglets#200306 "-- url of the page with the problem -- :   temp.sanimaux.com  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6  Bonjour J'aurais voulu présenter ma page produit avec des onglets Description Recommandations d'utilisation Composition .... Comment puis je les créer ? Cordialement")* was created by *[applidata](/forum/user/14453-applidata "View applidata's Profile")*

-- url of the page with the problem -- : [ temp.sanimaux.com](http://temp.sanimaux.com)
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.6

Bonjour
J'aurais voulu présenter ma page produit avec des onglets
Description
Recommandations d'utilisation
Composition
....
Comment puis je les créer ?
Cordialement

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY2OTAtb25nbGV0cz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 6 months ago [\#200309](#200309) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Onglets](/forum/26-product-category-display/876690-onglets#200309 "-- url of the page with the problem -- :   temp.sanimaux.com  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6  Bonjour J'aurais voulu présenter ma page produit avec des onglets Description Recommandations d'utilisation Composition .... Comment puis je les créer ? Cordialement")*

Bonjour,

Il faut éditer la vue "product / show_tabular" afin de rajouter des onglets.
Pour ajouter un nouvel onglet il faut ajouter le code: Code:

&lt;li id="mon_onglet_li" class="hikashop_tabs_li ui-corner-top"&gt;&lt;?php echo JText::_('MON_ONGLET');?&gt;&lt;/li&gt;

Après: Code:

&lt;li id="hikashop_show_tabular_new_comment_li" class="hikashop_tabs_li ui-corner-top"&gt;&lt;?php echo JText::_('PRODUCT_NEW_COMMENT');?&gt;&lt;/li&gt; &lt;?php } ?&gt;

Ensuite pour ajouter le contenu il faut ajouter le code: Code:

&lt;div class="hikashop_tabs_content" id="mon_onglet"&gt; Mon contenu ! &lt;/div&gt;

Avant: Code:

&lt;input type="hidden" name="selected_tab" id="selected_tab" value="hikashop_show_tabular_description"/&gt;

Il faut que l'id du "li" soit le même que celui du "div" mais avec "_li" en plus.

ps: La vue est en train d'être améliorée, et la documentation va être rédigée sous peu pour donner toutes ces précisions de manière illustrée.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY2OTAtb25nbGV0cz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[applidata](/forum/user/14453-applidata "View applidata's Profile")**
- [![applidata's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14453-applidata "View applidata's Profile") Topic Author
- [ Offline](/forum/user/14453-applidata)

Less More

- Posts: 12
- Thank you received: 0
-
-

11 years 6 months ago -  11 years 6 months ago [\#200366](#200366) by [applidata](/forum/user/14453-applidata "View applidata's Profile")  Replied by *[applidata](/forum/user/14453-applidata "View applidata's Profile")* on topic *[Onglets](/forum/26-product-category-display/876690-onglets#200366 "-- url of the page with the problem -- :   temp.sanimaux.com  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6  Bonjour J'aurais voulu présenter ma page produit avec des onglets Description Recommandations d'utilisation Composition .... Comment puis je les créer ? Cordialement")*

Un grand merci pour votre réponse
Tant qu'on y est ...
Je veux juste récupérer dans mes onglets la valeur d'un champ personnalisé de type "text area" nommé " product_xxxx "
Vous voyez quoi dans "mon contenu !" ?
Cordialement

Last edit: 11 years 6 months ago by [applidata](/forum/user/14453-applidata "View applidata's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY2OTAtb25nbGV0cz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

11 years 6 months ago [\#200380](#200380) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Onglets](/forum/26-product-category-display/876690-onglets#200380 "-- url of the page with the problem -- :   temp.sanimaux.com  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6  Bonjour J'aurais voulu présenter ma page produit avec des onglets Description Recommandations d'utilisation Composition .... Comment puis je les créer ? Cordialement")*

Ce code là: Code:

&lt;?php echo $this-&gt;element-&gt;product_xxxx; ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzY2OTAtb25nbGV0cz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.058 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
