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

How do you remove the dialog box from static pages?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-07-2005, 11:38 PM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default How do you remove the dialog box from static pages?

Whenever I make a root level static page it puts all of the infomation in the dialog box. Does anyone know how to avoid this? I can't figure it out.
Reply With Quote
  #2  
Old 04-08-2005, 04:39 AM
 
balinor balinor is offline
 

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

Default

You sure you are using the root static pages and not the embedded static pages? Root pages shouldn't have a dialog box around them.....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-08-2005, 09:21 AM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default

Hi. I'm sorry, they are the embedded pages. Thanks.
Reply With Quote
  #4  
Old 04-08-2005, 09:54 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

you'll need to make a new dialog_new.tpl file, with:

Code:
{title} {content}

And change the pages.tpl to use the new dialog_new.tpl instead of dialog.tpl in the include towards the bottom.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #5  
Old 04-08-2005, 12:53 PM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default

Hi. It worked well. I had to change it to

Code:
{$title} {$content}

I think that is what you meant. I just wanted to clarify in case anyone else needs to do this. Also the 'pages.tpl' is in customer/main.

Thanks a lot.
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 12:15 AM.

   

 
X-Cart forums © 2001-2020