Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Dynamic vs Static when developing

Quote Reply
Dynamic vs Static when developing
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

Last edited by:

Ian: Jun 6, 2002, 11:09 AM
Subject Author Views Date
Thread Dynamic vs Static when developing Ian 4849 Jun 6, 2002, 11:01 AM
Thread Re: [Ian] Dynamic vs Static when developing
Alex 4757 Jun 6, 2002, 12:17 PM
Thread Re: [Alex] Dynamic vs Static when developing
Ian 4741 Jun 6, 2002, 12:22 PM
Thread Re: [Ian] Dynamic vs Static when developing
Ian 4710 Jun 12, 2002, 5:16 PM
Thread Re: [Ian] Dynamic vs Static when developing
Ian 4695 Jun 18, 2002, 11:54 AM
Thread Re: [Ian] Dynamic vs Static when developing
Ian 4652 Jun 18, 2002, 2:00 PM
Thread Re: [Ian] Dynamic vs Static when developing
pugdog 4663 Jun 21, 2002, 1:02 PM
Post Re: [pugdog] Dynamic vs Static when developing
Ian 4617 Jun 21, 2002, 1:06 PM