Release info

Created by: marvil07
Created on: June 29, 2010 - 05:51
Last updated: June 29, 2010 - 05:55
Core compatibility: 6.x
Release type: New features, Bug fixes

Release notes

Changes since DRUPAL-6--2-0-BETA1:

  • minor: Avoid undefined variable on hook_nodeapi.
  • feature #758872 by brad bulger | marvil07: Added add 'raw_points()' preprocess template variable to display null vs 0 votes.
  • feature #582624 by dixon_, marvil07: Expose widget to CCK fields reordering
  • Reset link shows up for users without right permissions.
  • bug #210905 by Mikhail Khazov, matt@antinomia, marvil07: Fixed Only show 'Reset vote' link if user has voted on node/comment.
  • task #818500: widget documentation to asciidoc
  • task #821048 by marvil07: Make widgets easy to theme.

    - update vud_widget arguments on hook_theme().
    - we do not have standard theme overwrite so, generalizing a pseudo
    theming function for widgets and votes: vud_pseudo_theming(), to reuse
    it on both proxy functions. We do that in this way:
    - let modules modify variables passed to the template
    - and then provide template suggestions by hand. so, stop providing
    function suggestions at theme calls, now we are using a mimic of
    template suggestions. we are not using direct theme templates because
    is not possible to decide dinamically the path where the template is
    located(in contrast with function names and template names).
    - for this change create and implement hook_template_suggestions() on vud_* modules
    - no more need to use implement hook_theme() on vud_* modules.
    - fix: define vud_votes theme hook once at
    - remove vud_theme_functions() an update theme calls accordingly
    - document all this changes!

  • feature #660258 by marvil07, franz, dixon_: Expose widgets as views fields.

    This add support for the three vud_* submodules in the following way:

    - vud_node: let you add a vud_node widget on a node view showing one
    widget per row.
    - vud_comment: let you add a vud_comment widget on a comment view showing
    one widget per row.
    - vud_term: let you add vud_term widgets on a node view showing one
    vud_term table per row. this is because vud_term vote tag
    depend on one nid.