Compatible with Table Sorter Plugin?
Permalink Browser Info Environment
I've several tables and I wanted to make them autosorted. The Plugin Table Sorter is just what I needed. However it appears that it doesn't seem to work with this theme. Is there anything I need to do from a javascript/loading perspective to get this to work with this theme?
Type: | Discussion |
---|---|
Status: | In Progress |
Thanks for your help. I've been looking through the various templates - view.php and unfortunately I am not seeing what you are describing.
I believe you are saying I need to edit the view.php of the plugin? I see the 2 js files it needs to load (that obviously are not being loaded) but not sure what to do.
I believe you are saying I need to edit the view.php of the plugin? I see the 2 js files it needs to load (that obviously are not being loaded) but not sure what to do.
If you take a look at the "jb_mobile_gallery" block within the Mobile App theme, the view.php contains the inclusion of any relevant JS files (rather than doing that in the controller.php which is the typical approach in C5). This is because the Mobile App theme preload all the relevant content and skips any "header" stuff that other blocks may include (like CSS and JS). So they have to be done in the view.php file to get included.
Hope this helps.
JB
Hope this helps.
JB
Thanks that did it - for those interested - I added the following lines to the view.php in the tablesorter
Great to hear :)
JB
On 16 Jan 2016 6:01 pm, "concrete5 Community" <discussions@concretecms.com>
wrote:
JB
On 16 Jan 2016 6:01 pm, "concrete5 Community" <discussions@concretecms.com>
wrote:
Hope this helps.
JB