Closed ericras closed 4 years ago
I created a branch: issue-139-news-followup
The last commit adds a "Recent News" custom block to replace the default block provided by views.
All issues have been addressed.
AJAX calls fail in the Views edit interface.
Location: /web/admin/structure/views/ajax/display/news_recent/block_1/block_hide_empty?_wrapper_format=drupal_ajax
Notice: Undefined index: use_more_text in unl_views_form_views_ui_edit_display_form_alter() (line 33 of /Library/WebServer/Documents/workspace/project-herbie/web/modules/custom/unl_views/unl_views.module)
Error: Call to a member function __toString() on null in unl_views_form_views_ui_edit_display_form_alter() (line 33 of /Library/WebServer/Documents/workspace/project-herbie/web/modules/custom/unl_views/unl_views.module)
Fixed with 459b762
Let's discuss the category label at Monday's weekly meeting
Per discussion at this week's meeting, we're replacing the "UNL" category. Any custom blocks are probably UNL-related anyway. For now, we're going with a type-of-block convention as opposed to a type-of-content convention. Type of block means views, menus, users. Type of content means news, events, people, etc. In this case, we're using "Aggregated Content" in lieu of "Views" because "Views" is a Drupalism without meaning to end users.
Follow up to items in https://github.com/unlcms/project-herbie/pull/92#issuecomment-536689396
92
Also: add permissions