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 |