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) »
  • Change campaign title - don't show the date
Pages: [1]

Author Topic: Change campaign title - don't show the date  (Read 997 times)

Beth Hynes

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: I don't know
  • PHP version: I don't know
Change campaign title - don't show the date
February 12, 2013, 09:35:00 am
Hello all,

In the campaign drop-down list, we'd like the campaign start date to not show in the title. It is cluttering up the view. We already include enough date info for our purposes in the title. We've tried to not choose a start date but it is a required field to create a campaign.

Any thoughts?

Thanks,
Beth

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: Change campaign title - don't show the date
February 12, 2013, 11:06:21 am

You'll need to do this via the buildForm hook and manipulate the select options exposed in quickform

alternatively, you should also be able to do this via a jQuery snippet and trim the dates from the select options

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

Beth Hynes

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: I don't know
  • PHP version: I don't know
Re: Change campaign title - don't show the date
February 14, 2013, 09:41:15 am
Thanks for the info!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCampaign (Moderators: Kiran Jagtap, xavier) »
  • Change campaign title - don't show the date

This forum was archived on 2017-11-26.