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
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
Yep, do copies of add.php and add_form.html
Frank
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."
.
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.
Is this possible with v5.3?
I hope so, Im about to try and make a mod for it .... will post how I get on in the next few days![]()
Doddy,
Can you help with this?
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?
Help, please?
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