[horde] Image path resolution

Richard Wallace rwallace at thewallacepack.net
Tue Aug 24 21:08:01 PDT 2004


Chuck Hagenbuch wrote:

> Quoting Richard Wallace <rwallace at thewallacepack.net>:
>
>> External javascript and css files, i.e. not embedded in the html of the
>> page itself.  Stuff like
>> <script language=javascript src=foo.js>.  But we be able to do the same
>> thing for these by adding 'script' and 'style' parameters to the
>> application settings in the registry.php file.  Sound reasonable enough?
>
>
> Look into Horde::addScriptFile(), Horde::includeScriptFiles(), and
> Horde::stylesheetLink(). You might want to look at some of the 
> existing apps if
> you're not seeing these functions, and also look at 
> http://dev.horde.org/.

The Horde::stylesheetLink() method should work out great.  The 
Horde::addScriptFile() and Horde::includeScriptFiles() probably won't 
work as well in our situation because we've decided to use Smarty for 
our template engine.  If nothing else though we can use them as a base 
for our own methods to do something similar.

Thanks Chuck!
Rich



More information about the horde mailing list