Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Changing static pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-26-2006, 08:16 AM
 
peter c peter c is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 30
 

Default Changing static pages

is it possible to have static pages load into say the welcome.tpl instead of the dialog.tpl. Or is there another way to present a page that will display 100% of the browser width. Thanks.
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix)
Reply With Quote
  #2  
Old 12-26-2006, 08:58 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Changing static pages

The static page width should default to the width set for your site.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-26-2006, 09:11 AM
 
peter c peter c is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 30
 

Default Re: Changing static pages

it does in FF2.0 but not in IE7. I did test and just put this code in:

Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

And it still only displayed at approx 75%. I also notice this at login. at the home.php in both FF & IE7 it is 100%. when you login is seems to narrow both sides of the page so it shows smaller and not 100%.
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix)
Reply With Quote
  #4  
Old 12-26-2006, 09:35 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Changing static pages

Are we talking embedded static pages or not?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-26-2006, 10:54 AM
 
peter c peter c is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 30
 

Default Re: Changing static pages

yes. embedded not root.
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix)
Reply With Quote
  #6  
Old 12-26-2006, 10:56 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Changing static pages

Remember you can't have html, head, title or body tags in an embedded static page, as those are pulled from customer/home.tpl. The embedded page should just have the html code itself.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 12-26-2006, 11:16 AM
 
peter c peter c is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 30
 

Default Re: Changing static pages

thanks balinor. what i cannot understand though, is how you are supposed to get a uniform site. do you have to design html pages for each link/section and call them via hyperlink?
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix)
Reply With Quote
  #8  
Old 12-26-2006, 11:19 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Changing static pages

Not sure I follow...if you use an embedded static page it simply fits into the site structure, which the header, side menus and footer wrapping around the content of the static page. You shouldn't have different widthis or looks at all, it should look the same as your category, product and home pages.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 12-26-2006, 11:21 AM
 
peter c peter c is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 30
 

Default Re: Changing static pages

if you give me 5 mins balinor, then i shall set some example at site so you can see. Thanks. peter
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix)
Reply With Quote
  #10  
Old 12-26-2006, 11:31 AM
 
peter c peter c is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 30
 

Default Re: Changing static pages

Balinor. i have just dropped a table & menu etc on page. There is a link states: press here. if you click that link will take you to another hurried page. you will see what i am reffering too in IE7 & FF. The url: http://opa.uk.com remember this is work in progress as i only got x-cart friday. Thank you.
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:14 AM.

   

 
X-Cart forums © 2001-2020