Gossamer Forum
Home : Products : Gossamer Links : Discussions :

PageBuilder Use Outside Root Directory

Quote Reply
PageBuilder Use Outside Root Directory
Greetings All:

Just wondering whether it is possible, when using Yogi's excellent PageBuilder Plugin to actually build pages outside of the defined root directory (in other words 'above' the root directory).

The reason I ask is some of my other programs run in directories 'outside' the root html directory but nevertheless rely on templates etc. It would be very handy to be able to update these as well.


Regards,


Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [Clint] PageBuilder Use Outside Root Directory In reply to
Hi,

You could probably do this via mod_rewrite :) (I know I do <G>)

RewriteRule ^page.html$ /cgi-bin/page.cgi?page=page [L]

..and call with;

http://www.domain.com/page.html, which then calls page.cgi?page=page

Alternativly, if you have them in a "sub folder" (for example /p/), you could use;

RewriteRule ^p/(.*).html$ /cgi-bin/page.cgi?page=$1 [L]

Obviously it depends on how/where you are wanting to use it =)

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] PageBuilder Use Outside Root Directory In reply to
Hi Andy:

Thanks for your reply. The problem is really getting PageBuilder to 'build' the pages - as it appears to only build the pages from the defined 'root' directory. Access of the pages (from a web browser point of view) works fine as I've defined aliases in the Apache conf etc.


Regards,


Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [Clint] PageBuilder Use Outside Root Directory In reply to
Hi,

Mmm.. can't you do that in Plugins > Plugin Manager > PageBuilder > Edit, and then change pb_root_path and pb_root_url ?

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] PageBuilder Use Outside Root Directory In reply to
Andy:

I'll give it a whirl ....


Thanks,


Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory