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

Jonathan Chaffer jchaffer at structureinteractive.com
Mon Mar 7 18:14:46 UTC 2005


On Mar 7, 2005, at 1:07 PM, Moshe Weitzman wrote:

> 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.
>>
> 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.

Or we could write a filter module to do it for non-PHP page formats.




More information about the drupal-docs mailing list