Results 1 to 11 of 11

Thread: Multiple add forms

  1. #1
    Join Date
    Jan 2004
    Posts
    31

    Default Multiple add forms

    Instead of having multiple Indexu installations, i thought an alternative can be to have one database with different add forms depending on the main category selected. Is this possible? If so, how?
    --------------
    Manuel

  2. #2
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    1,180

    Default yep

    Yep, do copies of add.php and add_form.html

    Frank

  3. #3
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default Re: Multiple add forms

    I'm not sure what you are trying to do but unless you make other modifications, all of the pages the viewer sees will contain all of the submissions, not just those from resulting from a specific add form.

    In other words, the New page will show ALL of the new links. But maybe that is what you want.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  4. #4
    Join Date
    Jan 2004
    Posts
    31

    Default

    esm, Frank

    Thanks for your reply.

    Lets say that I have only two main categories, CAT1 and CAT2. In the add form for CAT1 i only need field1,field2,field3. In the add form for CAT2 i need field1,field4,field5,field6. When the user clicks CAT1 or any of its subcats for suggesting a link, the add form for CAT1 is shown.

    I forgot... the same should apply for the Power Search option...a specific search forms depending on the selected CAT.

    About seeing all the submissions, as esm pointed, if I understood correctly, that means that when browsing the categories a user will see the links as they are usually seeing when clicking a specific category or subcat with links under it. That's ok. Further, in the search results page, ideally it should show the selections found under the specific main CAT. (IF that adds to much complexity, I'll be happy with mixed results from both main CATS).

    Frank points that copying add.php and add_form.html would be a way for this. I thought about that, but how can each CAT and subcat "recognizes" the correct add.php?
    ---------
    Manuel
    Last edited by manuel_pr; 02-09-2004 at 07:40 PM.

  5. #5
    Join Date
    Nov 2006
    Posts
    61

    Question Re

    Is this possible with v5.3?

  6. #6
    Join Date
    May 2004
    Location
    New Zealand
    Posts
    600

    Default

    I hope so, Im about to try and make a mod for it .... will post how I get on in the next few days

  7. #7
    Join Date
    Nov 2006
    Posts
    61

    Default

    Doddy,
    Can you help with this?

  8. #8
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    I'm not so clear about this.

  9. #9
    Join Date
    Nov 2006
    Posts
    61

    Question Re

    I made copies of add.php and modified the templates they call. For example, add_Galeria.php (for adding links for this category & its subcats) calls galeria_info.html (instead of add_error.html), add_form_galeria.html (instead of add_form.html), etc. For now, the main problem is that if there is an input error from the user the script calls add.php not the modified script add_Galeria.php. How can I fix this?

  10. #10
    Join Date
    Nov 2006
    Posts
    61

    Question

    Help, please?

  11. #11
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    You should make a backup copy of your work, then put the original file there. Let see if it work. Then using file compare tool you will see which codes you've modified. You must examine the codes you have changed

Similar Threads

  1. Multiple Related Categories MOD
    By esm in forum v3.2
    Replies: 0
    Last Post: 07-25-2004, 12:15 PM
  2. Replies: 2
    Last Post: 05-08-2003, 10:11 AM
  3. Adding a link to multiple categories
    By craven in forum v3.2
    Replies: 10
    Last Post: 03-12-2003, 09:27 AM
  4. Changing forms such as bad link
    By starchdoggy in forum v5.x
    Replies: 1
    Last Post: 09-14-2002, 09:30 AM
  5. 1 link, Multiple Cat's
    By Polo in forum v5.x
    Replies: 1
    Last Post: 09-02-2001, 05:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •