Jump to content

KVS 3.9.1 implementation


Tech Support

Recommended Posts

  • Replies 55
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

We added one small feature post factum to the 3.9.1.

 

In admin panel if needed you can now show your custom HTML code in header black bar, main menu, on top of main area and at the bottom of main area. This can be used for example to supply any specific instructions to your employees. Here is an example a custom text displayed on video adding / editing:

 

custom_ap_add.thumb.png.5f9d52330b6269aca4c132c453d257d0.png

 

custom_ap_change.thumb.png.cffeafd1561858a331f942d7fc39c001.png

 

In order to add these customizations you can create the following template files:

/admin/template/ap_custom_header.tpl
/admin/template/ap_custom_menu.tpl
/admin/template/ap_custom_main.tpl
/admin/template/ap_custom_footer.tpl

 

These files won't be modified by any future update, so provide safe way to inject some customization in admin panel.

 

For the above example here is sample code used. It affects only videos section:

{{if $page_name=='videos.php'}}
   {{if $smarty.get.action=='add_new'}}
       <div style="padding: 10px;">
           This is a custom instruction for adding videos
       </div>
   {{elseif $smarty.get.action=='change'}}
       <div style="padding: 10px;">
           This is a custom instruction for modifying videos
       </div>
   {{/if}}
{{/if}}

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...