[horde] Trailer Text per instance

David Cunningham dcunningham at additionnetworks.net
Mon Mar 13 16:28:49 UTC 2017


> On Mar 13, 2017, at 12:23 PM, Michael J Rubinsky <mrubinsk at horde.org> wrote:
> 
> 
> Quoting David Cunningham <dcunningham at additionnetworks.net>:
> 
>> Hi All,
>> 
>> I am having a hard time figuring out the syntax of a hooks-url.php
> 
> The correct syntax is hooks-servername.php. However, I don't remember off-hand if hooks are handled this way since the file is a class definition. You may have to just use $conf['server']['name] or something from the $_SERVER super global and add some logic to the trailer hook.
> 

Yes, the class thing is exactly the problem I am having.  I am getting an error that I cannot define that class again.

> 
>> entry to set the trailer text based on the url being used.  For example, I need one url to have no trailer added, one url to have one text added and another to have a different text added.
>> 
>> Thanks for your help!
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 
> 
> 
> -- 
> mike
> The Horde Project
> http://www.horde.org
> https://www.facebook.com/hordeproject
> https://www.twitter.com/hordeproject
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



More information about the horde mailing list