CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Want to put a dojo pop-up in a profile field help field
Pages: [1]

Author Topic: Want to put a dojo pop-up in a profile field help field  (Read 1948 times)

farmrchrys

  • I post occasionally
  • **
  • Posts: 92
  • Karma: 2
    • Spokane Moves to Amend the Constitution (under development)
  • CiviCRM version: CiviCRM 4.4.6
  • CMS version: Drupal 7.31
  • MySQL version: MySQL 5.5.37
  • PHP version: PHP 5.3.28
Want to put a dojo pop-up in a profile field help field
August 25, 2009, 05:49:59 pm
Hi all,

I want to put a dojo pop-up in a profile "field help" field but I get "Illegal characters in input (potential scripting attack)". If I can't use a pop-up, the field help being offered, definitions of check-box choices, will take up a lot of real estate, which I can do, but would prefer a mouseover/mouseout pop-up. I've put such a dojo pop-up in a Drupal block and it works nicely. I suspect that this validation is useful for actual input fields that are available to the public, but this is just editing the field help that only I as admin can do. Is there a way I can accomplish this?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Want to put a dojo pop-up in a profile field help field
August 25, 2009, 06:04:43 pm

can u add  the field help to the html array in: files/civicrm/upload/Config.IDS.ini

that should prevent the IDS from checking that field

lobo


A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

farmrchrys

  • I post occasionally
  • **
  • Posts: 92
  • Karma: 2
    • Spokane Moves to Amend the Constitution (under development)
  • CiviCRM version: CiviCRM 4.4.6
  • CMS version: Drupal 7.31
  • MySQL version: MySQL 5.5.37
  • PHP version: PHP 5.3.28
Re: Want to put a dojo pop-up in a profile field help field
August 25, 2009, 08:16:02 pm
Hi Donald,

It looks like the field, help_post, is in the list. That's the one, right? That's what the page source for the edit profile field page says. Not really understanding what's going on in the Config.IDS.ini file, I tried changing that line from

Code: [Select]
    html[]              = help_postto
Code: [Select]
    exceptions[]              = help_post
That didn't do it. I tried taking the line out all together. That didn't do it. I took the advice in
http://forum.civicrm.org/index.php/topic,7614.0.html
and also edited CRM/Core/IDS.php. Nope.

Is there some cache clearing needed after editing the file(s)?

The goddess gave up. Should I? Sure would be nice to be able to do this somehow.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Want to put a dojo pop-up in a profile field help field
August 26, 2009, 05:55:16 am

1. make sure you are editing the right file :)

2. it should be in exceptions[] array :)

if it still does not work, get on IRC and we can look at it there on the demo server

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Want to put a dojo pop-up in a profile field help field

This forum was archived on 2017-11-26.