Managing your business with anyPiece/WYSIWYG Web editor/Tag

List of tagEdit

As we can't really remember all the tag, we will try our best to update that tag that available for usage over here.

Master page onlyEdit

Content tagEdit

<!--ap type='content'/-->
  • Use by master page to replace the content with sub page

GeneralEdit

Web site titleEdit

<!--ap type='website_title'/-->

Page titleEdit

<!--ap type='page_title'/-->

Comment/remarkEdit

<!--ap type='comment'-->


<!--/ap:comment-->
  • This syntax is usually used by the developer to remark unwanted code during editing. Some of the most common area would be loading the jquery. As in anyPiece platform, jQuery is loaded up by default. If its double load, it will crash and kill the system. Please refer to the sample below.
<!--ap:comment--> 

<script type='text/javascript'>
    var ap_APIURL = "<!--ap type='api_serviceurl' /-->";
    var ap_APITOKEN = "<!--ap type='api_token' /-->";
    var ap_APIKEY = "<!--ap type='api_publickey' /-->";
    var ap_LOGINNAME = "<!--ap type='login_name' /-->";
    var ap_COMPANYID = "<!--ap type='companyid' /-->";
</script>

<script 
src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js">
</script>
<script 
src="http://cdnjs.cloudflare.com/ajax/libs/json2/20121008/json2.js">
</script>
<script 
src="http://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.2/jquery.cookie.min.js">
</script>

<script src="<!--ap type='weburl'/-->/script/ap_request.js"></script>
<script src="<!--ap type='weburl'/-->/script/ap_loginout.js"></script>
<script src="<!--ap type='weburl'/-->/script/ap_control.js"></script>

<!--/ap:comment-->