Posts: 84
Threads: 17
Joined: Mar 2010
I would like to insert a new page in the get-simple menu through my plugin.Can I do this?how?is there a function?
Posts: 972
Threads: 27
Joined: Aug 2009
There is a
filter that hasn’t been added to the documentation yet called “menuitemsâ€Â. But that’s all. It also won’t apply anything to menus that don’t use get_navigation.
The menu is made to display pages. Of course you can make your plugin add a page by putting a XML-file inside the pages folder.
Posts: 84
Threads: 17
Joined: Mar 2010
ZegnÃ¥t Wrote:There is a filter that hasn’t been added to the documentation yet called “menuitemsâ€Â. But that’s all. It also won’t apply anything to menus that don’t use get_navigation.
The menu is made to display pages. Of course you can make your plugin add a page by putting a XML-file inside the pages folder.
how i do this?My topic is old,in this time is there a new method?I see squareit image gallery plugin,the author use a personal plugin called loadtab but i don't understand how he add the tab,however i find a generic mode.Can somebody help me?Is more important because i have developed a guestbook plugin but i can't add to tabs the page to manage this guestbook.
Posts: 84
Threads: 17
Joined: Mar 2010
Posts: 84
Threads: 17
Joined: Mar 2010
how the nav-tab hook works? please help me
Posts: 2,928
Threads: 195
Joined: Feb 2011
2011-03-11, 17:40:54
(This post was last modified: 2011-03-11, 17:45:25 by Tuliptani.)
When I read the info at the top of squareit-loadtab.php:
Quote: Name: Admin Tab Loader
Description: Allows plugins to create admin tabs and use full content canvas and side bar.
Version: 1.0.0
Author: Julian Castaneda (Square IT Solutions)
Author URI: http://www.squareitsol.com/
I understand that this program is doing exactly what you need
as there is no License information, ask Julian whether you can use it or not
you can check how the image-gallery uses that loadtab and try to write a similar function or ask somebody to write a plugin for you (I cannot program that much unfortunately )
I think you could have checked that in the time since your first post ;=)
Posts: 84
Threads: 17
Joined: Mar 2010
Connie Wrote:When I read the info at the top of squareit-loadtab.php:
Quote: Name: Admin Tab Loader
Description: Allows plugins to create admin tabs and use full content canvas and side bar.
Version: 1.0.0
Author: Julian Castaneda (Square IT Solutions)
Author URI: http://www.squareitsol.com/
I understand that this program is doing exactly what you need
as there is no License information, ask Julian whether you can use it or not
you can check how the image-gallery uses that loadtab and try to write a similar function or ask somebody to write a plugin for you (I cannot program that much unfortunately )
I think you could have checked that in the time since your first post ;=)
I will ask he if i can use it but is there another method to add a new nav tab?In the wiki there is nav-tab hook,how can i use it?
Posts: 84
Threads: 17
Joined: Mar 2010
i solved the problem,julian has replied to me.