I am trying to install the external textfile add-on of JPDeni. I have followed the instructions of the readme .txt file. It shows us some mods to the html.pl the .cfg file and the db.cgi file. That readme file can be found at:
http://www.jpdeni.com/dbman/Mods/externaltxt.txt
Problem is that when I add a record, the script does create an external .txt file, but that's it!! It does not ask me to fill in the extra external field nor does it display the external field and it's content.
I tried a lot of code lines in especially html.pl (I guess the answer is in this file).
For example in "ub html_record_form" in html.pl I added:
-----------------------------------------------
<TR><td>Text</td>
<td><textarea name="text" rows="10" cols="40" wrap="virtual">$in{'text'}</textarea></td></tr>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font>text:</FONT></TD>
<TD VALIGN="TOP"> |; print &build_select_field ("text", "$rec{'text'}"); print qq|</TD></TR>
--------------------------------------------------
Nothing shows.
My question is: is the readme file by JPDeni not complete? Do I miss anything? If not, why doesn't it show any external textfields in my database.
You can check the database at:
http://www.monkeyman.nl/cgi/dbase/db.cgi
admin/admin is the login
Any help would be appreciated.
Moozie
http://www.jpdeni.com/dbman/Mods/externaltxt.txt
Problem is that when I add a record, the script does create an external .txt file, but that's it!! It does not ask me to fill in the extra external field nor does it display the external field and it's content.
I tried a lot of code lines in especially html.pl (I guess the answer is in this file).
For example in "ub html_record_form" in html.pl I added:
-----------------------------------------------
<TR><td>Text</td>
<td><textarea name="text" rows="10" cols="40" wrap="virtual">$in{'text'}</textarea></td></tr>
<TR><TD ALIGN="Right" VALIGN="TOP"><$font>text:</FONT></TD>
<TD VALIGN="TOP"> |; print &build_select_field ("text", "$rec{'text'}"); print qq|</TD></TR>
--------------------------------------------------
Nothing shows.
My question is: is the readme file by JPDeni not complete? Do I miss anything? If not, why doesn't it show any external textfields in my database.
You can check the database at:
http://www.monkeyman.nl/cgi/dbase/db.cgi
admin/admin is the login
Any help would be appreciated.
Moozie