![]() To let you create your Custom Templates easily, PHPMaker supports the following Custom Template Tags. The customizable regions are highlighted as follows: (Note that JsRender is still in beta, if you use its features directly, be aware that there may be some breaking changes in the future.)Ĭustom Templates let you customize the layout of the fields originally placed in the main HTML table of the page, they cannot customize HTML outside those regions. The generated scripts only use its "template composition" feature to render HTML from other external templates, your Custom Template can however make use of its other features if you need to. The client side template is rendered by JsRender (see Third-Party Tools) which is a third-party JavaScript template engine optimized for high-performance pure string-based rendering. In other words, it is simply re-arrangement of existing HTML parts in browser.ĭuring script generation, PHPMaker converts your Custom Template to a client side template and outputs JavaScript to render the template. So it is possible to re-assemble HTML from the small client side templates by JavaScript based on your provided Custom Template. Since browsers do not know how to execute "text/html" scripts, they simply ignore it. A client side template is HTML code enclosed by and. If a Custom Template is provided, PHPMaker splits the original code in many small client side templates. If you want to customize the general layout of the generated site or customize something for all tables and all projects, you should customize the template zip file, see Customizing Template. Note: Do not confuse Custom Template (which is just a table level setting within a project) with customizing the template zip file. Custom Templates enable you to re-arrange the fields in your own way. one field per row in Add/Edit/Search/View page, or one record per row in List/Delete page. ![]() By default fields are presented in tabular form, e.g. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |