From 391aa2c781b6be89cc34a549427a296c753d2bb2 Mon Sep 17 00:00:00 2001 From: Nicola Date: Thu, 14 Dec 2017 15:10:10 +0100 Subject: [PATCH] changed event to OnManagerWelcomePrerender changed from OnManagerMainFrameHeaderHTMLBlock to OnManagerWelcomePrerender - to avoid load styles and js on all manager pages (and errors) --- install/assets/plugins/DashboardDocList.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/assets/plugins/DashboardDocList.tpl b/install/assets/plugins/DashboardDocList.tpl index 51c8870..199cb6a 100644 --- a/install/assets/plugins/DashboardDocList.tpl +++ b/install/assets/plugins/DashboardDocList.tpl @@ -7,7 +7,7 @@ * @version 2.0.1 * @author Nicola Lambathakis http://www.tattoocms.it/ https://github.com/Nicola1971/ * @license http://www.gnu.org/copyleft/gpl.html GNU Public License (GPL) - * @internal @events OnManagerWelcomeHome,OnManagerMainFrameHeaderHTMLBlock + * @internal @events OnManagerWelcomeHome,OnManagerWelcomePrerender * @internal @properties &wdgVisibility=Show widget for:;menu;All,AdminOnly,AdminExcluded,ThisRoleOnly,ThisUserOnly;All &ThisRole=Show only to this role id:;string;;;enter the role id &ThisUser=Show only to this username:;string;;;enter the username &wdgTitle= Widget Title:;string;Documents List &wdgicon=widget icon:;string;fa-pencil &wdgposition=widget position:;list;1,2,3,4,5,6,7,8,9,10;1 &wdgsizex=widget width:;list;12,6,4,3;12 &ParentFolder=Parent folder for List documents:;string;0 &ListItems=Max items in List:;string;50 &dittolevel=Depht:;string;3 &hideFolders=Hide Folders:;list;yes,no;no &showUnpublished=Show Deleted and Unpublished:;list;yes,no;yes;;Show Deleted and Unpublished resources &showAddButtons=Show Create Resource Buttons:;list;yes,no;no;;show header add buttons &showStatusFilter=Show Status Filter:;list;yes,no;yes;;require Show Deleted and Unpublished - YES &DisplayTitle=Display Title in title column:;list;pagetitle,longtitle,menutitle;pagetitle;;choose which title display in title column &showParent=Show Parent Column:;list;yes,no;yes &showUser=Show User Column:;list;createdby,publishedby,editedby,no;createdby &showDate=Show Date Column:;list;createdon,publishedon,editedon,no;editedon &dateFormat=Date Column Format:;list;DD MM YYYY,MM DD YYYY,YYYY MM DD;DD MM YYYY &TvColumn=Tv Columns:;string;[+longtitle+],[+menuindex+] &TvSortType=Tv Column Sort type:;string;text,number &ImageTv=Show Image TV:;string;image;;enter tv name &ShowImageIn=Show image Tv in:;list;overview,column;overview &tablefields=Overview Tv Fields:;string;[+longtitle+],[+description+],[+introtext+],[+documentTags+] &tableheading=Overview TV headings:;string;Long Title,Description,Introtext,Tags &editInModal=Edit docs in modal:;list;yes,no;no;;edit and create resources in evo modal window &showMoveButton=Show Move Button:;list;yes,no;yes;;hides the button to everyone, even if the user has permissions &showAddHere=Show Create Resource here Button:;list;yes,no;yes;;hides the button to everyone, even if the user has permissions &showPublishButton=Show Publish Button:;list;yes,no;yes;;hides the button to everyone, even if the user has permissions &showDeleteButton=Show Delete Button:;list;yes,no;yes;;hides the button to everyone, even if the user has permissions &HeadBG=Widget Title Background color:;string; &HeadColor=Widget title color:;string * @internal @installset base, sample * @internal @modx_category Dashboard @@ -52,8 +52,8 @@ $button_pl_config = '