Gossamer Forum
Home : Products : Gossamer Links : Discussions :

URL to call a page that is built using "PageBuilder" plugin

Quote Reply
URL to call a page that is built using "PageBuilder" plugin
I build a dynamic page called "howtoadd" using 'PageBuilder' plugin:


I am calling the page in the code like this:


Code:
<a href="<%config.build_root_url%>/page.cgi?page=howtoadd">How to Add a Site</a>
However, the translation of the above URL shows in the browser like this:
Code:
http://www.mydomain.com/cgi-bin/scriptssql/page.cgi?g=page.cgi%3Fpage%3Dhowtoadd;d=1

And that is not working.
I want the translated URL to look like this:
Code:
http://www.mydomain.com/cgi-bin/scriptssql/page.cgi?page=howtoadd;d=1

How do I put the URL in the template to correctly call a pagebuilder page?

Thank you in advance
Mark
Quote Reply
Re: [Mark2] URL to call a page that is built using "PageBuilder" plugin In reply to
Hi,

You want <%config.db_cgi_url%>, not <%config.build_root_url%> Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] URL to call a page that is built using "PageBuilder" plugin In reply to
Thanks much Andy.. worked very nicely...
I used:
Code:
<a href="<%config.db_cgi_url%>/page.cgi?page=howtoadd">How to Add a Site</a>
Regards...
Mark