Loading...
Skip to main content
Navigation and related functionality and content
Features
Requirements
Download
Install
Backup
Upgrade
Help
FAQs
Need Assistance ? Join-us live this Thursday, click for info !
Related content
Find
History: PluginAppFrame
View published page
Source of version: 17
(current)
! Plugin App Frame Use this ((wiki plugin)), introduced in ((Tiki9)), to create a frame to assemble custom applications in. Components in the frame can be various wiki pages and modules with associated display and execution logic. This is useful if you want your Tiki to feel more like a custom-made application instead of a CMS with custom features. See ((dev:Framework)) AppFrame uses its own set of plugins to define the structure of the frame. The plugins can be nested to achieve the desired result. The PluginAppframe was built for the CartoGraf profile. Some features may be missing for your specific needs. !! Structure plugins * COLUMN: Divides the space into columns. The 'width' parameter indicates the percentage of the space to use. * TAB: Creates a tabbed interface. The 'label' parameter indicates the name displayed on the tab. * OVERLAY: Creates an overlay above the app frame at the desired position. The position can be specified in pixels relative to top, left, bottom or right. * ANCHOR: Creates a sliding panel at the right of the section. The panel is initially displayed as an icon, specified by a parameter of the same name and a label parameter allows a title tag to be set. * COND: Determines if the content should be displayed based on a given condition (empty/notempty), useful in conjunction with arg variables. * HIDDEN: allows a section of the frame to remian hidden !! Content plugins * PAGE: Includes a wiki page * TEMPLATE: Executes a smarty template * MODULE: Executes any module * MAPCONTROL: allows control tools to be added to a map with the following options: **pan_zoom **mode_enable **select_feature **modify_feature **draw_polygon **draw_path **reset_zoom !! Usage {CODE(wrap="1" colors="tiki")} {APPFRAME(min= , hideleft= , hideright= , fullpage= )} Application layout {APPFRAME} {CODE} {REMARKSBOX(type="note" title="Note")}''Application layout'' may only contain the above listed ''Structure plugins'' and ''Content plugins''. IMPORTANT: normal plugins ===will not be executed===.{REMARKSBOX} !!!Structure plugin examples {CODE(wrap="1" colors="tiki")} {COLUMN(width=100%)} Contents of the column ie more Structure & Content plugins {COLUMN} {CODE} {CODE(wrap="1" colors="tiki")} {OVERLAY(top=375 left=12)} Contents of the overlay ie more Structure & Content plugins {OVERLAY} {CODE} {CODE(wrap="1" colors="tiki")} {ANCHOR(icon="path/to/image.jpg" label=title_text)} Contents of the anchor ie typically template & module plugins {ANCHOR} {CODE} {CODE(wrap="1" colors="tiki")} {HIDDEN()} Contents of the hidden section ie typically module plugins {HIDDEN} {CODE} !! Parameters {pluginmanager plugin=appframe} !! Examples !!!Cartograf profile * http://profiles.tiki.org/Cartograf !!!Help enter tracker 1 items with a view on tracker 2 items Create the page with a view {CODE(caption="filter on tracker 1" wrap="1" colors="tiki")}{trackerfilter filters="1" action="Search" trackerId="1" }{CODE} Create the appFrame page {CODE(caption="appframe page" wrap="1" colors="tiki")}{APPFRAME(hideleft="y" hideright="y" fullpage="y" absolute="n" fullscreen="y")} {page name="filter on tracker 1" }{APPFRAME}{CODE} Create the general page {CODE(caption="Fill tracker 2 with a view on tracker 1" wrap="1" colors="tiki")}!Search tracker 1 {IFRAME(name="Search tracker 1" title="Search" width="100%" height="300" frameborder="0" scrolling="yes")}appframe page{IFRAME} !!!Fill tracker 2 {tracker trackerId="2" }{CODE}
Related content