AShop V User's Guide Page 8

  • Download
  • Add to my manuals
  • Print
  • Page
    / 27
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 7
AShop V Design Guide8
AShop Software © Copyright 2011
Note: The templates must use paths relative to the root folder of your AShop, not the templates folder. If
you design your templates while keeping them in the templates folder of a local copy of AShop you may
need to remove "../" on image src parameters, link and CSS href parameters and any other code that
refers to a local file, before publishing and using the templates. It might be easier to just move the
templates up to the top folder of your site and then put them back in the templates folder when you are
done designing them.
AShop is designed and tested with the doctype tag set to the following:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.
org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
It is recommended that you start your templates with that tag since using other doctypes can give
unexpected results. The doctype tag should be placed at the top of the html source code of your page.
2.1.2 Placeholder Codes
In addition to the start and end tags you will also need to add some code to make the templates use the
AShop CSS file. Without this the layout and design elements of your AShop will not be activated and the
shopping cart will be presented as unformatted text. Add the following line to the head tag of your
templates to use the dynamic CSS file:
<link rel="stylesheet" href="<!-- AShopcss -->" type="text/css" />
Page view 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 26 27

Comments to this Manuals

No comments