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

Change the Featured Products Title Only?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 06-17-2004, 11:24 PM
 
Ryano Ryano is offline
 

Senior Member
  
Join Date: Jun 2004
Posts: 192
 

Default

Hi again Carrie, I had some more time to try and play around with it, but i couldn't get it to work. I am using version 3.58. Any other suggestions? Thanks
__________________
xcart v3.5.8 (Unix)
and
xcart v4.0.13
Reply With Quote
  #12  
Old 06-18-2004, 03:58 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

Post your updated code again. I tried this in I think 3.5.5 (maybe 6).

Silly question, but you are replacing the dialog.tpl and skin1.css in skin1 directory, not in skin1_original, right?

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #13  
Old 06-18-2004, 07:31 AM
 
magriggs magriggs is offline
 

Member
  
Join Date: May 2004
Location: London, United Kingdom
Posts: 12
 

Default templates_c

The old version is probably still in the templates_c directory. Delete everything in there.

When I'm developing I always go in to to Smarty.Class.PHP and set "var $force_compile = true;" which forces the templates_c directory to be rebuilt every time.
Reply With Quote
  #14  
Old 06-18-2004, 08:38 AM
 
Ryano Ryano is offline
 

Senior Member
  
Join Date: Jun 2004
Posts: 192
 

Default

Hi Carrie, that is a good question...I feel like an idiot since I'm not sure what the difference is. lol But I think i'm replacing them in the right directories. They are the ones that appear immediately in front of me when I click on "Edit Templates" within the Admin section. Hope that makes sense.

Here is the updated code for my dialog.tpl
Code:
{* $Id: dialog.tpl,v 1.15 2003/11/14 07:28:30 svowl Exp $ *} <TABLE border=0 cellPadding=0 cellSpacing=0 {$extra}> <TR> <TD height=15 {if $title eq $lng.lbl_featured_products } class=NewDialogTitle {else} class=DialogTitle {/if}background="{$ImagesDir}/dialog_bg_n.gif" valign=bottom>{$title}</TD> </TR> <TR><TD class=DialogBorder><TABLE border=0 cellPadding=10 cellSpacing=1 width="100%"> <TR><TD class=DialogBox>{$content} </TD></TR> </TABLE></TD></TR> </TABLE>

Here is a section of the skin1.css
Code:
.CategoriesList { FONT-SIZE: 12px; FONT-WEIGHT: bold; } .NewDialogTitle { BACKGROUND-COLOR: #000000; COLOR: #ff0000; FONT: bold 15px; } .DialogBox { BACKGROUND-COLOR: #FFFFFF; }
Thanks again!
__________________
xcart v3.5.8 (Unix)
and
xcart v4.0.13
Reply With Quote
  #15  
Old 06-18-2004, 01:33 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

You must be missing something simple because I copied and pasted the code you gave me into my stuff and it works on my end. And you editing them directly in the Admin should be changing the correct files.

Have you tried clearing your template cache? You can do this on the summary page in the Admin side of the store.

Also make sure this lable still exists in your languages area:
lbl_featured_products

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #16  
Old 06-18-2004, 01:38 PM
 
Ryano Ryano is offline
 

Senior Member
  
Join Date: Jun 2004
Posts: 192
 

Default

I checked and the lbl_featured_products does exist. I haven't tried clearing the template cache yet...I will try that. Is there any harm in doing so and will I lose any necessary data? Thanks again!
__________________
xcart v3.5.8 (Unix)
and
xcart v4.0.13
Reply With Quote
  #17  
Old 06-18-2004, 01:40 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

I don't think there is any harm. They just will have to recompile again upon the next view. It's just to help speed up viewing of X-cart.

I usually don't have to do that when I change things around, but some claim they do.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #18  
Old 06-18-2004, 01:42 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

Post, or PM me your store address if that doesn't work and maybe I can see what's wrong.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #19  
Old 06-18-2004, 01:47 PM
 
Ryano Ryano is offline
 

Senior Member
  
Join Date: Jun 2004
Posts: 192
 

Default

I cleared the Cache, but still nothing. I just sent you a pm.
__________________
xcart v3.5.8 (Unix)
and
xcart v4.0.13
Reply With Quote
  #20  
Old 06-18-2004, 01:53 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

I looked at your site....Let me see featured.tpl now

Please..

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 07:40 AM.

   

 
X-Cart forums © 2001-2020