Removing Selection Checkboxes

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

Removing Selection Checkboxes

Postby ADobkin » Thu Oct 25, 2007 7:24 am

I have removed the selected result actions from the bottom of the list view for certain users. However, the selection checkboxes in the left column remain. Since they no longer seem to serve any function in this case, I would like to remove them to prevent confusion. What is the best way to remove them?

Thanks,
Alan
ADobkin
 
Posts: 195
Joined: Mon Oct 22, 2007 7:31 pm
Location: Atlanta, GA, USA

Postby shannah » Fri Oct 26, 2007 7:38 am

A preference directive has been added in 0.8 (not yet released) to do this. However none exists for the current version. You should be able to hide them using some clever css though.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby ADobkin » Mon Nov 05, 2007 2:42 pm

Okay, thanks. I'm not in a rush for this functionality, so I will wait until you release version 0.8. BTW, I noticed the how-to document "How to add user registration to your application" refers to version 0.7.4, but only 0.7.1 is currently available. Is this a typo?
ADobkin
 
Posts: 195
Joined: Mon Oct 22, 2007 7:31 pm
Location: Atlanta, GA, USA

Postby shannah » Mon Nov 05, 2007 3:00 pm

No typo. Sorry.. some of the docs are incomplete and must be removed.. When I imported them into the new site I forgot to hide the ones that aren't complete (there are only about 4 or 5 how-to's that are like this)...

Hence the user registration feature probably won't work in 0.7.1

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Removing Selection Checkboxes

Postby cookie720 » Thu Jul 05, 2012 8:56 pm

so how do we remove the checkboxes? :mrgreen:
cookie720
 
Posts: 69
Joined: Mon Jun 04, 2012 9:22 pm

Re: Removing Selection Checkboxes

Postby shannah » Fri Jul 06, 2012 10:10 am

Try the "disable_select_rows" preference.
http://xataface.com/wiki/preferences

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Removing Selection Checkboxes

Postby cookie720 » Thu Jul 12, 2012 12:29 am

i just tried that, and it doesnt work for some reason, i tried doing it globally in conf.ini , in each tables fields.ini and in application delegate class too. i know it must be something stupid but its not obvious to me yet.....
cookie720
 
Posts: 69
Joined: Mon Jun 04, 2012 9:22 pm

Re: Removing Selection Checkboxes

Postby shannah » Thu Jul 12, 2012 11:37 am

Just tried it on a test site on 1.3.x branch. It appears to work.

Added the following to my conf.ini file:
Code: Select all
[_prefs]
   disable_select_rows=1


What version of Xataface are you using?
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Removing Selection Checkboxes

Postby cookie720 » Fri Jul 13, 2012 8:03 pm

the latest, 1.3.2...
cookie720
 
Posts: 69
Joined: Mon Jun 04, 2012 9:22 pm

Re: Removing Selection Checkboxes

Postby guo1987 » Tue Jul 17, 2012 11:15 pm

Good, hope can achieve the expected results






convertpdftoimage.net
guo1987
 
Posts: 1
Joined: Tue Jul 17, 2012 11:11 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 16 guests

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