I'm trying to build a cms that works a lot with plugins. Now I need to
compose a few menu's which are filled with links to my plugins. Those
links also need to be provided by all my plugins. So my question is,
how do I get info from all my plugins? It would be nice if I could do
it like this:
[CODE]/* /plugins/blog/blog_app_controller.php */
<?php
class BlogAppController extends AppController {
var $name = 'Blog';
var $menuLinks = array(
'Blog' => array('plugin' => 'Blog', 'controller' =>
'blog', 'action' => 'index'),
);
var $adminLinks = array(
'Blog Settings' => array('plugin' => 'Blog', 'controller'
=> 'blog', 'action' => 'settings', 'admin' => true),
);
}
?>[/CODE]
of course, the admin-links will have the admin-routing, so that would
be '/admin/blog/settings'
Could anyone help me?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---