Git Product home page Git Product logo

dashee's People

Contributors

john-henry avatar mrtopher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dashee's Issues

Opening Widgets panel causes site to load in its stead

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.

can't reset dashboards (database error)

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!

Upgrading to EE 2.9 gives dashee error

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

edit_date formatting?

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!

Unable to save more than 1 layout.

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.

EE 2.6.x Widget Language File Issue

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.

Modifying layouts

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.

Default RSS Widget feed needs to be updated

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.

Function ee() only available on EE 2.6+

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

Simpler way to avoid flashing of the default links before being replaced with the new ones

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

After selecting 2 columns layout when adding new widget PHP error displayed.

To replicate:

  1. Load default EE layout

  2. Go Settings, select 2 columns and submit

  3. Go Widgets click "Add" for some widget

  4. See PHP error message

Severity: Notice

Message: Undefined offset: 3

Filename: dashee/mcp.dashee.php

Line Number: 713

PHP Error in EE 2.5.3

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 )

Save widget state to DB

Would like ability to save whether a widget is minimized or not to the DB so it's state is retained through reloads.

Css for Dashboard isn't working.

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.

screen shot 2014-06-23 at 12 42 31 pm

Default Member Group Layouts not sticking

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!

Remove the editing tools for locked dashboard?

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!

Users still able to access default EE CP home

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.

More permissions

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.

Fatal error after updating to dashEE 2.0

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:

  • EE v2.7.3 (can update to 2.8.1 if necessary)
  • MAMP Pro (v2.1.1)
  • PHP 5.4.4
  • Focus Lab config

dashEE 1.9 was a lifesaver for me, thanks for all that you do! Let me know if I can provide any more information.

Can't update widget settings after moving

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.

Doesn't show up for members

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

MSM support

Make module MSM compatible so users can have a different dashboard per site.

EE 2.6 Compatible?

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.

Making possible to have 2 or 3 columns of widgets

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.

Getting a database error

I was asking about the Reset issue, but now I see you have an updated file posted here. Thanks!

php error on login

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

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

dashContainer .column {width: 29%;}

should be changed to bigger value, say, to

dashContainer .column {width: 45%;}

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.

EE v2.8.1 login issues

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?

Styling issue when using corporate theme

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.

Submit new widgets

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

Layout doesn't update when member changes the group

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.