# HG changeset patch # User cavaliet # Date 1337165217 -7200 # Node ID 95ccb352452282e764fb69ef5df2484dcb003a60 # Parent dff31c10f75124f2b4b3659a4606c9398af682fb update configuration for document_list_profile diff -r dff31c10f751 -r 95ccb3524522 Controller/WikiTagController.php --- a/Controller/WikiTagController.php Wed May 02 13:45:37 2012 +0200 +++ b/Controller/WikiTagController.php Wed May 16 12:46:57 2012 +0200 @@ -64,6 +64,7 @@ $categories = json_encode($ar); // Management of profiles for the list of displayed columns and reorder tag button $profile_array = $this->container->getParameter("wiki_tag.document_list_profile"); + #var_dump($profile_array[$profile_name]); $columns_array = null; if($profile_array!=null && $profile_name!=null && $profile_name!=""){ $columns_array = $profile_array[$profile_name]; diff -r dff31c10f751 -r 95ccb3524522 Resources/public/js/wikiTag.js --- a/Resources/public/js/wikiTag.js Wed May 02 13:45:37 2012 +0200 +++ b/Resources/public/js/wikiTag.js Wed May 16 12:46:57 2012 +0200 @@ -176,8 +176,8 @@ }, dragHandle: "wikitag_updown_td" }); - // Hide/show column management. We disable the possibility to hide menu (column 14). - $('#wikitag_table').columnManager({listTargetID:'wikitag_ul_target', onClass: 'wikitag_advon', offClass: 'wikitag_advoff', hideInList: [14], saveState: true, colsHidden: columsToHide}); + // Hide/show column management. + $('#wikitag_table').columnManager({listTargetID:'wikitag_ul_target', onClass: 'wikitag_advon', offClass: 'wikitag_advoff', hideInList: notInList, saveState: true, colsHidden:columsToHide }); //create the clickmenu from the target $('#wikitag_ulSelectColumn').clickMenu({onClick: function(){}}); } diff -r dff31c10f751 -r 95ccb3524522 Resources/views/WikiTag/documentTags.html.twig --- a/Resources/views/WikiTag/documentTags.html.twig Wed May 02 13:45:37 2012 +0200 +++ b/Resources/views/WikiTag/documentTags.html.twig Wed May 16 12:46:57 2012 +0200 @@ -10,7 +10,7 @@ {% block document_tags %}