I have a plugin to handle a portion of my application. The plugin
renders a view, but uses my default layout. The problem is that all my
links in the layout (which don't have anything to do with the plugin)
all get the plugin name prefixed to them. For example:

Regular link: http://domain.com/regularlink
In plugin view: http://domain.com/plugin_name/regularlink

I'm using $html->link() to create all my links and I know that you can
add 'plugin' => null to disable that routing behavior but it seems a
bit counter-intuitive to have to do that with every non-plugin link in
a layout just so you can use plugins.

Is there a way to set the baseUrl or somehow remove that prefix form
all links unless they explicitly have the 'plugin' => 'plugin_name'
key/value in the url array()?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to