X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Need help on main page (https://forum.x-cart.com/showthread.php?t=5827)

ifalu 01-02-2004 07:54 PM

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

snorocket 01-02-2004 08:20 PM

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.

ifalu 01-02-2004 10:07 PM

Yes but that shows above the featured products and not below!!

leon 01-02-2004 10:22 PM

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.

ifalu 01-02-2004 10:38 PM

Gracias
 
Lo voy a intentar

leon 01-02-2004 11:42 PM

Veo que lo lograste, pero no sabia que hablabas espaц╠ol tambien. :D

ifalu 01-03-2004 12:21 AM

Soy de Puerto Rico aunque por ahora estoy en Wisconsin. Althought I don't know if the board have rules regarding language

leon 01-03-2004 07:52 AM

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...

jpierry 07-15-2004 10:41 AM

yeah how do you do an RSS feed? Can someone either PM me or post it here?


All times are GMT -8. The time now is 04:32 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.