Ok, I need to know how to customize my add forms and login page, and so on. can anyone help?? thanks.
Apr 24, 1999, 8:09 PM
Veteran / Moderator (8669 posts)
Apr 24, 1999, 8:09 PM
Post #2 of 8
Views: 2764
Probably the easiest way to do it is to set autogenerate to 1 in the .cfg file (after you have defined your fields) and then run the script. Go to add a record and save the resulting form as an html page. That will give you some thing to start with.
You'll need to be familiar with html tags and to look closely at the example in the html.pl page.
------------------
JPD
You'll need to be familiar with html tags and to look closely at the example in the html.pl page.
------------------
JPD
Apr 25, 1999, 7:23 PM
Veteran / Moderator (8669 posts)
Apr 25, 1999, 7:23 PM
Post #5 of 8
Views: 2757
The form to fill in information is sub html_record_form in html.pl -- the display of each record is in sub html_record in html.pl
To make yourself admin, with your own username and password, log in with username "admin" and password "admin" (no quotes!) and then go to the "Admin" link at the bottom of the page. Add your username and password in the fields and check all of the boxes at the bottom of the screen. Click the "Create/Update User" button. Log off. Log on again with your new username and password. Go to the "Admin" link. Select the "admin" username. Click the "Delete" button.
------------------
JPD
To make yourself admin, with your own username and password, log in with username "admin" and password "admin" (no quotes!) and then go to the "Admin" link at the bottom of the page. Add your username and password in the fields and check all of the boxes at the bottom of the screen. Click the "Create/Update User" button. Log off. Log on again with your new username and password. Go to the "Admin" link. Select the "admin" username. Click the "Delete" button.
------------------
JPD
Apr 26, 1999, 6:14 PM
Veteran / Moderator (8669 posts)
Apr 26, 1999, 6:14 PM
Post #8 of 8
Views: 2769
All of the form and display definitions are in the html.pl file. Open them in a text editor and search for
sub html_record_form
It's pretty close to the beginning of the script.
That's where you can create a table with all of your input fields in it. Follow the patterns that are in the script to build your own, especially if you are using radio fields, select fields, or checkbox fields.
Then, to customize your display, go to the next subroutine -- sub html_record. Again, follow the patterns that are in the demo to get the correct syntax for displaying your results.
------------------
JPD
sub html_record_form
It's pretty close to the beginning of the script.
That's where you can create a table with all of your input fields in it. Follow the patterns that are in the script to build your own, especially if you are using radio fields, select fields, or checkbox fields.
Then, to customize your display, go to the next subroutine -- sub html_record. Again, follow the patterns that are in the demo to get the correct syntax for displaying your results.
------------------
JPD