solved How to create a tab on the admin skin

Nmaster88
Nmaster88
@nmaster88
9 years ago
94 posts
Does anyone kmows where i can start to do that?
I want to create a tab videos, where i can put the ids for the videos to be used on a template.
I want to put that tab next to Global Config, Style, Templates, etc in the admin settings of my skin.
(I only found a way to do it inside Global Config tab, i want outside)

Thanks!
updated by @nmaster88: 03/18/16 10:09:58PM
brian
@brian
9 years ago
10,148 posts
Here's why you want to do:

1) Clone the skin if you have not yet
2) edit the skins/SkinName/config.php file - you'll see how config options are added - copy an existing one and give it a unique "name" field.
3) run the integrity check
4) you should now see the new option in the skin global config
5) Make sure you are in "developer mode" (from the developer module) and click on the "help" button to the right of your new config option - in the help drop down you will see the "template variable" that you will use in your templates.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Nmaster88
Nmaster88
@nmaster88
9 years ago
94 posts
Yes, i was trying to do something different but it has to be that way!
Thanks.

Tags