Osclass forums
Development => Plugins => Topic started by: Juan Ramón on July 13, 2012, 08:37:26 pm
-
Now it's easier to add menus and submenus. There's a page explaining this in the documentation: http://doc.osclass.org/Administrator_Menus
Plugin example:
http://dev.osclass.org/2012/07/17/admin-menu-example/
-
Thank you.
-
Hello,
Hope your day is going great.
Quick question about the link you posted: http://dev.osclass.org/2012/07/17/admin-menu-example/
It shows a "Download" button and suggests this is a plugin but when I click that button, a page opens saying "Not Found"?
I see at the other link it may be able to be done manualy but I'm lazy.... :P
Tom
-
Hi Tom,
I happen to have the zip that was available for download. I will attach it.
Jay
-
Jay,
You are everywhere, all the time and seem to have all the answers and I for one am so very glad for it.
Thank you
Tom
Now back to learning so I can get half as smart as you.....
-
Hope someone is still following this thread.
I finally got around to trying this. Works great and thank you for the posting. I've made a couple minor changes to please me.
See attached
Tom
-
please, how do i configure the facebook connect plugin?
-
What about v.3.2?
And in function “osc_add_admin_menu_page” there are two variables:
icon_url and position
Any idea of using it?
I don't find any documentation, and all my use attempts have been unsuccessful.
regards
-
Hi again, another question.
I'm trying to use the follow code:
osc_admin_menu_plugins(
'my plugin name',
osc_admin_render_plugin_url(osc_plugin_path(dirname(__FILE__)) . '/admin.php'),
'my_plugin_name_id',
'administrator'
);
(see file: captura-osc_admin_menu_plugins.jpg)
But the submenu doesn't appear, only Plugin Menu Item changes his position to the first position.
and this one:
osc_add_admin_submenu_page(
'Plugins',
'my plugin name',
osc_admin_render_plugin_url(osc_plugin_path(dirname(__FILE__)) . '/admin.php'),
'my_plugin_name_id',
'administrator'
);
(see file: captura-osc_add_admin_submenu_page.jpg)
Create a new menu item, without name, and create a Submenu.
this is a bug?
my Osclass versión is 3.2
regards
-
evidently easier just follow the instruction to add submenus and menus, thx
-
thanks for information
-
How do we add position, because when we add menu it appears to be in the first before the dashboard icon. how do we position in the middle