| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
news.tpl help needed | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
I have added the following code into my home.tpl in hopes of makeins news only show up on the main page, and not sub pages...
{if $location eq "" }{include file="news.tpl"}{/if} Well, this worked like 90% of the time, every page (except for the front page) the news is gone, except for the shopping cart, it comes back. Any ideas? |
|||||||
|
#2
|
|||||||
|
|||||||
|
Code:
home_main.tpl is a good pointer for this kind of thing hth
__________________
ex x-cart guru |
|||||||
|
#3
|
|||||||
|
|||||||
|
It would be sooo good if just make news tpl catagorywise.
Do ya think this will work if catagory ----- include "news1.tpl and just go up. But what should I enter where it says catagory " " , Catagory name or Number? Thanks. |
|||||||
|
#4
|
|||||||
|
|||||||
|
{if $cat eq "123"}
{/if}
__________________
ex x-cart guru |
|||||||
|
#5
|
|||||||
|
|||||||
|
Great. done. Thanks.
I will add up some more in home_main.tpl Thanks. |
|||||||
|
#6
|
|||||||
|
|||||||
|
forgot, I have to xcart folders in http and https. I use ssl to accept payments only. Do I really need to make changes in xcart folder which is in https for whatever templates I added in xcart folder which is in http.
|
|||||||
|
#7
|
|||||||
|
|||||||
|
you have that posted in another thread - will stick to the topic.
__________________
ex x-cart guru |
|||||||
|
#8
|
|||||||
|
|||||||
|
ok
|
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||