[drupal-docs] How to insert the documentation readers drupal site url into your documentation

Moshe Weitzman weitzman at tejasa.com
Mon Mar 7 18:08:04 UTC 2005


I think Kieran is looking for remotely hosted documentation that would 
point to the user's own web site. So imagine handbook links that point 
to the admin's own site based on a domain thats stored in their 
profile. This is easy to do technically, but requires the page to be of 
PHP format.

On Mar 7, 2005, at 1:00 PM, Boris Mann wrote:

> On Mon, 7 Mar 2005 09:35:43 -0800, Kieran Lal 
> <kieran at civicspacelabs.org> wrote:
>> I am seeing this recurring problem.   An end user is reading drupal
>> documentation and would like to click on a link to take them to their
>> site to attempt to try configuration.   Of course since the
>> documentation is general it can't have the url of the readers site in
>> it.  Or can it?
>
> Use relative URLs in the documentation -- e.g.
> admin/comment/list/approval will work on all Drupal systems.
>
> In general, you should always be using relative URLs for local links,
> since they will continue to work no matter where you move them (e.g.
> staging server, temporary subdomain, local testing, etc.).
>
> --
> Boris Mann
> http://www.bryght.com
> -- 
> [ drupal-docs | http://lists.drupal.org/listinfo/drupal-docs ]




More information about the drupal-docs mailing list