# HG changeset patch # User cavaliet # Date 1342706748 -7200 # Node ID 6abcdd06d7687bfa011958f822d97262bd4a09b7 # Parent 59b34092c4623458ee21fa357f085769ac32b46d enhance document_list_profile and update readme diff -r 59b34092c462 -r 6abcdd06d768 .hgsubstate --- a/.hgsubstate Wed Jul 18 12:36:18 2012 +0200 +++ b/.hgsubstate Thu Jul 19 16:05:48 2012 +0200 @@ -1,1 +1,1 @@ -3e11915dd103414e0380d9f56cfdb59842485e7c vendor/bundles/IRI/Bundle/WikiTagBundle +a22fb91de2311d184e158becd71fe94c384253ba vendor/bundles/IRI/Bundle/WikiTagBundle diff -r 59b34092c462 -r 6abcdd06d768 app/config/config.yml --- a/app/config/config.yml Wed Jul 18 12:36:18 2012 +0200 +++ b/app/config/config.yml Thu Jul 19 16:05:48 2012 +0200 @@ -94,6 +94,7 @@ # If visibility is not defined, it means 0. Hidden columns can be not in the list, it means 0. # Exemple of list : ['sort_tag', 'order', 'move_up_down', 'label', 'wikipedia_link', 'remove_tag_from_list' ] # If document_list_profile in not defined, all columns and the sort tag button will be displayed. + # If no param is set in the controller call, all columns and the sort tag button will be displayed. ({% render "WikiTagBundle:WikiTag:addJavascript" %}) document_list_profile: all: sort_tag: diff -r 59b34092c462 -r 6abcdd06d768 src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig --- a/src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig Wed Jul 18 12:36:18 2012 +0200 +++ b/src/Company/BaseBundle/Resources/views/Index/tag_embedder.html.twig Thu Jul 19 16:05:48 2012 +0200 @@ -8,7 +8,7 @@ {% block js_declaration %} {{ parent() }} -{% render "WikiTagBundle:WikiTag:addJavascript" with {'profile_name': 'editor', 'read_only': true} %} +{% render "WikiTagBundle:WikiTag:addJavascript" with {'profile_name': 'editor', 'read_only': false} %} {% render "WikiTagBundle:WikiTag:addJavascriptForContextSearch" with {'context_name': "only_p"} %} {% endblock %} @@ -24,7 +24,7 @@