Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [Andy] The USER is allowed to ADD CATEGORIES!!: Edit Log

Here is the list of edits for this post
Re: [Andy] The USER is allowed to ADD CATEGORIES!!
Hello,
This what I am trying to accomplish. I think it will be a good idea to have
this blugin built into LINKS SQL and can be activated/deactivated by the Admin.

This is the algorithm that I am after.


Code:
1 - user logs in;

2 - from ANY CATEGORY menu bar, user clicks on "ADD CATEGORY" (new option);

3 - user fills out the Add Category form and submit it.

if (CATEGORY EXISTS) then
{
- (Fail) Page will appears with an Add Links hyperlink in it to allow
the user to add links to the EXISTING CATEGORY.
}

if (CATEGORY DOES NOT EXIST) then
{
- CATEGORY NAME will be created.
- (success) Page appears with Add Link hyberlink in it to allows user to add links
to the NEWLY CREATED CATEGORY.
}

NOTE:
The user does not need to the newly/existed category to add his/her
links into; instead the success/fail page of the ADD CATEGORY
submission form should have an ADD LINK HYPERLINK in it that if
clicked the ADD LINK FORM will be loaded with the CATEGORY NAME
that you are trying to add is displayed in it as the default category
in the add form.




Any help will be greatly appreciated.
Mark

Last edited by:

Paul: Sep 30, 2002, 7:56 AM

Edit Log: