| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Welcome Category Image | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
I want to add an image in each category main page. I tried placing html code into the category description but I had a large blank space between the header and my table with the images. How can I fix this separation? or if there any better way to do this. Thanks Mike |
|||||||
#2
|
|||||||
|
|||||||
![]() X-Cart replaces returns with
tags by default in the category description. In order to get html to work properly, open up subcategories.tpl and replace this: Code:
with this: Code:
That should do the trick ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Quote:
Works great, thank you very much for your help. http://paint-store.net/store/home.php?cat=1 Do you know how to delete the navigation text above the table? Please see the link. Thanks |
|||||||
#4
|
|||||||
|
|||||||
![]() That is in home.tpl, it is location.tpl. Just remove the include or comment it out.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Quote:
WOW your are the man. ![]() The last one. How can I delete the welcome text on home xcart ? Thanks Mike |
|||||||
#6
|
|||||||
|
|||||||
![]() Ok, but I start charging after this one
![]() Easiest way is to just open up Languages in your admin menu and search for txt_welcome and put in your own content or clear it completely. You can also have a look at what is in the welcome template at customer/main/welcome.tpl.[/code]
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||||
|
|||||||||
![]() I have tried the codes but it didnt work, could you please help me as i wan the same to put html and jave scripts in categories and sbucategories text box.
Thanks
__________________
X-Cart Gold 4.3.2 X-Cart Gold 4.4.1 Unix High Quality CCTV DVRs & Cameras http://www.eaglemobiles.co.uk/CCTV |
|||||||||
#8
|
|||||||
|
|||||||
![]() If you are using javascript, you need to surround it with {literal} tags:
{literal}code{/literal}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||||
|
|||||||||
![]() Thanks for reply Balinor, below is my code when I put this code and clcik on save I get a blank box nothing saving in category text area.
{literal} <script Langauge="JavaScript1.2"> <!--// function openService(){ var screenWidth = 0; var screenHeight= 0; if (document.all || document.layers) { screenWidth = screen.Width; screenHeight = screen.Height; } var popupWinWidth = 600; var popupWinHeight = 600; var popupTopPosition = (screenHeight-popupWinHeight)/2; var popupLeftPosition = (screenWidth-popupWinWidth)/2; window.open('http://www.three.co.uk/microsites/Asset/3/redirectService.htm','popup','width=' + popupWinWidth + ',height='+ popupWinHeight +',top=' + popupTopPosition + ',left=' + popupLeftPosition + 'toolbar=no,location=no,status=no,menubar=no,scrol lbars=yes,resizable=no'); } //--> </script> http://www.three.co.uk/microsites/Asset/3/servicebutton.gif {/literal}
__________________
X-Cart Gold 4.3.2 X-Cart Gold 4.4.1 Unix High Quality CCTV DVRs & Cameras http://www.eaglemobiles.co.uk/CCTV |
|||||||||
#10
|
|||||||
|
|||||||
![]() Literal tags only around the javascript....
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|