problem with retrieving Archives with user input from the form
Dear Zopatistals I am have one serious problem which I will like you to assist me. I am keeping archives which is reference by the users by typing the file name into a form displayed on the web. i stored the user input into a var name called date_code. <input type="text" name="date_code">. Thereafter in my index_html, i then use <dtml-var expr="_.getitem(_.string.lower(date_code),1)"> to render the file. This work perfectly when a user type in the value for the date_code var. My problem is this. I have some other links which suppose to use the date_code value which the user type to display their contents as well, and i have already stored those content in their various folders, but to my surprise when clicked on these links this is the error message i got: Error Type: NameError Error Value: date_code Please i need your assistance as soon as posssble. This is the url of the site :http://www.champion-newspapers.com click on archive button when a newpage is displayed ignore the instruction and press logon button . Another page will be displayed asking you to enter the date code, for the purpose of this test type friday_1008_html and click view button. This will display the teaser archive for the news item, there after try to click on editorial on the left navi you will then see the error, despite the fact that i have the copy of friday_1008_html in the editorial folder. My impression is that since i have been able to use the date_code to display the teaser for the news item i should be able to use for all other link items on this page. thanks for your care. Hamzat Kamal.
participants (1)
-
Hamzat kamal