Forums / General Questions / Changing the manufactures box

Changing the manufactures box

Locked

Views: 1,872

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
23 Apr 2009, 7:58 AM
#1
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

Changing the manufactures box

Hi all zenners could you help me out . I have searched and cant find a response to my question.

In the manufacturers box i would like the logo's of the manufacturers not a list of text.

So people easily recognise the brand name and can click on it to view them items.

My site is in my signature so feel free to see what i mean .

Many thanks from the gmrm team

27 Apr 2009, 6:18 PM
#3
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

Re: Changing the manufactures box

Hi tony i have tried these and none of them work for me. When i active the manufacturers_img mod it shows up with this code :-

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BOX_MANUFACTURER_MAX_LOGOS' at line 6
in:
[select m.manufacturers_id, m.manufacturers_name, m.manufacturers_image, mi.manufacturers_url from manufacturers m left join manufacturers_info mi on (m.manufacturers_id = mi.manufacturers_id and mi.languages_id = '1') ORDER BY RAND() LIMIT 0,BOX_MANUFACTURER_MAX_LOGOS]

What am i doing wrong ?

27 Apr 2009, 8:09 PM
#4
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Changing the manufactures box

based on developer info .. add this to your language file .

define('BOX_MANUFACTURER_MAX_LOGOS','10'); //replace 10 by any that you want

i believe it should be added to your english.php

if you go back to the contribution download , you also will see additional installation instruction.

28 Apr 2009, 7:42 AM
#5
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

Re: Changing the manufactures box

Hi tony i have also tried that and it shows no code and no box and at the bottom the footer becomes missing. I placed all 3 lines of code into english.php. It still won't work.

28 Apr 2009, 9:03 AM
#6
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Changing the manufactures box

i just installed this module.
here are solution ..

add the following to your english.php ..

define('BOX_HEADING_MANUFACTURERS_IMG', 'Manufacturers');
define('BOX_MANUFACTURER_HOMEPAGE_IMG', 'Web of %s');
define('BOX_MANUFACTURER_MAX_LOGOS', '10');

original installation was missing ' '

2 : tpl_manufacturers_img_select.php needs to go to sidebox folder under Includes / templates/ YOURTEMPLATE/ sidebox .

this should solve the problem . :smile:

28 Apr 2009, 10:29 AM
#7
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

Re: Changing the manufactures box

Dude you are the best. I done it and it worked. I had put the two php files into the gmrm.co.uk/public_html/includes/templates/template_default/

i missed off the sideboxes folder as it states in the read me file to copy the folders to the exact position as they are structured in the download section.

Many thanks MR SAR :smile::smile::smile::smile::smile:

I have another quick ? for you lol

could they be put into alphabetical order and also made so they are evenly spread out, not like they are now all mashed all over the place lol

28 Apr 2009, 7:57 PM
#8
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Changing the manufactures box

to give some space between images , add this to the end of your stylesheet.css

#manufacturersimgContent img {
padding-bottom:3px;
}

to have them show in alphabetical order , SQL statement needs to be modified and that is not something i can help out . sorry .

11 Sep 2009, 7:56 PM
#9
zarenya avatar

zarenya

New Zenner

Join Date:
Sep 2009
Location:
South Africa
Posts:
9
Plugin Contributions:
0

Re: Changing the manufactures box

Hello all, I have implemented the instructions given above in previous posts.

https://www.globalcw.net/shop

Could you please advise how I can get 2 manufacturers logos next to each other and also REMOVE THE URLS below each logo.

Thanks :smile:

16 Sep 2009, 6:14 PM
#10
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

Re: Changing the manufactures box

I would zerenaya if your site was not down

Invalid URL
The requested URL "/shop/", is invalid.

Reference #9.4fb23554.1253124859.0

18 Sep 2009, 4:27 AM
#11
zarenya avatar

zarenya

New Zenner

Join Date:
Sep 2009
Location:
South Africa
Posts:
9
Plugin Contributions:
0

Re: Changing the manufactures box

It is up now, https://www.globalcw.net/shop :smile: