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 CiviCampaign (Moderators: Kiran Jagtap, xavier) »
  • Survey instructions
Pages: [1]

Author Topic: Survey instructions  (Read 1107 times)

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Survey instructions
May 16, 2011, 07:31:13 pm
I am working on setting up a survey for phonebanking in CiviCampaign. How can I use html in the instructions area so it doesn't all run together? I want to list out the options (such as WN = wrong number), give a script, etc. and not have it  run together as one line.

Any html we put in shows on the page and what we have is &lt;p&gt;  instead <p>

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Survey instructions
May 16, 2011, 09:15:37 pm
Yes, I think it should have html editor instead of normal text area, it will be very helpful.

Rajan


jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Survey instructions
May 19, 2011, 04:25:52 pm
Ok go down to about line 322 in /sites/all/modules/civicrm/CRM/Campaign/Form/survey.php  and change it to this:

        // script / instructions
        $this->addwysiwyg( 'instructions', ts('Instructions for interviewers'), array( 'rows' => 5, 'cols' => 40 ) );

Now your textbox should be a WYSIWYG box.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCampaign (Moderators: Kiran Jagtap, xavier) »
  • Survey instructions

This forum was archived on 2017-11-26.