relationships ..disabling the “add_existing_record” tab
Archived from the Xataface Users forum.
Martin Pruss — Tue Feb 23, 2010 7:29 am
Hi Steve
To simplyfy the “user experience” i ‘d like to switch off the add_existing_record tab in my related records table because i don’t need it.
I tried to override the [existing_related_record]
in the actions ini of that relationship table as well as in the parent table by adding just that above statement , without parameters.
I even tried commenting out the whole thing
in the main actions.ini like this:
- Code: Select all
[existing_related_record] ;;mode = browse ;;template = Dataface_Add_Existing_Related_Record.html ;;permission = add existing related record ;;category = relationship_actions
no luck…
dataface version 0.7.1
are there other ways to switch this off (without changing something in the Xataface Core)?
regards
Martin
i
shannah — Tue Feb 23, 2010 9:14 am
In the relationship definition (in relationships.ini file) just set the actions:addexisting directive to 0. E.g.:
- Code: Select all
actions:addexisting=0
Martin Pruss — Wed Feb 24, 2010 12:38 am
thanks .. Steve..
have a nice time
Martin