In Reply To:
1 - The detailed articles to go through the jump.cgi file so they can be counted as hits (I think this was covered somewhere in the forum previously - I will look for it) but the prob I see with this is it will open in the frames. So...is there a way for the detailed pages to open without a frame, but go through jump.cgi to count hits?
Possibly...try changing the
Location codes in
jump.cgi to something like
$build_detail_url/$rec{'ID'}.$build_extension.
In Reply To:
2 - I need two add forms - one for submitting general links and one for submitting detailed articles. How does one go about doing this?
You will need to make copies of the following files:
links.def => articles.def
add.cgi => addarticles.cgi
modify.cgi => modarticles.cgi
search.cgi => searcharticles.cgi
You will also have to copy the following routines in your
admin_html.pl file and changes the variables in new subs to reflect your articles database:
* sub html_validate_form => sub html_validate_articles
You will also have to copy links that you have in the
sub navigation routine to add, modify, delete, validate, and check dups for the articles database.
Then in your
db.pl file, you will have to copy the following sub:
* sub validate_records = > sub validate_articles
NOTE: You could possibly bypass all these changes and hack the
Review.cgi Mod that Widgetz wrote.
In Reply To:
Additionally, the detailed add form should produce a txt file of the 'detailed' feild which can then be called into the detailed page.
As I think I mentioned before...what you can do is create a new variable called
$build_detail_extension and configure it like the following in your
links.cfg file:
Code:
$build_detail_extension = ".txt"; Then in your
sub build_detailed_view routine, replace all occurences of
$build_extension with
$build_detail_extension.
In Reply To:
I realize these are tricky topics to handle at once, if someone could direct me to the order, and how, I should tackle them, I'd appreciate it. (BTW, the detailed feild should be placed in txt file so the database remains small - searches will be done on keywords also inputted with the form)
Unfortunately, this is not possible with
search.cgi, you should consider using another search engine script, like XAV INDEXER, that will search through static web pages in your site.
Then you can use the
Search Redirection script at
http://lookhard.hypermart.net/links-mods/ to search both your links and articles.
Regards,
Eliot Lee