Closed (fixed)
Project:
Signwriter
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2006 at 16:24 UTC
Updated:
22 Sep 2006 at 00:30 UTC
I had some difficulty integrating signwriter with another module that relies on full URLs in links -- presently, the signwriter-created images are referenced by a shorthand path rather than the full URL. Generating the full URL would require a minor tweak in the the signwriter_url function, from
return base_path() . "$cachedir/$urlfilename";
to
return url($cachedir."/".$urlfilename,NULL,NULL,TRUE);
The added length of the URL is fairly insignificant, but it might make the page output more generalizable and friendly to whatever crawls the page.
Comments
Comment #1
wrunt commentedI've made this change in cvs. Thanks for the suggestion dhakajack.
Comment #2
(not verified) commented