views-view.tpl.php needs the 'view-filters', 'view-content' and 'view-empty' classes added in order for view ajax filtering and show more functionality to work properly.

CommentFileSizeAuthor
#4 gesso-view-tpl-classes-2644774-4.patch770 bytesclafferty

Comments

clafferty created an issue. See original summary.

clafferty’s picture

Title: missing view-filters class in view tpl causes ajax to fail » missing view classes in view tpl causes ajax to fail
clafferty’s picture

Issue summary: View changes
clafferty’s picture

StatusFileSize
new770 bytes

This patch adds the class 'view-filters' to the existing .view__filters div b/c the Views module needs that class for ajax filtering. It also adds the 'view-content' and 'view-empty' wrappers around content which is needed by Views 'load more' ajax functionality.

clafferty’s picture

Assigned: clafferty » dcmouyard
Status: Active » Needs review
ldavisrobeson’s picture

My attempts at replicating this issue haven't been successful, is this only happening with the Dev version of Gesso?

clafferty’s picture

You'd need to enable the ajax load more button for a view. Without the view-content class around all the views-row items, the ajax 'load more' button does nothing.

  • dcmouyard committed 0a1453a on 7.x-1.x authored by clafferty
    Issue #2644774 by clafferty: Fixed missing view classes required by ajax...
dcmouyard’s picture

Assigned: dcmouyard » Unassigned
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.