CiviCRM Forums
News: You can learn more about CiviCRM from our new free book: Understanding CiviCRM. Also Check the CiviCRM Blog for updated information on CiviCRM
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 18, 2010, 12:48:55 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Use SQL or - using italics  (Read 1014 times)
peterd
I live on this forum
*****

Karma: 59
Offline Offline

CiviCRM: 2.2 >> 3.1
CMS: Drupal 5; 6
Posts: 1622



View Profile WWW
« on: January 05, 2009, 02:10:02 pm »

Hi - we set our 'use SQL or' to be in italics (see below) which really helps identify it as being not just another option. Wondering if you want to work this in to core - I note that in 2.2 it has a different descriptor but it still would help to have it differentiated by italics or somesuch ;-)
Logged

pete davis : www.fuzion.co.nz : connect + campaign + communicate
Dave Greenberg
Administrator
I’m (like) Lobo ;)
*****

Karma: 141
Offline Offline

CiviCRM: 3.0.4, 3.1.2, latest svn (trunk)
CMS: Drupal 6.x, Joomla 1.5
MySQL: 5.0.41-log
PHP: 5.2.3

Posts: 3730



View Profile WWW
« Reply #1 on: January 05, 2009, 03:11:18 pm »

Hey - I guess we're on the same page :-) i had done just that a few weeks back in trunk so it will be part of 2.2 core. You didn't see it when you tried it on sandbox because it only works if you specify a value for Options Per Line for the field (which most folks do AFAIK).

If you hurry (befoe the DB is reset), you can see your test on the sandbox ('color'): http://sandbox.civicrm.org/civicrm/contact/search/advanced?reset=1

or here's a snippet shot from my localhost 2.2....
Logged

Support CiviCRM's continued development by making a donation.
peterd
I live on this forum
*****

Karma: 59
Offline Offline

CiviCRM: 2.2 >> 3.1
CMS: Drupal 5; 6
Posts: 1622



View Profile WWW
« Reply #2 on: January 05, 2009, 04:22:16 pm »

All good - think this had come up in discussion earlier but maybe got confused with the wording v formatting discussions.

Any reason why the italicising only happens when 'options per line' is specified? Not worried but curious.
Logged

pete davis : www.fuzion.co.nz : connect + campaign + communicate
Dave Greenberg
Administrator
I’m (like) Lobo ;)
*****

Karma: 141
Offline Offline

CiviCRM: 3.0.4, 3.1.2, latest svn (trunk)
CMS: Drupal 6.x, Joomla 1.5
MySQL: 5.0.41-log
PHP: 5.2.3

Posts: 3730



View Profile WWW
« Reply #3 on: January 06, 2009, 10:43:04 am »

When options per line is not specified, the entire "set" of checkboxes (including the sql-or box) is dumped into a single "cell" in the template.
Logged

Support CiviCRM's continued development by making a donation.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM