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

not using the WYSIWYG editor?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-15-2012, 03:25 PM
 
islndbangles islndbangles is offline
 

Member
  
Join Date: Mar 2012
Posts: 27
 

Default not using the WYSIWYG editor?

I'm trying to duplicate
http://fixmysite.us/island_bangles/about.php
using the x-cart thing to create static pages
so I created an empty page and in its content section, i went to the source and simply pasted in..
<img src="/island_bangles/images/kate-purdy-photo.jpg" alt="kate purdy" style="float:right">
<p>
Thanks to my customers who have supported my jewelry making over the years! Enjoy your visit and feel free to contact me if you have any questions. Making jewelry makes me happy. I hope my jewelry makes you happy too.
</p><p>
Each piece of jewelry is designed and created by me. Trained in fine arts, jewelry and graphic design, I strive to combine classic design principles with new ways of approaching and creating body adornments. I am inspired by elements from nature, images from myth and legend and jewelry of bygone eras. My jewelry features a large cast of characters - dragonflies, goddesses, mermaids, lizards and things that grow.I like to think of my jewelry as "modern antiques" - fresh and unusual, but with a timeless quality, as if they might have been discovered again from some past time.
</p><p>
I began designing jewelry as a jewelry and art major at the University of Illinois. I left my jewelry making behind as I joined the working world and went on to have a successful career as an award-winning graphic designer. After moving to southern California, I came back to my "roots" and began designing jewelry again and Island Bangles was born. Several of my beading designs have been featured in leading beading magazines and books, such as Beadstyle Magazine, Beadstyle books and Beadstar Magazine. I am a featured artist in the 2011 issue of Bead Star Magazine, placing first in two of the eight design categories.
</p><p>
I sell my handmade jewelry at select arts and crafts shows in southern California, Mary Buckman Studio in the Ray Street gallery district of San Diego, the Coronado Museum Store and Art & Soul Gallery in Encinitas, California.
</p>
<h3>Kate Purdy, Island Bangles</h3>
<p>
<strong>Sign up for Promos and Specials on my <a href="http://www.IslandBangles.com/email_list.php">Mailing List</a>.</strong>
</p><p>
<strong>Visit <a href="http://www.facebook.com/IslandBangles">Island Bangles</a> on Facebook!</strong>
</p>
<img src="/island_bangles/images/about1.jpg" alt="test">
<img src="/island_bangles/images/about2.jpg" alt="test">
<img src="/island_bangles/images/about3.jpg" alt="test">
<img src="/island_bangles/images/about4.jpg" alt="test">
<img src="/island_bangles/images/about5.jpg" alt="test">
</div>
<aside>
{php} include('island_bangles/inc/aside.php'); {/php}
</aside>

and this is the result,
http://fixmysite.us/island_bangles/xcart/pages.php?pageid=7
I notice that lots of <p>...</p>are inserted and the smart tag for php wasn't recognized. Can you see what i did wrong, and is there a way to FTP the page and bypass the WYSIWYG editor for building pages?
the pages content can be found here,
http://fixmysite.us/island_bangles/xcart/skin/common_files/pages/en/about
__________________
Version 4.4.4
Reply With Quote
  #2  
Old 03-15-2012, 08:10 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: not using the WYSIWYG editor?

Of course you can use FTP to edit files. Static pages are located in skin/common_files/pages/your_site_language
Actually avoid using the built-in editors - they insert tons of unnecessary code and just bloat the page. Use simply text editor with FTP
If you want to use smarty code in static pages make sure you check on the "parse smarty code..." setting on static pages page
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 03-15-2012, 08:59 PM
 
islndbangles islndbangles is offline
 

Member
  
Join Date: Mar 2012
Posts: 27
 

Default Re: not using the WYSIWYG editor?

ok, I uploaded the about.html to that location,
http://fixmysite.us/island_bangles/xcart/skin/common_files/pages/en/about.html
why aren't the smarty tags recognized |(the parse thing is checked)
http://fixmysite.us/island_bangles/xcart/pages.php?pageid=8&mode=preview
__________________
Version 4.4.4
Reply With Quote
  #4  
Old 03-16-2012, 08:16 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: not using the WYSIWYG editor?

You can't expect that this

http://fixmysite.us/island_bangles/xcart/skin/common_files/pages/en/about.html

will parse smarty tags - it is a direct call of the html file and not going through XC. You have to browse to that page via the store links.
Also no need to post links to your admin area as noone can follow them without login
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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 04:00 PM.

   

 
X-Cart forums © 2001-2020