Manufacturer List as list, not carousel

  • Roland Rogers
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #44760 by Roland Rogers
Manufacturer List as list, not carousel was created by Roland Rogers
Hi - great product here.
I am wondering if there is a way to list the manufacturers in a list format so I can have it in a sidebar on my site. The default layout for the Manufacturer List module is a carousel layout which does not work when narrowed. The carousel is very nice and useful but just not in this context.

Any help or ideas appreciated!

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
9 years 11 months ago #44769 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Manufacturer List as list, not carousel
Hello Roland,
Thank you for purchasing and using our EShop Shopping Cart extension. Currently, we only have EShop Manfacturers to show manufacturers in a module. We don't have a view in EShop to show the manufacturers list.
What's problem that you have with manufacturer module? Let me know so I can help you.
Hope to hear back from you soon.
Sincerely, Giang

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

  • Roland Rogers
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #44838 by Roland Rogers
Replied by Roland Rogers on topic Manufacturer List as list, not carousel
I am going to try to play with the css to get the Manufacturers to show as a list, not as a carousel. I like the carousel very much but for this project it does not fit as well so I will try for a list.

The same way the categories and sub-categories can show as a list in a column I want the Manufacturers to show that way too.

For example

PRODUCTS
Drinks
Snacks
Chips

MANUFACTURERS
Coke
Pepsi
Hostess
Frito-Lay

Do you think I can do this with CSS or do I have to turn off any javascript?

Any help appreciated.

- Roland

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

  • Roland Rogers
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #44841 by Roland Rogers
Replied by Roland Rogers on topic Manufacturer List as list, not carousel
I coded a solution to meet my needs. I just wrote out my whole procedure but was told my session expired and was logged out of this site!!

If I rewrite what I did I will repost in the event this helps someone else.

That's frustrating! Another tip - write long solutions in Word then copy and paste to the forum!

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

  • Roland Rogers
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #44842 by Roland Rogers
Replied by Roland Rogers on topic Manufacturer List as list, not carousel
My solution:
Downloaded module folder to my local machine for backup:
> root/modules/mod_eshop_manufacturer/
Because I wanted my list to be like the category list I edited HTML here:
> tmpl/default.php (backup page first)
Line 14: changed “eshop_manufacturer” to “eshop-category”
Line 15: removed id and class so line is only <ul>
Lines 31 – 49: deleted this code to remove script and css links
On this page I coded out the call to the carousel JS page on line 67
> mod_eshop_manufacturer.php (backup page first)
After seeing that it worked (!) I removed the thumbnail images and had just the manufacturer name display
> tmpl/default.php
Line 22
I hope this helps someone else.
Am going to see if I can code a way to allow me to choose whether I want the module to show as a list or as a carousel.

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

  • Roland Rogers
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 11 months ago #44849 by Roland Rogers
Replied by Roland Rogers on topic Manufacturer List as list, not carousel
Final follow up... because this is Joomla I trap for a module suffix to show my custom code, otherwise the module will show as the carousel. So don't code out the link to the JS page and use this code in the default.php page to show the custom code:

<?php if ($params->get('moduleclass_sfx') == '-list') { ?>
== custom code in here ==
<? php } else { ?>
== regular code in here ==
<?php } ?>

Now by using module class suffix "-list" I can call up the list view or leave it and use the carousel view!

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
9 years 11 months ago #44858 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Manufacturer List as list, not carousel
Hello Roland,
You are a good developer! Thank you for posting the modification of manufacturer in the way you want here. May that some one will need the same thing as you and this will help them.
Sincerely, Giang

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

Moderators: Giang Dinh Truong