I am having an issue when developing my plugin to do with the differences in paths that Links creates when a user is setup for dynamic rather than static.
I can detect which they are using by looking at dynamic_pages.
The problem is I cannot safely use: $CFG->{build_root_url} when generating hyperlinks on dynamic pages. It wants to insert "page?" stuff.
Anyone come across this and have some suggestions?
Edit: Is there something I can enclose my statement in to force the build to this path literally... I mean the user has correctly specified the build_root_url. Say htttp://www.mysite.com/directory. And this would be great if when Links built the page, it just left it as that, as it does in a STATIC setup.
I prefer not to use dynamic_pages as a case statment if possible... better the same for each case!
http://www.iuni.com/...tware/web/index.html
Links Plugins
I can detect which they are using by looking at dynamic_pages.
The problem is I cannot safely use: $CFG->{build_root_url} when generating hyperlinks on dynamic pages. It wants to insert "page?" stuff.
Anyone come across this and have some suggestions?
Edit: Is there something I can enclose my statement in to force the build to this path literally... I mean the user has correctly specified the build_root_url. Say htttp://www.mysite.com/directory. And this would be great if when Links built the page, it just left it as that, as it does in a STATIC setup.
I prefer not to use dynamic_pages as a case statment if possible... better the same for each case!
http://www.iuni.com/...tware/web/index.html
Links Plugins