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

Embedded static page content on welcome page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-24-2010, 01:17 PM
 
david@fullOM david@fullOM is offline
 

Newbie
  
Join Date: Mar 2010
Posts: 6
 

Default Embedded static page content on welcome page

Hi,
Has anyone any idea of how to display the content of a static page into welcome.tpl? The idea is that my client will be able to edit it through the admin in static pages.

I know that this is content management but as this is the only key page on the site where the client needs to edit content (and through the wysiwyg editor) I thought this might be a good way, although I've no real idea as to how to do it.

If anyone knows or can suggest some alternative (apart from installing a full CMS module), I'd be very grateful and interested.

Thanks a lot.
__________________
X-Cart Gold 4.3.1
Reply With Quote
  #2  
Old 07-24-2010, 01:21 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Embedded static page content on welcome page

could just edit the welcome text language variable via the admin section and use the wysiwyg that way.
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
david@fullOM (07-24-2010)
  #3  
Old 07-24-2010, 01:28 PM
 
david@fullOM david@fullOM is offline
 

Newbie
  
Join Date: Mar 2010
Posts: 6
 

Default Re: Embedded static page content on welcome page

That's brilliant. My clients usually want a good deal of front end customisation that they can edit and that opens up a new world for client updating in many areas of a shop.

Thanks a lot,
David
__________________
X-Cart Gold 4.3.1
Reply With Quote
  #4  
Old 07-24-2010, 02:39 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Embedded static page content on welcome page

Or, create a new static page, call the file welcome.html

Then in skin1/customer/main/welcome.tpl
Code:
{include file="./pages/en/welcome.html"}
__________________
xcartmods.co.uk
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 05:10 AM.

   

 
X-Cart forums © 2001-2020