The Artima Developer Community
Sponsored Link

PHP Buzz Forum
Hierarchical Pick Table Trees

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Forum One

Posts: 118
Nickname: forumone
Registered: Sep, 2004

Forum One is consulting firm specializing in helping non-profits improve their online presence.
Hierarchical Pick Table Trees Posted: Oct 5, 2004 8:27 PM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Forum One.
Original Post: Hierarchical Pick Table Trees
Feed Title: Syntax Framework
Feed URL: http://blog.syntaxcms.org/rss.php?version=0.91
Feed Description: Finally, a place to answer Syntax questions
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Forum One
Latest Posts From Syntax Framework

Advertisement

I just checked in a new type of pick table that will be available in our next release. Just in case you are wondering, in Syntax a pick table is a simple database table of id, name pairs that are used mostly for categorizing other records. For example, you could have a picktable for topics, regions, and countries and use those across all your content types - people, documents, events, etc. Until now, these have been flat lists, and in truth they still are, but by adding a field called parent to a picktable, they can be displayed as a tree of options to users.

In the site administration application, child picks are drawn indented underneath their parent and sorted alphabetically. Also, you can not delete picks that have no parent ( parent=0 ) or that have children.

In an input form, if you use the pick_tree widget with a pick table with a parent column, they will be drawn as a hierarchical set of options for the user to select.

Read: Hierarchical Pick Table Trees

Topic: Burnout Previous Topic   Next Topic Topic: Zend PHP Certification - Self Test

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use