Web Text
This article is a stub. This means that more information should be added to the article so it can become more useful. |
Web Text is a configuration page in the admin area that allows a store owner to configure the text on the store's web pages. Web Text does not need to be configured at all, but for 100% integration with a site's non-store pages, configurable fields within Web Text can be used to add HTML, javascript, or anything else to a page (including Web Text Magic Words). In most cases, NeuCart support is able to configure Web Text for a store, instead of the store owner needing to know any HTML.
|
Configuration fields
Like most configuration pages, Web Text is a standard Table View/Form View admin page. Unlike most configuration pages, however, Web Text does not open to the Table View list of records. Since most store owners only ever configure the default language for Web Text, the page starts on the Form View for the default language instead of showing the list of all languages.
(to be completed)
Page layout
This is a general overview of the layout of a NeuCart store's HTML. A page is comprised of static text (like the javascript file references) and also the fields that are configured in Web Text. The configured fields are shown in color and/or with [] characters.
[doctype] <html [xmlns] [html tag]> <head> [base tag] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The Page Title</title> <[meta tags and/or product meta tags]> <canonical name from product or category> <link rel="stylesheet" href="assets/css/thickbox.css"/> <link rel="stylesheet" href="assets/css/style.css" (or style_m.css on mobile) /> if mobile and web text mobile lock is enabled: <meta name="viewport" content="user-scalable=yes, width=device-width, initial-scale=1" /> [stylesheet references] <script type="text/javascript" src="custom/custom_js.js"></script> <script type="text/javascript" src="assets/js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="assets/js/jquery.ui.widget.js"></script> <script type="text/javascript" src="assets/js/jquery.ui.mouse.js"></script> <script type="text/javascript" src="assets/js/jquery-ui-1.8.16.custom.min.js"></script> <script type="text/javascript" src="assets/js/jquery.ui.draggable.js"></script> <script type="text/javascript" src="assets/js/jquery.ui.droppable.js"></script> <script type="text/javascript" src="assets/js/neu-ajaxjs.php"></script> <script type="text/javascript" src="assets/js/neu-common.js"></script> <script type="text/javascript" src="assets/js/neu-digiorders.php"></script> <script type="text/javascript" src="assets/js/search-autocomplete.php"></script> <script type="text/javascript" src="assets/js/thickbox-compressed.js"></script> <script type="text/javascript"> var neucart_currency_symbol = "$"; var ... ((other javascript needed by page)) </script> [tracking code and/or javscript] </head> <body [body tag attributes]> [before header text] <div id="thewholething"> [header text] <div id="searchbar"> </div> [after search bar] <div id="itemsAndCart"> <div id="item_area"> </div> <div id="shoppingcart"> [above cart html] ((the shopping cart)) [below cart html] </div> </div> [before powered by] <div id="poweredby"></div> [after powered by] </div> <div id="footer"> [footer text] <div id="links"> </div> [below footer links text] </div> [after footer text] </body> </html>