Elxis CMS Forum

Extensions => Components => Topic started by: speck on March 31, 2010, 14:01:54

Title: E-shop: three questions
Post by: speck on March 31, 2010, 14:01:54
A)
How can to do to not display manufatcurers??
There's a method or i need to comment all lines of manifacturers in the php code??
With css i did it but i don't like some things.

B)
Maybe someone thinks that I'm in love about IE6  ;D
Problem with horizontal menu of ios-eshop... why works right in mozilla, google, ie7, ie8, and i hope in other browser, but in ie6 the submenu flipping?
see with ie6
http://test.follies.it
(is not finish)

C)
I want use noobslide for some categories like demo of ios-eshop and i like to call for these categories some images.
how can do this.?? maybe parameters templates?
Title: Re: E-shop: three questions
Post by: rentasite on March 31, 2010, 14:40:38

A) I'll give you an alternative solution..... There's no need to be called "Manufacturer" but can be set to "Author", "Artist", "Developer" exc

IOS Eshop Configuration / General Settings / Manufacturer title

B) What is I.E. 6 ?   ::)

C) http://wiki.elxis.org/wiki/ESHOP_Internal_module_positions
Title: Re: E-shop: three questions
Post by: speck on March 31, 2010, 15:38:49
Quote from: supernet

A) I'll give you an alternative solution..... There's no need to be called "Manufacturer" but can be set to "Author", "Artist", "Developer" exc
This i know....
maybe i've explaned badly...
example:
Artist: U2
i don't want show the name and the label  :o
my customer don't want  display nothing about manufactures (author, artist, etc etc etc)
but in amministration he must insert because is a request field ;D

Quote from: supernet
B) What is I.E. 6 ?
GRRRRRRRRRRR!!!!!!!!!!!  >:(
I love IE6  ;D

Quote from: supernet
C) http://wiki.elxis.org/wiki/ESHOP_Internal_module_positions
Thanks a lot
Title: Re: E-shop: three questions
Post by: mgrc on April 05, 2010, 11:03:00
For your first question, to replace the "manufacturers" you could do it using notepad++.
Simply download entire ios eshop component to your computer and use the notepad++ replace > find in files feature to for example change all instances of "manufacturers" and "Manufacturers" into "marca" and "Marca", like you have on your test site now, then reupload these files back to your site folder (don't forget to backup your site before you try this). This would not affect the core functionality but will give you a "nicer" url so your http://example.com/eshop/manufacturers/1.html would become http://example.com/eshop/marca/1.html

You may also need to do a similar "fix" on component sitemap if you are using it, to make it work with your new "marca" links.
Some modules may also need similar fix, have not really looked into it.
The changes would likely be lost on the next major update (but component looks pretty solid as is , so it may not need one  ;) ).

Title: Re: E-shop: three questions
Post by: datahell on April 05, 2010, 14:33:36
I dont recommend this rename but if you do it then you have also to update these files:

1. The SEO PRO extension:
includes/seopro/com_eshop.php (used in automatic links generation/restoration).
2. The SEO PRO suggest/validate class:
administrator/components/com_eshop/includes/eshopseovs.class.php
(used as a check for validity of SEO titles - if you dont update it then if you create a category with SEO title = "marca" then this category will not be accessible).

You have also to update some modules and menus.

Attention: "Blind" find and replace on core PHP files will surely also rename some functions and variables names making eshop dis-functional! So, be careful!

If you wish to rename just the text and not the URLs then just edit the language files and not the core PHP files!

Regarding updates: Updates are not always a matter of bug fix. IOS Eshop is very careful developed and solid as rock. So, most likely, does not have any bug. But new versions also bring new functionalities or improve existing ones. For instance, in version 2.1, that released a few days ago, DOMIT was replaced with SimpleXML that is PHP5/6 native method to handle XML files. Elxis 2009.2 also uses SimpleXML instead of DOMIT.
Title: Re: E-shop: three questions
Post by: speck on April 05, 2010, 21:28:19
Thanks at all for your help.
MGRC my problem is not the word manufacturer. i can rename it in the language file. The problem is my customer don't want see pubblished in front end the "manufacturer" how is possible in the product modules (if i remember right). Sorry if i call it the manufacturer but i mean the variable and his label (language variable).
The only solution that I find is to comment all content html where appears the variable $manufacturer with her language variable, but i want to do this only in an extreme case if there's no solution  :(