hide actions in 0.6 ?

Archived from the Xataface Users forum.

cbovio — Thu Apr 26, 2007 1:13 am

I need to hide actions button and can’t find infos in doc or forums.

For example, i want hide “add new related record” in a related view.

I’ve add in main table (not related table) an actions.ini with [new_related_record] section

Then tried : visible=0 or condition = “1==0” but button still here.

Could you explain how to hide actions button ?

thanks.


cbovio — Thu Apr 26, 2007 2:28 am

And i saw actions names in dataface engine, so i tried :

[new_related_record]
condition = “1==0”

[existing_related_record]
condition = “1==0”

[remove_related_record]
condition = “1==0”

[delete_found]
condition = “1==0”

“Delete Found Records” button is hidden on main table but in related view, “add new mytablename record” and “remove selected record” are still here.


shannah — Thu Apr 26, 2007 8:05 am

This can be done in the relationships.ini file:

http://framework.weblite.ca/documentation/manual/relationships_ini/overview


kedoin — Fri Apr 04, 2008 7:29 pm

That link to the relationships.ini document no longer work. I think this is the current location of the intended page:

http://framework.weblite.ca/df/docs/handbook/viewer.php?file=relationships.ini