rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: parade on December 28, 2009, 02:36:08 PM

Title: Events
Post by: parade on December 28, 2009, 02:36:08 PM
Hi,

I tried several times in the past to use event-scripts but I never had any luck. Simple examples to enter in the hfs.events did not work with my HFS-installation.

Now installed HFS on another PC to experiment with some templates and template changes and I tried hfs-events again.
Event-sripts work here without any problem.

What could be the difference in both installations that make either hfs.events work or not?

Beta: 2.3 Build 250
Title: Re: Events
Post by: maverick on December 28, 2009, 06:34:22 PM
What could be the difference in both installations that make either hfs.events work or not?

Maybe macros aren't enabled in one of them.  Check :  menu -> HTML template.
Title: Re: Events
Post by: parade on December 28, 2009, 06:53:38 PM
Maybe macros aren't enabled in one of them.  Check :  menu -> HTML template.
Macros are enabled.
Title: Re: Events
Post by: maverick on December 28, 2009, 08:53:36 PM

Does the file 'hfs.events' show up in the root of your hfs folder on your drive?  It should.  If so, open with an editor like notepad, or use Alt+F6 from the HFS gui, to see if you can spot the reason why it isn't being read.  Still no idea - delete the hfs.events file from the pc it isn't working in and let HFS re-create it with Alt+F6.  You are using the latest and same build of HFS on both pc's aren't you?
Title: Re: Events
Post by: parade on December 29, 2009, 11:46:11 AM
Does the file 'hfs.events' show up in the root of your hfs folder on your drive?  It should.  If so, open with an editor like notepad, or use Alt+F6 from the HFS gui, to see if you can spot the reason why it isn't being read. 
I still could not spot any reason, so I did this:

Still no idea - delete the hfs.events file from the pc it isn't working in and let HFS re-create it with Alt+F6.

Thank you maverick. That was the solution.