This patch is for a complete usability between Taxonomy and linkit

* use taxonomy_term_path()
* filter term autocomplete on vocabulary
* add class on autocomplete field

CommentFileSizeAuthor
#2 linkit.patch4.29 KBPierreMunck
linkit.patch6.73 KBPierreMunck

Comments

anon’s picture

Version: 6.x-1.8 » 6.x-1.x-dev
Status: Patch (to be ported) » Needs work

Sorry, I cant apply this patch.
Can you try to make a new one agains the 6.x-1.x-dev version.

taxonomy_term_path is fixed there so we dont have to make that again.

Thanks.

PierreMunck’s picture

Status: Needs work » Patch (to be ported)
StatusFileSize
new4.29 KB

Sorry my first patche was made for 6.x-1.x-1.8
I just send a correct patch for 6.x-1.x-dev

anon’s picture

Status: Patch (to be ported) » Needs review

@PierreMunck, Grate, I will take a look at this asap.

Also, please read http://drupal.org/node/156119

anon’s picture

Status: Needs review » Needs work

I have some questions:

Why should the vocabulary with vid 1 become default?

 if($term_settings['vocabulary'][$vocabularie->vid] == 1){
   $default_value_vocabulary[] = $vocabularie->vid;
 }

The settings for vocabulary settings isnt printed out correct after saving.

Why have you added $class?
$text = '<div class="clear-block'. $class .'">';

$matches['node'][$i] = array(
      'title' => $node->title,
      'path' => 'internal:node/' . $node->nid,
      'information' => array(
        'type' => 'Node',
      ),
      'class' => 'item-node',
    );
anon’s picture

Status: Needs work » Closed (won't fix)