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

X-Cart X-Mas Lights

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #31  
Old 11-07-2005, 08:42 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Im using FF 1.0.7 and everything looks great to me on those sites.
Reply With Quote
  #32  
Old 11-07-2005, 09:44 AM
 
donavichi donavichi is offline
 

X-Adept
  
Join Date: Apr 2004
Location: United Kingdom
Posts: 697
 

Default

i am truly humbled by your critique TelaFirma!

__________________
Best regards,

Donavichi.
- - -

Website Copywriting || Web Design || FAQs || Home & Garden Blog
Reply With Quote
  #33  
Old 11-07-2005, 12:08 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Ok.. Ok.. so I took my happy pill this morning...
Reply With Quote
  #34  
Old 11-08-2005, 04:16 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

If anyone wants to easily snow up their logo, download the alienskin eyecandy nature photoshop plugin, its a 14 free trial and it does it nice n easy

see our site.
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #35  
Old 10-23-2010, 02:19 AM
  Phoenixone's Avatar 
Phoenixone Phoenixone is offline
 

Advanced Member
  
Join Date: Feb 2010
Location: Portugal
Posts: 38
 

Default Re: X-Cart X-Mas Lights

hey guys, im wondering if you could help me?

im currently using this mod and its working great but i want to add something else that builds onto this.

and it got me thinking if i can alter certain parts of the site design for these ocasions that would be great so for instance:

X-mas
Valentines day
Mothers day
fathers day
holloween

ect ect.

you get my point now i have tried to insert this code so that it calls up the specific graphic:

Code:
{if $smarty.now|date_format:"%m" > 10}<!--November countdown to x-mas --> <table align="left" background="{$ImagesDir}/head_linebg.gif" width="100%" style="background-repeat:no-repeat"> {else if $smarty.now|date_format:"%m" > 9} <table align="left" background="{$ImagesDir}/head_linebgstd.gif" width="100%" style="background-repeat:no-repeat"> {/if}

but if i decide to add more months to that it does not work?
is there a limit to the "else if" statement?

help would be great on this
__________________
PHP 5.2.11
MYSQL 5.0.45

WESH UK hosting

--- Add-ons -----
X-RMA
X-AOM
X-FancyCategories
X-Feature comparison

BCSE Request a Quote
BCSE Customer Testimonials
BCSE Advanced ratings and reviews
BCSE Customer reward points
BCSE Reward points refferal
BCSE Customer polls

Cart Labs - Tabs
Reply With Quote
  #36  
Old 10-24-2010, 12:32 AM
  Phoenixone's Avatar 
Phoenixone Phoenixone is offline
 

Advanced Member
  
Join Date: Feb 2010
Location: Portugal
Posts: 38
 

Default Re: X-Cart X-Mas Lights

ok correct me if im wrong but i think i have it:

Code:
{if $smarty.now|date_format:"%m" == 11} <!--November --> <span style="color:#00c000; margin-left:25px; font-family: Consolas; font-size:12px"><script language="JavaScript" src="{$SkinDir}/daystochristmas.js" type="text/javascript"></script></span> {else} <!--DEC --> {if $smarty.now|date_format:"%m" == 12} <span style="color:#00c000; margin-left:25px; font-family: Consolas; font-size:12px"><script language="JavaScript" src="{$SkinDir}/daystochristmas.js" type="text/javascript"></script></span> {else} <!--FEB --> {if $smarty.now|date_format:"%m" == 02} <span style="color:#00c000; margin-left:25px; font-family: Consolas; font-size:12px"> <script language="JavaScript" src="{$SkinDir}/daystochristmas.js" type="text/javascript"></script> </span> {else}<!--STANDARD --> <span style="margin-left:25px">{include file="today_newsbar.tpl"}</span> {/if} {/if} {/if}

i tried {else if} statements and that did not work as soon as 1 statement was correct it would show all data in the other if statements
__________________
PHP 5.2.11
MYSQL 5.0.45

WESH UK hosting

--- Add-ons -----
X-RMA
X-AOM
X-FancyCategories
X-Feature comparison

BCSE Request a Quote
BCSE Customer Testimonials
BCSE Advanced ratings and reviews
BCSE Customer reward points
BCSE Reward points refferal
BCSE Customer polls

Cart Labs - Tabs
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 02:35 PM.

   

 
X-Cart forums © 2001-2020