![]() ![]() If you want to have more control on the layout, use DIV and SPAN with CSS styles, e.g. Since JsRender template tags use tags inside the selected text is literal "field", it is a placeholder to be replaced by actual field names in the table.Įxample 1 - Custom Template in Add/Edit/Search/View page or Extended Search in List page ![]() To let you create your Custom Templates easily, PHPMaker supports the following Custom Template Tags. The customizable regions are highlighted as follows:Ĭustom Template also supports Summary Report (but not Crosstab Report): Your Custom Template can make use of its features to display the field values.Ĭ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 client side template is further 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. If a Custom Template is provided, PHPMaker splits the original code in many small client side templates enclosed by tags so it is possible to re-assemble HTML from the small client side templates by JavaScript based on your provided Custom Template. The following file is the latest template file. Note Custom Templates do NOT support Internet Explorer. Template file is the zip file from which PHPMaker retrieves the source code for the generation process. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |