|
From: Chris W. <ch...@cw...> - 2002-08-29 15:14:35
|
* Arva, Adrian (ar...@cs...) [020829 10:21]: > I tried to apply the "News" package and I was getting errors for MAIN_SCRIPT > variable not being allowed under 'use script' pragma. > What I did was that I added: > > use constant MAIN_SCRIPT => '/News'; > > to OpenInteract/Handler/News.pm and after that everything was ok. > > Also, if you want to have the date values displayed in the news_form > template you have to use "date_object" as a variable name instead of > "object". > > I attached the template for you to check. I'll apply these (plus some other items) tonight and post the new package to the SF site. Thanks! Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988 |