Giter Site home page Giter Site logo

widget_manager's Introduction

Widget Manager

Elgg 6.0 Lint Checks Latest Stable Version License

A plugin for Elgg that adds more widget related features.

Features

  • Index widgets (with a few different layouts)
  • Group widgets (instead of group profile modules)
  • Option to globally hide a specific widgettype (will even hide widget already placed on profile/dashboard)
  • Create group default widgets
  • Create extra pages with a widget layout

widget_manager's People

Contributors

beck24 avatar dragonjon avatar gerard-kanters avatar hypejunction avatar jdalsem avatar jeabakker avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar

widget_manager's Issues

RSS enclosure

The RSS widget does not show enclosures when a RSS feed is provides which does have correct enclosure tags.

'and' option of content_by_tag widget extremely inefficient

With large metastrings tables and a widget with a number of tags being searched it generates monstrous queries with lots of joins.

I don't know if there's a solution for 'and' that doesn't involve so many joins, but I just thought you should know. It actually took our site down with locked tables because of a single widget that was using 8 tags.

We've had to disable the 'and' option for the time being.

Support Request : latest Widget Manager breaks page view of other plugin broken

When the latest Widget Manager is activated it makes the Full View page of hypePlaces lose the site theme and all-broken appearance. See picture please
breaking of hypemaps
Its just a core and default, fresh install of Elgg 1.9.6 + Hypewall + Widget Manager. Activate WM - the hypePlace page is broken, deactivate WM the page is okay. Ismayil Khayredinov may say it has nothing to do with his plugin, so just asking, if any idea / any clue why this may be happening.
Can WM be made to be kept out selectively from hypePlaces by some unregister etc ?

default_access() prevents some users from creating group widgets

Specifically, if a user has their default access set to private - they cannot create a group widget.
The reason is that widgets are set to be owned by the group, but the access_id then becomes ACCESS_PRIVATE as it uses the default_access() of the logged in user.
The user is then attempting to create an entity they don't have permission to see, and the creation fails.

With 1.10.3 - Depreciated in 1.9 message

Hello,

With release 5 for 1.9. I'm running 1.10.3 and when you add the default widgets it generates a message:

Depreciated in 1.9: \ElggMenuItem::factory() does not accept 'class' key anymore, use link_class' instead

The widgets do appear to get added.

fancybox widget selector with no content

If (for some reason) there is no content in the widget selector fancybox will load the url of the button instead of the empty widget selector. Probably there is not id to show for fancybox

Group edit: "Enable management of widgets" set to "No" makes group ususeable

Plugin setting "Enable Widget Manager for groups" is set to yes. When then setting the option "Enable management of widgets" on group edit page to "No" the group profile page does not get rendered correctly anymore (CSS missing). Edit group link is not even shown anymore, so it's only possible access the edit page by directly entering the url.

Tested on Elgg 1.8.15 with Widget Manager 4.3 and 4.5.

Support Request: Trying to make liquid-width unequal-width columns of Widgets

#elgg-widget-col-3 {width :28%}

elgg-widget-col-2 {width :43%}

elgg-widget-col-1 {width :28%}

I do get a middle wider column and two less wide right and left column but when the browser is collapsed to give a mobile view, the wider column becomes disproportionately narrow with texts into almost unreadable narrow lines

How can I just fall back to .elgg-col-1of3 {width :33%} when its a mobile screen or just when a browser window has been resized to a narrow proportion by the viewer? Any css-trick idea?

Featured files?

In the files widget a "show only featured files" option appears, yet featuring files is neither an option in this plugin nor in the file_tools one.

JS error on tabbed dashboard

To recreate:
Enable tabbed dashboard.
Click on the 'house' icon on a page to add it to your dashboard.
Visit the dashboard.

TypeError: 'undefined' is not a function (evaluating '$(".pages-nav").treeview({ persist: "location", collapsed: true, unique: true })')

"Internal" tabbed dashboard breaks javascript and relative urls

it loads content through an alternate view of page/default which bypasses all js registration so various libraries are missing depending on which page is set. Additionally, any links that are set using relative urls (such as pagination) are are broken.

Twitter widget does not keep twitter code

When adding the twitter code and saving, it displays fine. If you then want to change the height in pixels, the widget code is gone. If a user does not notice that, he has to look up the widget code again and paste it again. This happens both in groups and on the profile page.This happens in v4.8

Improvement Widget "Community Favorites"

The Widget "Community Favorites" is very useful and can replace bookmark functions for internal community pages. But the saved page names always contains the community name: "My favorite page: Community Name". Is it possible to store only the page name? Then the favorite widget on the personal dashboard looks a little bit cleaner.

wrong link to favorite/toggle

The script /lib/widgets.php register the action "favorite/toggle" with the following link:

elgg_get_plugins_path() . "widget_manager/actions/favorites/toggle.php"

but the file lies here:

path/to/plugin/widget_manager/actions/favorites/actions/toggle.php

This leads to the error message "The action file for favorite/toggle was not found." If you move "toggle.php" one level lower into the folder "favorites", the error message is no longer shown.

fluid widget layout

should allow for free placement of widgets and support flexibel widget widget/height

Strange looks (icons) and unmovable widgets

When enabling 4.0 beta with 1.8.3, the frontpage widgets are added to the right column, being unmovable. The icons are also not right placed. Same for the group, dashboard and profile-ones, All widgets are unmovable.

Group news index widget issues

The group news index widget does not react to the -size of widget in pixel- advanced setting, and the "advanced" button is not resized with widget width and is thus invisible in thinner widgets.

Tags in dashboard tab title

Using tags in dashboard tab title (like Name) leads to different issues:

  • Edit button shows creation screen instead of editing
  • Missing edit button
  • Dashboard markup is wrapped with used tags

Feature reqest: default widgets also for existing accounts

Please bring back the option to set the profile page and dashboard page default widget layouts also for existing users. Is there a reason this option has gone?

Having this option back seems especially necessary because fixing a widget does also affects the pages of existing users, so they might end with the same widget appearing twice on their pages. In this case it might be the wish of the admin to reconfigure the default layouts completely new and give all users the same page layout.

Getting rid of 'index', 'system' plugin hook deprecation message on index page on Elgg 1.9

Instead of:

elgg_register_plugin_hook_handler('index', 'system', 'widget_manager_custom_index', 50);

it's now:

elgg_register_page_handler('','widget_manager_custom_index');

It looks like nothing else needs to be changed. For it to work the elgg_register_page_handler() function call must be added somewhere within the init function. If added outside of any function like it has been done for the old elgg_register_plugin_hook_handler() call it does not work.

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.