Pending

User tests: Successful: Unsuccessful:

avatar phproberto phproberto - open - 15 Mar 2013
avatar phproberto
phproberto - comment - 15 Mar 2013

Now the tag field is the same for both nested and ajax fields. To run in ajax mode (default) you can avoid the mode attribute or set it to mode="ajax":

        <field name="tags" type="tag"
            label="JTAG" description="JTAG_DESC"
            class="inputbox span12 small" multiple="true"
        />

And the same field in nested mode:

        <field name="tags" type="tag" mode="nested"
            label="JTAG" description="JTAG_DESC"
            class="inputbox span12 small" multiple="true"
        />

Also we have now a new function to search tags with filters:

// Receive request data
$filters = array(
    // search in path or title
    'like'      => 'mytag',
    // search title
    'title'     => 'mytag',
    // filter language
    'language'  => $app->input->get('language', null),
    // status filter
    'published' => $app->input->get('published', 1, 'integer'),
    // Only search tags in the children tree of
    'parent_id' => $app->input->get('parent_id', null)
);

JTags::searchTags($filters);
avatar infograf768
infograf768 - comment - 17 Mar 2013

fixed with eclipse. thanks

Add a Comment

Login with GitHub to post a comment