| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How do I delete Newsletter from storefront, etc? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'd like to delete the newsletter from the storefront, but don't know how. I was easily able to remove gift certificates and a few others by making them inactive through Admin::Modules.
I wish to leave the out-of-the-box X-Cart alone if possible, and do not intend to change anything except the logos as explained in the manual. Besides, I may want a newsletter in the distant future (doubt it, but you never know). So all I'm trying to do is remove it from the storefront for now. I'm using the blue standard and unmodified template supplied with X-Cart. Any other suggestions are welcomed. I know very little about UNIX, ftp, HTML, PHP, and so forth so talk very slow.... I do know BASIC. I have the Gold Edition
__________________
v3.5.11 Live, X-AOM, Linux |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Admin => Edit Templates
Customer/home.tpl Edit this file. At the bottom you will see Code:
Change this to Code:
What you have done is changed this Smarty include (it is now a comment and not an actual element to be parsed) so that it won't add the news.tpl component to the site. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thank you very much!
I assume the (*.........*) works like a REM: command in BASIC.
__________________
v3.5.11 Live, X-AOM, Linux |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Exactly. You are changing the Smarty tag (anything in a .tpl file between { and } symbols is Smarty) so that it isn't recognised as such.
You'll also notice that the beginning of every .tpl file has the file information, version etc. It is also inside one of these tags. If it was not in a {* *} tag then it would be displayed in the store. They basically allow you to make "comments' through your code. Sorry for going overboard on the explanation, I'm just hoping it helps someone else down the line. |
|||||||||
#5
|
|||||||
|
|||||||
![]() This worked perfectly. Thanks again.
By the way, I like your site very much. I see what you mean by heavily modified. Your portal or first page looks great. I was thinking on doing something similar for my site, and after seeing yours my mind is made up! Very elegent. Any newbies like me reading this thread ought to have a look at what can be done, as this site is my favourite thus far.
__________________
v3.5.11 Live, X-AOM, Linux |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Thanks for the kind words.
The site is kind a mish-mash and was an evolution from a 3.3.3 store all the way to 3.4.14. Things like the categories menu are hardcoded because when I did them, I was unsure how to accomplish specific results with a dynamic catalog. Since you are planning on doing very little modification, perhaps wait until version 4.0 matures a bit (say 4.0.3) and look at migrating early. That is my plan except I will do a complete side-by-side build and then just switch my database at the last minute. My story is too customised to handle the change from 3.4 to 4.0. The feature set in version 4.0 is tremendous and by then you should be feeling confident enough to take anything on. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|