hide actions in 0.6 ?

A place for users and developers of the Xataface to discuss and receive support.

Postby 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
 
Posts: 25
Joined: Wed Dec 31, 1969 5:00 pm

Postby 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.
cbovio
 
Posts: 25
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Apr 26, 2007 8:05 am

--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

broken link

Postby 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
kedoin
 
Posts: 12
Joined: Fri Apr 04, 2008 7:44 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 14 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved