Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-418

Add the possibility to tag, categorize or add keyword to project in the administration

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.LATER
    • 2.0.0
    • None
    • None
    • 1 - Middle term
    • 2 - Normal

      • Define a ChooseProjectTag.js which call Ametys.cms.uihelper.ChooseTagHelper (see ChooseTag.js in the cms)
      • Define a create action in the ProjectTagAction.js to be call by the ChooseTagHelper
        create: function (parentId, callback)
        {
        Ametys.plugins.workspaces.project.tag.ProjectTagActions._initFormPanel();
        
        Ametys.plugins.cms.tag.TagHelper.add(
        parentId,
        Ametys.plugins.workspaces.project.tag.ProjectTagActions._formPanel,
        Ametys.message.MessageTarget.PROJECT_TAG,
        "org.ametys.plugins.workspaces.tags.ProjectJCRTagsDAO",
        null
        );
        }

         

      • Define a pipeline tags.json to getAll the tags
      • Define an action GetProjectTagsAction which extends AbstractGetTagsAction
        Handle rights in this action
      • define a ProjectTagDAO which extends AbstractTagsDAO
      • Define a right to tag a project
      • Define a ProjectTreePanel.js which extends Ametys.plugins.cms.tag.TagsTreePanel
      • Define a AffectProjectTagAction.js to launch action to selectTag

            Unassigned Unassigned
            lbouchet Loïc Bouchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: