| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Changing static pages | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() View the source of that page...you'll see you have two <title> tags, two <body> tags, etc. Not sure where you have added that extra code, but you'll want to fix that first to see if that is the issue.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#12
|
|||||||
|
|||||||
![]() here is the source for the welcome.tpl:
Quote:
there is no body or title tag. here is the code for the head.tpl Quote:
The body tag has to be there to display the disclaimer popup. and the code for the home.tpl
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix) |
|||||||
#13
|
|||||||
|
|||||||
![]() part 2 coding to overcome 10000 character limit:
Home.tpl Quote:
Hope this helps. peter
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix) |
|||||||
#14
|
|||||||
|
|||||||
![]() Yes, there is your problem. You have a <head> tag and a <body> tag in head.tpl. Those should only be on customer/home.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#15
|
|||||||
|
|||||||
![]() removed those balinor, but still the same. totally different in IE7 & FF. At the simplest level. what is the correct way to set up your pages in x-cart so your site is uniform in all browsers. Thanks. peter
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix) |
|||||||
#16
|
|||||||
|
|||||||
![]() You need to fix the errors in your code and make the site W3C compliant. Right now you have 14 critical errors and 53 warnings. Start by fixing those and you'll stand a better chance of getting the site to display uniformly. By default, X-Cart is compliant...but the custom code you have added is really messing things up.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#17
|
|||||||
|
|||||||
![]() will re-install and start again. thanks very much for help.
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix) |
|||||||
#18
|
|||||||
|
|||||||
![]() Just remember that anything that is supposed to go in the <head> tag needs to be added to customer/home.tpl, not head.tpl. Run your code through a validator to make sure you are following the standards, and use css as much as you can (as opposed to tables). Keep your JavaScript called externally instead of adding it to the templates. Good luck!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#19
|
|||||||
|
|||||||
![]() cheers balinor.
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix) |
|||||||
#20
|
|||||||
|
|||||||
![]() Balinor. just follow on from yesterday. re-installed cart. still getting 33 validation errors with clean install.from w3. only using home.tpl for headtags etc. am i correct in assuming that any javascript that uses the head tag needs to be placed in the home.tpl? how does this relate onload commands etc where a body is needed? i have also placed all javascript in external js files, but cannot get them to display. code is fine if i run it direct from page, but not as external js file. Any ideas? Thanks. Peter
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix) |
|||||||
|
|||
X-Cart forums © 2001-2020
|