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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • why is there a parent_id column in the tag table of the database?
Pages: [1]

Author Topic: why is there a parent_id column in the tag table of the database?  (Read 3708 times)

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
why is there a parent_id column in the tag table of the database?
July 18, 2007, 11:05:52 am
does not seem to be settable from the front of the site.  And when I enter a parent_id it does not seem to really show in the front of the site?

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: why is there a parent_id column in the tag table of the database?
July 18, 2007, 07:31:48 pm

The parent_id column was for our future plans of making tags hierarchical etc. We did not get around to implementing it.

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

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: why is there a parent_id column in the tag table of the database?
July 19, 2007, 05:06:37 am
could I use it now as I import potential tags for personal queries etc?

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: why is there a parent_id column in the tag table of the database?
July 19, 2007, 11:17:56 am

If you want to build functionality around it and enhace the tag model significanly, go for it :) Would be a contribution that might be relevant to more users. You'd also have to think/implement how to search hierarchical tags, pretty similar to what USPIRG is doing with groups: http://codeforchange.blogspot.com/2007/07/nestable-groups-in-civicrm.html

We'd be happy to consider it for core if it meets licensing agreements and is feature complete :)

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

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: why is there a parent_id column in the tag table of the database?
July 19, 2007, 11:57:53 am
so I do want to start getting into the civicrm api.  Once I get familiar with it I can start on the level to share.

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: why is there a parent_id column in the tag table of the database?
July 19, 2007, 12:37:02 pm

I suspect the below will be more core civicrm development rather than using the API :). If you start doing this you might want to install civicrm from svn and also get on IRC and ask for help there to get you started

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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • why is there a parent_id column in the tag table of the database?

This forum was archived on 2017-11-26.