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

dialogue box and general page backgrounds

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-02-2006, 01:48 PM
 
dprice.sf dprice.sf is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 66
 

Default dialogue box and general page backgrounds

I'm trying to make changes to the dialogue or text box which is generated when a static embedded page is created and where the home page text is.

i presume this can be done in the css and in one or more of the template files, but can't see which they are.
__________________
Version 4.0.14
Reply With Quote
  #2  
Old 02-02-2006, 01:52 PM
 
balinor balinor is offline
 

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

Default

Open up the site in Webmaster Mode and you can edit the welcome text on the fly and find out which template is which quite quickly

Static pages is customer/main/pages.tpl and home page text is customer/main/welcome.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-02-2006, 01:57 PM
 
dprice.sf dprice.sf is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 66
 

Default

those tpl files are all smarty - no attributes to change

I'm trying to change the background of the text by including a background image, altering the border around the page text and removing the table color - which seems to default to white.
__________________
Version 4.0.14
Reply With Quote
  #4  
Old 02-02-2006, 01:59 PM
 
balinor balinor is offline
 

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

Default

That's because they use the default dialog.tpl and it's associated styles. If you want those pages to be unique, you will need to create a copy of dialog.tpl and its styles, or just add some custom formatting IN the templates I mentioned.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-09-2006, 06:18 PM
 
dprice.sf dprice.sf is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 66
 

Default

I've set my css for DialogBox to the following

Code:
.DialogBox { background: url("{$ImagesDir}/dialogue_bk.gif") fixed center no-repeat;

The image is a gif that is a transparant screen.

Trouble is its not showing up in my diologue boxes. Theres no background at all.

Ideally, this background image is the background of my dialogue boxes. which is an embedded table that will show thru to another background image.

End result would look like this example.

http://yafah.mikanhandbags.com/homepage.html
__________________
Version 4.0.14
Reply With Quote
  #6  
Old 03-09-2006, 11:13 PM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default

If that piece of code is in the skin.css file then it can't interpret the smarty code {$ImagesDir}. In my css file I have these types of references:

Code:
url('images/item_foot.gif')

which point to skin1/images.

Dan
__________________
4.4.2

and

4.6.1
Reply With Quote
  #7  
Old 03-09-2006, 11:16 PM
 
dprice.sf dprice.sf is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 66
 

Default

I also had to change my code in the css to images/ to get it to work
__________________
Version 4.0.14
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 08:07 PM.

   

 
X-Cart forums © 2001-2020