[support] Link Fields
Iain William Wiseman
iwiseman at bibble.co.nz
Mon Sep 26 19:51:58 UTC 2011
On 27/09/2011 7:12 a.m., Iain william Wiseman wrote:
> On 27/09/11 04:09, Carl Wiedemann wrote:
>> Assuming you are using Apache, you should instead use name-based
>> virtual hosts http://httpd.apache.org/docs/2.2/vhosts/
>>
>> That way you can have
>>
>> http://demo.localhost
>> http://production.localhost
>>
>> and the paths will be preserved.
>>
>> Carl Wiedemann
>> Website design and development consulting
>> carl.wiedemann at gmail.com <mailto:carl.wiedemann at gmail.com> | skype:
>> c4rlww
>>
>>
>
> It might be I am not have misunderstood the link field type or your
> answer but would't I have to enter
> http://demo.localhost/sites/all/files/mylink.html and this would break
> when I export and import the database onto production. What I wanted
> was to enter an internal link with out the hosthame.
>
> Hope this makes sense.
> Iain
>
>
Solved it, not satisfactory but solved it.
If you create a text field you can put in
<a href="sites/default/files/myInternalLink.html">My Link</a>
It would be nicer if this could be entered in the Link Field. Or again I
might have missed something about the link field.
Iain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110927/32c39db5/attachment-0001.html
More information about the support
mailing list