_prefs with relationship tab

Archived from the Xataface Users forum.

Babs — Wed Oct 14, 2009 4:37 am

Hi,

I have a problem with preferences.

Here is my conf.ini:

Code: Select all
[_prefs] show_jump_menu = 0 show_bread_crumbs = 0 show_record_tree = 0 hide_resultlist_controller = 1 hide_result_filters = 1 disable_select_rows = 1 disable_ajax_record_details = 1 hide_posted_by = 1 show_result_stats = 0

It’s ok for table tabs, but thoses preferences aren’t taken into account in relationship tabs. Is there any trick to do ?

Thanks very much.

ps: sorry if my english isn’t precise enough, I’m french!


shannah — Wed Oct 14, 2009 11:58 am

Use

Code: Select all
show_record_tabs=0

Babs — Thu Oct 15, 2009 2:44 am

Thank you for answering, but I’m affraid I was not clear enough.

I want to hide results stats, checkboxes on the left of the grid, etc.

It’s ok for the main tabs, but when I want to display a particular record, stats and other blocks appear.


shannah — Thu Oct 15, 2009 9:32 am

You may want to use CSS for this.

In a CSS stylesheet you could do something like:

Code: Select all
.resultlist-controller { display: none} #relatedList input { display: none}

That is quick and dirty. The checkboxes would disappear on their own if you disabled all of the actions of category selected_related_result_actions (e.g. remove selected, etc..)


Babs — Wed Oct 21, 2009 2:25 am

Hi,

I put:

Code: Select all
#details-controller {    display: none; }

in the CSS stylesheet, and disabled all related actions.

All is OK now.

Thank you very much!