mrtopher / dashee Goto Github PK
View Code? Open in Web Editor NEWControl panel dashboard framework for EE CMS.
Control panel dashboard framework for EE CMS.
Module loads it's CSS files after the override.css file which means override can't do what it was designed to do in respect to dashEE.
Running 2.2.2, and quite a few add ons, but none that should affect the homepage. When I click "widgets", I see the site load in the window, but since it is being called to from the system folder, anything that isn't a hardcoded path doesn't render.
Hi,
Running EE 2.9.2 and dash-EE 2.1 (just installed the update).
When I create a new dashboard and try to reset a member group to update to the new layout, I'm getting a database error:
A Database Error Occurred
Error Number: 1054
Unknown column 'config' in 'field list'
UPDATE `exp_dashee_members` SET `config` = '{\"widgets\":{\"1\":[],\"2\":{\"wgt32513617\":{\"mod\":\"dashee\",\"wgt\":\"wgt.recent_entries.php\",\"state\":1}},\"3\":{\"wgt36286835\":{\"mod\":\"dashee\",\"wgt\":\"tasklist\",\"state\":1,\"stng\":\"{\\\"list_id\\\":\\\"pjX6pI3slW\\\",\\\"title\\\":\\\"Task List\\\"}\"}}},\"columns\":3,\"state_buttons\":true,\"locked\":false}' WHERE `id` = '1'
Filename: third_party/dashee/models/dashee_model.php
Line Number: 558
Any idea how to fix this?
Thanks in advance!
Fatal error: Call to undefined method stdClass::userdata() in /home/unitech/public_html/system83m7z6c/expressionengine/third_party/dashee/models/dashee_update_model.php on line 37
Thanks for the great add-on! I just created a new widget based on your Recent Entries widget to show the most recently updated entries but the date formatting for edit_date doesn't seem to work the same way as it does for the entry_date.
Do you know a way to show the edit_date in the same format as the entry_date?
Thanks!
dashEE does not work with Zoo Flexible Admin also installed.
Need to append JS from other add-ons to dashEE JS in order for it play well with other add-ons.
When saving layouts I can only save 1 per page refresh. Any others are not saved to the DB although they appear to be.
I think this is a problem with the XID for the form getting stripped after the first AJAX submission.
Widgets that are packaged with third party modules, and that leverage their modules language file, are experiencing issues with the language file not loading. The widgets name and description are displayed correctly in the widget listing but not when the widget is added to a users dashboard.
I believe this has something to do with scope issues introduced in the latest version of EE. It works on the widget listing because the dash module loads the language file and then uses it. When loading a widget, dash may load the language file but the widget class is what's referencing it and since that is a different scope I believe this is where the problem lies.
I'm still investigating but a quick fix to this problem is to simply load your modules language file in the constructor of your widget class using $this->EE->lang->loadfile() and everything should display correctly.
I have created a layout for a specific member group.
I then created a new widget, how do i add this to an existing layout and have it appear for all members in that group? Do i save the layout with the same name so it overwrites?
I cant seem to figure this out.
The older RSS feed from ExpressionEngine is no longer accessible and needs to be updated in the RSS widget from
'url' => 'http://expressionengine.com/feeds/rss/eeblog/',
to
'url' => 'http://ellislab.com/blog/rss-feed',
This is also the cause of the PHP errors when adding widget for first time as there is no method for checking if feed does not exist.
I've installed dashEE on EE 2.5.5 and was met with a ton of PHP errors all stemming from a call to the undefined function EE().
ee() was introduced in EE 2.6.0, so perhaps you could simply add a helper function that checks if ee() is defined, and if not define it yourself, then your code can carry on as usual...
Thanks!
John
In "Tips & Tricks" part of the docs you recomment to add CSS rule #breadCrumb ol { display:none; } to EE theme override.css file.
There is easier way to achieve the same: using the hook cp_css_end which adds custom CSS to every Control Panel page (see description at )http://expressionengine.com/user_guide/development/extension_hooks/cp/css/index.html
You just need to add cp_css_end to the hooks list in ext.dashee.php file and a simple function:
function cp_css_end()
{
$css = "#breadCrumb ol { display:none; }";
return $css;
}
After selecting 2 columns layout when adding new widget PHP error displayed.
To replicate:
Load default EE layout
Go Settings, select 2 columns and submit
Go Widgets click "Add" for some widget
See PHP error message
Severity: Notice
Message: Undefined offset: 3
Filename: dashee/mcp.dashee.php
Line Number: 713
I've been getting this error in EE 2.5.3. Making the code change below in ext.dashee.php fixed it for me.
change:
public function sessions_end( &$data )
to:
public function sessions_end( $data )
I just updated to the latest version of dashEE and am getting this error when trying to access the control panel.
Would like ability to save whether a widget is minimized or not to the DB so it's state is retained through reloads.
I am using EE 2.8.1 with a slightly customized CP theme, and after I updated Dash:ee the css doesn't appear to be working anymore. All the dashboard buttons for the module are stacked on the left side and don't look like buttons anymore. When I inspect the code, there is no add-on css targeting any of the elements generated by Dash:ee.
Screenshot: http://postimg.org/image/9y5tjbkwh/
Can't seem to delete them either...
Though I've created a specific member group layout and have assigned it to that member group, those members are instead served up the Default EE CP layout. Why might that be? EE Full 2.9.2, dashEE 2.1, and I do have ZFA 1.83 if that makes a difference. Thanks!
file models/dashee_model.php
public function get_module_url()
{
$s = 0;
switch($this->_EE->config->item('cp_session_type'))
s always 0 as parameter name changed.
Hi,
So I have a dashboard locked for a member group, but I'm still seeing "Default," "+Add," rename, reset and delete buttons.
Any way to remove those? I'm trying to give my client as few places as possible that they can click on.
Thanks!
The one thing I have been unable to figure out is how to keep users from being able to bring up the default EE CP. Using hooks I can redirect the user upon login and using javascript I can change the home and breadcrumb links. But there are intermittent instances when users will still be redirected to the default EE CP.
Would love to find a way to redirect any requests to ?D=cp&C=homepage to dashEE but I'm not sure how yet.
This is fantastic! The only thing I'd like to see are more permissions. Right now it looks like each dashboard configuration is on a per member basis. It would be nice to be able, as a super admin, to lock certain widgets to the page for all users. I can see times where I'd need all members to see a specific widget, but they could move it and customize around it, but just can't remove it from the screen, and it would obviously appear on their dashboard the first time they login.
This is definitely going to be installed in all our EE sites. Thanks for sharing.
I was previously running dashEE 1.9 and updated to 2.0. Upon going to dashEE from the Add-Ons > Modules, I get:
"Fatal error: Call to undefined function cp_url() in /workspace/key-surgical/system/expressionengine/third_party/dashee/views/index.php on line 6"
After updating returned the error, I uninstalled and completely removed dashEE's files and made sure the tables were out of the database before installing dashEE 2.0 again. The same error appears.
Environment Details:
dashEE 1.9 was a lifesaver for me, thanks for all that you do! Let me know if I can provide any more information.
After dragging a widget with settings to a new location clicking the settings icon results in several PHP errors. Doesn't happen before widget is moved but does after. Refreshing the page does resolve issue until widget is moved again.
hi
im having a problem showing dashEE for members but works correct for superadmins
but for superadmins:
http://domain.com/cms/system/index.php?S=0&D=cp&C=addons_modules&M=show_module_cp&module=dashee
but if i surf to ' http://domain.com/cms/system/
' then it removes the dashee
members: isn't working
although i did follow the steps
"User groups must be given permission to access the “Add-Ons” and “Add-Ons: Modules” sections, as well as the module itself, in order for users other than super-admins to access the module. "
However if i add the url manually 'index.php?S=0&D=cp&C=addons_modules&M=show_module_cp&module=dashee' it does work (still not entirely correctly but it shows dashee)
the breadcrumb doesn't redirect to the correct url either
for example when i edit a page i get right under the main menu
SITENAME/Dashboard
Sitename is a link but it doesn't redirect correctly
After dragging widgets the first widget in the left column is placed lower than the first in the right column
To replicate:
Load default EE layout
Drag all widgets from the left column to the center column
Drag the back
See the widgets in the left column being placed lower than in the center column and in the right column
Make module MSM compatible so users can have a different dashboard per site.
Just letting you know... I installed dashEE with EE 2.6 and when I click on the home icon it goes to a 404 page. The developer log says:
Deprecated function set_variable() called in system/expressionengine/third_party/dashee/mcp.dashee.php on line 89.
Deprecated since 2.6. Use view-> = ; instead.
Currently it is possible to have only 3 columns of widgets. Because columns are 3, widgets are necessarily narrow.
Narrow widgets isn't good in case some widget should contain rich information. For example, my add-ons New Entries Info http://devot-ee.com/add-ons/new-entries-info or Member Profile Antispam http://devot-ee.com/add-ons/profile-antispam. Yet another example is Google Analytics Panel http://devot-ee.com/add-ons/google-analytics-panel. They look good in EE1.x because CP widgets in EE1.x being sorted into 2 columns are wider; it is difficult to squeeze all that info into narrow space and because of this these and other widgets hardly can be ported to dashEE.
So, I propose to add an option to have either 2 or 3 columns (i.e. either narrower or wider) widgets.
I was asking about the Reset issue, but now I see you have an updated file posted here. Thanks!
Hi
I am getting a couple of php errors when hitting the home button. RUnning ee 2.5.5.
A PHP Error was encountered
Severity: Notice
Message: Undefined index: fingerprint
Filename: dashee/ext.dashee.php
Line Number: 155
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /xxx/base/system/codeigniter/system/core/Exceptions.php:170)
Filename: dashee/ext.dashee.php
Line Number: 159
This also means that after login the control panel is blank and shows this error:
Fatal error: Call to undefined function ee() in /Users/christiangeyer/Sites/base/public_html/third_party/dashee/models/dashee_model.php on line 82
thanks for looking in to this
Christian
After selecting 2 column layout former width of the columns is retained leaving empty space to the right of the second column.
It seems that after selecting 2 column layout css rule
should be changed to bigger value, say, to
but the value remains the same causing big blank space to appear.
without changing the width of the colums 2 column layout and 1 column layout is of no value to the user. The point of having 2 columns or 1 column is to place more relevant info into the panel.
Previously, I've run Dashee with EE 2.7 with no hassles at all. This time, on a fresh 2.8.1 install, I was locked out of admin. I had to go into the database and delete all dashEE files manually in order to login to admin. I'm wondering if anyone has experienced this?
system/expressionengine/third_party/dashee/models/dashee_update_model.php is missing in 2.1 zip on the github page
Line 138 in the extension gives a notice / error about undefined index. https://github.com/mrtopher/dashEE/blob/master/third_party/dashee/ext.dashee.php#L138
Should be:
// if($u['group_id'] == 1 && $this->settings['redirect_admins'][0] != 'yes') return;
if($u['group_id'] == 1 && empty($this->settings['redirect_admins'][0])) return;
There is a problem with dashEEs CSS when using the corporate theme. Does not render properly. Will need to find a way to separate dashEE theme CSS from module CSS so it can be modified/updated by developers.
The RSS feed reader widget is suddenly throwing PHP errors and not doing so gracefully.
Add ability for super administrators to hide options like the Widgets and Settings buttons from certain membership groups essentially locking down their dashboard layout so it cannot be changed.
Requested via devot-ee: http://devot-ee.com/add-ons/support/dashee/viewthread/3738/
Hi there,
is there a way to add new widgets to your list of widgets? The entry_api also support, as from version 3.4 Dashee with a widget of the latest logs.
Let me know.
Best,
Rein
If a member that belongs to X group that has one layout associated to it, gets added to another group with a different layout associated. The layout doesn't appear to change. It works fine if the layout gets reset (via reset button) after the member changes the group. Is that the how it was meant to be (Manual reset after any member group changes)?
Using EE 2.6.1 and Dashee 1.8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.