Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Manufacturer's logos listed on front page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 06-21-2007, 09:04 PM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default Re: Manufacturer's logos listed on front page

Is there a way to resize the manufacturer logos? they are awefully small on my site, yet there is still plenty of room in the column to make them bigger.

www.sarversystems.com for an example.
__________________
4.1.7
X-Cart Gold
Product Configurator Module
Advanced Order Management Module
RMA Module
Feature Compare Module
Blue Dream theme by 7Dana.com
Reply With Quote
  #12  
Old 06-22-2007, 02:25 AM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default Re: Manufacturer's logos listed on front page

g0t0pless,


On line 29 you will see towards the end width=70, just change this value to suit your image size. As with any table you can also centre, left or right align.

beetlejuice
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote
  #13  
Old 06-22-2007, 02:47 PM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default Re: Manufacturer's logos listed on front page

Line 29 of what?

I see it in the diff file, but I don't see what file it edits.

Can I just change the value then repatch?
__________________
4.1.7
X-Cart Gold
Product Configurator Module
Advanced Order Management Module
RMA Module
Feature Compare Module
Blue Dream theme by 7Dana.com
Reply With Quote
  #14  
Old 06-22-2007, 03:17 PM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default Re: Manufacturer's logos listed on front page

It edits 'skin1/modules/Manufacturers/menu_manufacturers.tpl'

Find the following line there:
<a href="manufacturers.php?manufacturerid={$manufactu rers_menu[mid].manufacturerid}" class="VertMenuItems">{if $manufacturers_menu[mid].is_image eq 'Y'}<img src="{if $manufacturers_menu[mid].image_path ne ''}{$manufacturers_menu[mid].image_path}{else}{$xcart_web_dir}/image.php?id={$manufacturers_menu[mid].manufacturerid}&amp;type=M{/if}" alt="{$manufacturers_menu[mid].manufacturer|escape}" width="70" />{else}{$manufacturers_menu[mid].manufacturer}{/if}</a><br />

Then adjust the width="70" statement there. If you don't want the logos to be resized, then simply remove the statement.

Hope that helps

beetlejuice
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote
  #15  
Old 06-22-2007, 07:38 PM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default Re: Manufacturer's logos listed on front page

Thank you very much, worked perfectly.
Now, how do I center them? I tried align="center" with no luck.
__________________
4.1.7
X-Cart Gold
Product Configurator Module
Advanced Order Management Module
RMA Module
Feature Compare Module
Blue Dream theme by 7Dana.com
Reply With Quote
  #16  
Old 06-22-2007, 09:16 PM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default Re: Manufacturer's logos listed on front page

You'll need to edit your skin1.css for vert menu left to align differently. If you only wish the manufacturer's menu to be aligned center and the others as default, you'l need to create a new css style for it.

beetlejuice
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote
  #17  
Old 06-23-2007, 09:15 PM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default Re: Manufacturer's logos listed on front page

Since we're on the subject, what would be the easiest way to have the manufacturers' links open in a new window? As it is now, when you click on their logo, it takes you to a page on my site showing all products made by them (which is what I want), but when you click on their logo at the top of THIS page, it opens their site in my site's window.
__________________
4.1.7
X-Cart Gold
Product Configurator Module
Advanced Order Management Module
RMA Module
Feature Compare Module
Blue Dream theme by 7Dana.com
Reply With Quote
  #18  
Old 06-24-2007, 02:19 AM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default Re: Manufacturer's logos listed on front page

g0t0pless,

You must have their URL as a link from the icon. I don't have it that way, however it sounds like you just need to add
Quote:
target="_blank"
to your html and it will open in another window.

Easiest way is to use the WSIWYG editor for your manufacturer's pages

beetlejuice
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote
  #19  
Old 06-24-2007, 10:47 AM
 
g0t0pless g0t0pless is offline
 

eXpert
  
Join Date: Jul 2003
Posts: 360
 

Default Re: Manufacturer's logos listed on front page

I was hoping for some code that automatically appended that to the http://www._____.com that I enter in.
__________________
4.1.7
X-Cart Gold
Product Configurator Module
Advanced Order Management Module
RMA Module
Feature Compare Module
Blue Dream theme by 7Dana.com
Reply With Quote
  #20  
Old 06-24-2007, 03:32 PM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default Re: Manufacturer's logos listed on front page

I don't know of any automated way of doing it. Just do it once and then copy and paste as required.

beetlejuice
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:41 PM.

   

 
X-Cart forums © 2001-2020