|
From: Arva, A. <ar...@cs...> - 2002-08-29 14:08:14
|
Hi, 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. <<news_form.tmpl>> _______________________________________________ Adrian Arva, Web Developer, Dolan DNA Learning Center |