Log of /contributions/modules/hierarchical_select/hierarchical_select.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.181 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 31 01:33:22 2009 UTC
(3 weeks, 5 days ago)
by
wimleers
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.180: +5 -6 lines
Diff to
previous 1.180
Fixed #597786 by boneless: 'allowed_levels' in 'editability' not working properly when 'enforce_deepest' is enabled
Revision
1.176 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 18 14:25:38 2009 UTC
(5 weeks, 3 days ago)
by
wimleers
Branch:
MAIN
Changes since
1.175: +7 -3 lines
Diff to
previous 1.175
Fixed #605110 by khorpyakov: i18n compatibility: POST request is prefixed with language code, not actual language prefix
Revision
1.167 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Aug 4 22:34:18 2009 UTC
(3 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.166: +8 -1 lines
Diff to
previous 1.166
Implemented #516782, sponsored by Southern Methodist University: Theme function to display lineages when viewing nodes
Revision
1.162 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jul 25 10:27:59 2009 UTC
(4 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.161: +47 -14 lines
Diff to
previous 1.161
Implemented #530618, sponsored by Merge: require_entity setting: only show items in the hierarchy when they are associated with at least one entity
Revision
1.158 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Mar 20 18:07:30 2009 UTC
(8 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.157: +5 -3 lines
Diff to
previous 1.157
Fixed #266960 by Vuds: Selects in Hierarchical Select disappear due to PHP error: "warning: Missing argument 1"
Revision
1.148 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Mar 6 17:07:20 2009 UTC
(8 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.147: +8 -2 lines
Diff to
previous 1.147
Patch by litrik: merge an empty root level label and the none option because they're conceptually the same.
Revision
1.147 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 16 02:35:48 2009 UTC
(9 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.146: +6 -3 lines
Diff to
previous 1.146
Improved diagnostics: when a HS implementation is being used of which the module is not enabled, this will detected.
Revision
1.145 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 2 18:56:02 2008 UTC
(11 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.144: +8 -2 lines
Diff to
previous 1.144
Follow-up patch for #327892 by Vuds and myself: Support the #disabled property and make it maintain its #default_value after a submit
Revision
1.144 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 1 02:21:17 2008 UTC
(11 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.143: +156 -338 lines
Diff to
previous 1.143
Finally, finally, finally the time has come! The Drupal 5 branch of Hierarchical Select is so stable now, that only few additional commits will occur there. Which means I won't have to sync bugfixes all the time. So … this is the moment where I finally commit the patch that makes Hierarchical Select work in Drupal 6\!
Revision
1.128 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Aug 13 22:19:28 2008 UTC
(15 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.127: +23 -3 lines
Diff to
previous 1.127
Implemented #276731: Status report check: Hierarchical Select must have a higher weight than the Hierarchical Select implementations
Revision
1.123 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 18 20:26:44 2008 UTC
(16 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.122: +2 -2 lines
Diff to
previous 1.122
Fixed #284435: If a term doesn't have children the option "<create new>" is displayed, no matter if "Allow creation of new terms" is selected
Revision
1.121 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 18 20:10:52 2008 UTC
(16 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.120: +4 -3 lines
Diff to
previous 1.120
Simplified (as in less) and improved the CSS (no silly bottom margin anymore), in fact it's now impossible to distinguish a HS from a normal select on WebKit, and almost (2px difference) in Firefox.
Revision
1.120 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 18 17:02:54 2008 UTC
(16 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.119: +8 -4 lines
Diff to
previous 1.119
When enforce_deepest is disabled, and level labels are disabled or the root level label is empty, then don't set a root level label at all.
Revision
1.117 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jul 18 00:11:03 2008 UTC
(16 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.116: +31 -2 lines
Diff to
previous 1.116
- In the developer mode, HS now also performs config diagnostics.
- 'Submit' button on the config import form renamed to 'Import'
- Improved comment.
Revision
1.115 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 17 16:33:56 2008 UTC
(16 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.114: +2 -2 lines
Diff to
previous 1.114
Level label was not being passed through properly for the deepest level when enforce_deepest was enabled.
Revision
1.111 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jul 7 12:14:11 2008 UTC
(16 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.110: +8 -1 lines
Diff to
previous 1.110
Added work-around for #109459. This was necessary when a HS can be used by anonymous users and when you're using a version of Drupal older than 5.8.
Revision
1.110 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jul 6 19:54:50 2008 UTC
(16 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.109: +16 -8 lines
Diff to
previous 1.109
Fixed: The flat select uses the selection from the *calculated* selection, instead of the *generated* selection (e.g. enforce_deepest wasn't being applied).
Revision
1.109 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jul 6 19:02:57 2008 UTC
(16 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.108: +4 -4 lines
Diff to
previous 1.108
Fixed: the flat select would *always* have set #multiple = TRUE, which causes problems (e.g. when using Views exposed filters with "Force single"). Also some cosmetic changes.
Revision
1.104 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 3 21:57:30 2008 UTC
(16 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
CVS Tags:
DRUPAL-5--3-0-BETA2
Changes since
1.103: +2 -2 lines
Diff to
previous 1.103
- You could not yet select the <top-level page> option, because it actually has a bad value (0)… bad core!
- Because of this bad value, the #required check was detecting an empty value where it really shouldn't. Core avoids this by making this an optional field, although it really is a required field!
Revision
1.103 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jul 2 14:35:58 2008 UTC
(16 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.102: +4 -1 lines
Diff to
previous 1.102
Major improvement when JS is disabled: only a small part of the help text is displayed, on hover you will get to see more. This relatively advanced CSS doesn't work in IE 6, but it works in IE 7 and the other (decent) browsers.
Revision
1.99 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jun 28 18:25:28 2008 UTC
(16 months, 4 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.98: +1 -9 lines
Diff to
previous 1.98
Moved taxonomy.inc into the hs_taxonomy module and subscriptions_taxonomy.inc into the hs_subscriptions_taxonomy module.
Revision
1.98 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jun 28 15:19:36 2008 UTC
(16 months, 4 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.97: +2 -2 lines
Diff to
previous 1.97
Fixed syntax error that was causing an incorrect selection in the hierarchical select when the dropbox wasn't empty (instead of "<none>", it would select the first item in the hierarchy.
Revision
1.85 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 24 13:21:35 2008 UTC
(17 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.84: +7 -3 lines
Diff to
previous 1.84
Implemented #264227: Add setting to allow the user to disable the resetting of the hierarchical select when adding selection to the dropbox
Revision
1.75 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun May 18 13:01:39 2008 UTC
(18 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.74: +43 -43 lines
Diff to
previous 1.74
Fix coding style issues. Funny enough, virtually all code style issues come from code that I copy/pasted from core… :)
Revision
1.74 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun May 18 12:55:24 2008 UTC
(18 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.73: +34 -1 lines
Diff to
previous 1.73
hook_requirements() implementation for Hierarchical Select, to prevent users from forgetting to run update.php.
Revision
1.68 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon May 12 18:51:54 2008 UTC
(18 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.67: +13 -7 lines
Diff to
previous 1.67
Make the create_item and node_count hooks optional, by only applying the corresponding settings after has been verified that implementations of these hooks exist.
Revision
1.59 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue May 6 09:42:58 2008 UTC
(18 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.58: +127 -141 lines
Diff to
previous 1.58
Refactored the processing of hierarchical_select form element settings. Instead of #hierarchical_select_settings and #multiple, there's now a single property, #config, which is a clearly, consistently formatted array. It also allows for a 1-1 mapping of a form to this array, simplifying form processing.
Revision
1.57 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat May 3 18:57:11 2008 UTC
(18 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.56: +6 -5 lines
Diff to
previous 1.56
Don't add the "<none>" option just when enforce_deepest is enabled, but only when it's enabled *and* no root level label is set.
Revision
1.55 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat May 3 15:46:16 2008 UTC
(18 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.54: +2 -2 lines
Diff to
previous 1.54
Found major bug in HS' implementation of form cache: $form['#parameters'] was only cached when there were at least 2 parameters. Typically, only node forms or other complex forms use parameters, so it was not working on simple forms.
Revision
1.50 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu May 1 14:13:38 2008 UTC
(18 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.49: +4 -4 lines
Diff to
previous 1.49
Regression caused by #253122: when enforce_deepest is enabled *and* a root level is set, the "<none>" option would always be selected instead of the level label.
Revision
1.47 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu May 1 12:06:06 2008 UTC
(18 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.46: +2 -1 lines
Diff to
previous 1.46
The dropbox can be enabled by setting #multiple to TRUE. Clarify this by setting the default in the hook_elements() implementation.
Revision
1.41 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Apr 15 21:47:03 2008 UTC
(19 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.40: +975 -463 lines
Diff to
previous 1.40
First major feature of HS3. Scalability improvements: stop using a normal select for graceful degradation. More than half the codebase of HS has changed. This required *a lot* of Forms API tricks:
I'm using #process to expand the elements, but unsetting #post to prevent it to override my new #default_values. #after_build to simulate my own form cache (like Drupal 6's Forms API has) and to add a form #submit callback to remove items from this form cache. Setting a value in my #process callback that I use in my element #validate callback to set the proper return value, instead of the values used for internal purposes. And so on.
Revision
1.37 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 17 14:59:46 2008 UTC
(21 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.36: +4 -1 lines
Diff to
previous 1.36
If _hierarchical_select_validate_selection() receives an array as the selection, and all items are invalid, then return -1 instead of an empty array, i.e. *always* return -1 if the selection was invalid.
Revision
1.36 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 8 17:38:26 2008 UTC
(21 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
CVS Tags:
DRUPAL-5--2-0-RC4
Changes since
1.35: +121 -98 lines
Diff to
previous 1.35
- New: ability to set a root level label when enforce_deepest is enabled.
- Improvement: more consistent use of the "<none>" option, available when: optional, or enforce_deepest is enabled, or multiple select is active and at least one item is selected.
- Improvement: the "<none>" option is now automatically selected as soon as at least one item has been added to the dropbox (even if it's a required form item) – this required changes in the client-server interaction.
- Improvement: more reliable lineage reconstruction algorithm when save_lineage is enabled.
- Improvement: all_option setting now only has effect when multiple select is enabled (minor).
Revision
1.35 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 5 19:24:20 2008 UTC
(21 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.34: +11 -5 lines
Diff to
previous 1.34
- New: Level label support when enforce_deepest is enabled; level labels will only be allowed in the root level.
- Improved: level labels UI.
Revision
1.32 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 2 23:20:47 2008 UTC
(21 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.31: +3 -2 lines
Diff to
previous 1.31
Fixed: variable was not being initialized in _hierarchical_select_reconstruct_lineages_save_lineage_enabled().
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 2 01:01:39 2008 UTC
(22 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.21: +4 -3 lines
Diff to
previous 1.21
Only prepend a "none" option to the root level if the form item is optional AND (this is new) if the "enforce deepest" option is enabled.
Revision
1.21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 2 00:25:11 2008 UTC
(22 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.20: +7 -3 lines
Diff to
previous 1.20
Dropbox title not being passed through, thus is reverting to default title after a dropbox entry was added/removed.
Revision
1.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Dec 29 16:31:24 2007 UTC
(22 months, 4 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.12: +62 -53 lines
Diff to
previous 1.12
- Added Marmaladesoul as a sponsor to the README.
- Fixed hierarchical_select_get_dropbox(), which didn't work properly if nothing was selected yet.
- Added custom output when the dropbox is empty.
- Fixed a debug leftover in the Javascript.
Revision
1.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Dec 29 12:42:56 2007 UTC
(22 months, 4 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.10: +27 -5 lines
Diff to
previous 1.10
Remove button has been added. All important features for version 2 of Hierarchical Select are complete now.
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Dec 28 17:58:26 2007 UTC
(22 months, 4 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.9: +363 -52 lines
Diff to
previous 1.9
Initial multiple select support. The "Remove" button does not yet work though, that's for the next revision.
Revision
1.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 25 13:39:30 2007 UTC
(23 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.7: +28 -20 lines
Diff to
previous 1.7
-Added parameter to hook_hierarchical_select_lineage()
-Improved params handling: it now is serialized when sent to Drupal.settings, and unserialized when received in the AHAH request.
-Improved security: added check_plain()'s to _hierarchical_select_render_selects()
-Moved some work from hook_hierarchical_select_lineage() to _hierarchical_select_render()
-Cleaned up string to boolean conversion in AHAH requests by adding a helper function
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 24 23:47:43 2007 UTC
(23 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.4: +115 -39 lines
Diff to
previous 1.4
Implemented #189975: Allow the user to choose an item from any level and allow level labels, and much more.
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Dec 23 22:50:17 2007 UTC
(23 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.2: +140 -49 lines
Diff to
previous 1.2
Initial commit of my work on version 2 of Hierarchical Select. The API has been simplified a lot, but is still in flux.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.