X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   not using the WYSIWYG editor? (https://forum.x-cart.com/showthread.php?t=62984)

islndbangles 03-15-2012 03:25 PM

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

cflsystems 03-15-2012 08:10 PM

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

islndbangles 03-15-2012 08:59 PM

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

cflsystems 03-16-2012 08:16 AM

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


All times are GMT -8. The time now is 09:31 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.