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

Need help on main page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-02-2004, 07:54 PM
 
ifalu ifalu is offline
 

Member
  
Join Date: Oct 2003
Posts: 28
 

Default Need help on main page

I have some info, that I will like it to appear only on the main page, I have done a search but I can't find any info.

If I add it in home.tpl, it appears on every page.

Ian Falu
x-cart gold
v 3.50
www.edigitale.com
Reply With Quote
  #2  
Old 01-02-2004, 08:20 PM
 
snorocket snorocket is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 403
 

Default welcome.tpl

if you put whatever you want to post in the welcome.tpl file it will show only on the front page, actually don't put the code into the welcome.tpl but the txt_welcome file located in the languages section, works great.
Reply With Quote
  #3  
Old 01-02-2004, 10:07 PM
 
ifalu ifalu is offline
 

Member
  
Join Date: Oct 2003
Posts: 28
 

Default

Yes but that shows above the featured products and not below!!
Reply With Quote
  #4  
Old 01-02-2004, 10:22 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

You could also add an extra language text variable in your admin panel, for example "txt_otherinfo" and assign the variable to your "welcome.tpl" file right under your featured products section:
{include file="customer/main/featured.tpl" f_products=$f_products}

add this:
{$lng.txt_otherinfo}

Or, just switch the position of the:
{$lng.txt_welcome}
to be right below the featured products section, if you prefer to have that info under your featured products section.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #5  
Old 01-02-2004, 10:38 PM
 
ifalu ifalu is offline
 

Member
  
Join Date: Oct 2003
Posts: 28
 

Default Gracias

Lo voy a intentar
Reply With Quote
  #6  
Old 01-02-2004, 11:42 PM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Veo que lo lograste, pero no sabia que hablabas espaц╠ol tambien.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #7  
Old 01-03-2004, 12:21 AM
 
ifalu ifalu is offline
 

Member
  
Join Date: Oct 2003
Posts: 28
 

Default

Soy de Puerto Rico aunque por ahora estoy en Wisconsin. Althought I don't know if the board have rules regarding language
Reply With Quote
  #8  
Old 01-03-2004, 07:52 AM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

Arriba los Latinos!

I havent heard of anything regarding the use of other languages up to the moment, but it might be better to speak in English since it is an International forum and other people can get help on the topic.

By the way, I see that you posted what looks to be like a RSS feed from that news site, and although I tried to see the look of your template system your site didnt allow it. That is what I want to do with my site, so I dont have people peeking in my templates, How do I lock it that way ?

I know it is with an .htaccess file, but not sure how to set it up...
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #9  
Old 07-15-2004, 10:41 AM
 
jpierry jpierry is offline
 

Member
  
Join Date: Jan 2004
Posts: 17
 

Default

yeah how do you do an RSS feed? Can someone either PM me or post it here?
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 09:23 PM.

   

 
X-Cart forums © 2001-2020