GUI templating

From KFMdoc
Jump to: navigation, search

Templating

bb theme
bb theme

It is possible to create your own layout. If there is a file called template.html, this file will be used for the layout of KFM. Elements that will be dynamically controlled by KFM for example are (selected by id):

 <div id="kfm_search_wrapper" style="padding:3px;"></div>
 <span id="cwd_display"></span>
 <span id="folder_info"></span>
 <span id="documents_loader"></span>
 <div id="kfm_directories"></div>
 <div id="documents_body"></div>
 <div id="kfm_upload_wrapper"> </div>
 

Links to admin tabs can be generated by using the tab name like:

<a href="{$setting.kfm_ufl}admin/index.php#My_tab">My admin plugin</a>

where spaces are replaced by underscores

Personal tools