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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • I Want Only Tags to Show Up on Profile that Have a Particular Parent
Pages: [1]

Author Topic: I Want Only Tags to Show Up on Profile that Have a Particular Parent  (Read 702 times)

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
I Want Only Tags to Show Up on Profile that Have a Particular Parent
June 02, 2009, 06:38:38 pm
I've created a profile and one of the fields I'm putting on the form is the tag(s) field. But I only want some of the tags to show up on the form for the user to see when they are filling out the form. I had presumed that is what the whole purpose of tags have parents was about.

But on the new field creation form for the profile, when I select "tag(s)" I don't see any further choice to select a parent id.

Is this a feature request or am I missing something. And if it is a feature request, see any other work arounds besides creating a custom field?

Thanks,

Shai
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: I Want Only Tags to Show Up on Profile that Have a Particular Parent
June 03, 2009, 09:40:06 am
You might be able to use the buildForm hook to filter the tags array ??
Protect your investment in CiviCRM by  becoming a Member!

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Re: I Want Only Tags to Show Up on Profile that Have a Particular Parent
June 03, 2009, 09:48:28 am
Thanks. I ended up adding a new field... while I'm still a newbie. But its good to know the direction I'll go in as I get more skill and confidence to bend Civi to my will.

Shai
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

mrengy

  • Guest
Re: I Want Only Tags to Show Up on Profile that Have a Particular Parent
August 13, 2009, 11:19:46 am
Interesting. Lobo, can you give an example of how to use this function you speak of? Or point me to the documentation on it?

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: I Want Only Tags to Show Up on Profile that Have a Particular Parent
August 13, 2009, 01:04:20 pm

hmm, not sure what exactly u want an example for, but check civitest.module.sample. Hook docs are at:

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification

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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • I Want Only Tags to Show Up on Profile that Have a Particular Parent

This forum was archived on 2017-11-26.