I apologize for the scanty documentation... many of the bleeding edge features of xataface still require documentation.
To hide the default relationship section, you can add the following to the relationships.ini definition of the relationship:
section:visible=0
Note that the following directives are also available:
section:permission
section:label
section:order
section:limit
section:filter
section:sort
section:class (accepts 'left' or 'main')
E.g. relationships.ini
- Code: Select all
[my_relationship]
__sql__ = "select * from etc ..."
section:permission="edit" ;; only show this section if the user has edit permissions
section:label="My Relationship label"
section:order="2" ; The order in which the section should be located.
section:limit="10"; Show 10 records
section:filter="postDate>'2004-3-2' and ownerID=10" ; Show only records in this relationship newer than '2004-3-2' and owned by ownerID 10.
section:sort="postDate desc, firstName asc" ; Sort records
section:class="main" ; This section should be in the main column.
Hope this helps a little.
-Steve