module class suffix not taking effect

  • Posts: 3
  • Thank you received: 1
11 years 4 months ago #112731

For the site I am working on, I have 4 random products I want to display on the site landing page, one from each of four categories. I have setup 4 Hikshop random product modules. To style these div's I need to add a module class suffix but the class names do not appear in the div tags. These are the steps I use to edit the module:

  1. Go into modules from Joomla's Extension's menu
  2. Open one of the four random products modules
  3. Click on the Options tab
  4. under Basic Options enter a label such as customClass in the text box beside Module Class Suffix. I have tried this both with and without a leading space to add to or replace the class definition of the div.
  5. Click Save.

Refreshing the site home page and examining the html, I examine the module div and all I see are
<div id="hikashop_module_113*" class="hikashop_module ">
(* realise the numbers will vary depending on the module id set by the system).

Does the free version of Hikashop not offer module class suffix support?

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 4 months ago #112965

Hi there,

Could you provide a link to your website? I'll be able to visualize the html structure and help you with it.
Anyway, Hikashop doesn't propose class suffix since the module ids are always the same. You can thus override your specific module by using this specific id.
Also, why don't you create a unique module with your 4 random products with it? It sounds easier to me.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 1
11 years 4 months ago #113049

At this time, sharing a site url is not possible for I have not deployed to a production server. While the idea of a unique module is challenge I want to take on, where do I begin? Never made a unique or custom module before. Can you point Me in the direction of good tutorial?

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
11 years 4 months ago #113111

Hi,

Eliot is wrong. The HikaShop modules have a class suffix field.
You can enter your class name there and it will be added as a class in the parent div of the div that you put in your message and not by HikaShop but by your template.

Xavier simply said that instead of creating 4 modules, one per product, you should instead create only 1 module with four products displayed in it. It's quite easy actually. Disable three of them, and in the fourth, click on the hikashop options link and change on the options screen the number of elements option from 1 to 4.

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum