We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New Extension: Edit Table Plus (Table Sorting for 1.6.x!)

Development and Programming

Danny T.'s avatar
Danny T.
426 posts
15 years ago
Danny T.'s avatar Danny T.

Working fine now. Not to sure what’s up! I’ll dig in a bit more as well.

       
Wes Rice's avatar
Wes Rice
103 posts
15 years ago
Wes Rice's avatar Wes Rice

The extension should only be called when you go to the edit page. I need to look over the code to confirm that it is actually doing that, but that whats supposed to be happening.

       
Wes Rice's avatar
Wes Rice
103 posts
15 years ago
Wes Rice's avatar Wes Rice

I just uploaded 1.2.0. There are some important changes that may be important to you moving forward

After much deliberation, I decided to remove the feature that allowed you to remove columns from the table. My reasoning was that there are other extensions, such as Seesaw which handle this task in a much better fashion.

I’ve also added a new settings form that makes better groupings of settings. I recommend installing the new updates, disabling the extension and reenabling the extension, and then resetting the extension settings.

Here are a couple of the new features:

  • You can hide the search form above the edit table now. This is useful if you want to simplify the page for your clients. I have clients who I know have never even thought about touching the search feature.

  • The results per page select within the search form is now controlled via the extension settings. All option are pipe delimited, and a “Show All” option will automatically be added as the last option. I have a weblog with over 200 entries that still displays and sorts in a snappy fashion. I’m not sure how many entries will start to cause performance issues.

  • You can also set a default number of entries to show per page. If left blank, all will be shown by default.

  • If you want your client to always see all of the entries, you can leave the default number of entries blank and then hide the results select, or just hide the whole search form.

Upcoming features I have planned are live search within the table and sorting of all results across pagination.

Let me know if you have any problems.

       
Danny T.'s avatar
Danny T.
426 posts
15 years ago
Danny T.'s avatar Danny T.

Just tested out the new build. Great work. I’ve tried hiding the search form, but am only getting it removing the container heading. Posted a screenshot.

       
Wes Rice's avatar
Wes Rice
103 posts
15 years ago
Wes Rice's avatar Wes Rice

@Danny

Can you send me a screen of your extension settings so I can replicate your environment as best as possible?

       
Danny T.'s avatar
Danny T.
426 posts
15 years ago
Danny T.'s avatar Danny T.

I’ve sniffed around the Extensions and don’t see anything that would interact with the Edit menu that’s enabled. Nonetheless, here’s the screenshot for you. The Tag related extensions are part of the Solspace Tag module.

Hope this helps! I’ll disable some and try and figure it out as well. And please, disregard the little search box icon. 😉

       
Wes Rice's avatar
Wes Rice
103 posts
15 years ago
Wes Rice's avatar Wes Rice

@Danny

Can you send a screen of the Edit Table Plus extension settings as well?

       
Danny T.'s avatar
Danny T.
426 posts
15 years ago
Danny T.'s avatar Danny T.

Just finished watching the Adobe CS5 launch video on the website. Here’s the screenshot mate — hope it helps!

       
Laisvunas's avatar
Laisvunas
879 posts
15 years ago
Laisvunas's avatar Laisvunas

Hi,

Huge thanks for this amazing extension.

I found a couple of issues:

1) When you install this extension v1.2 and open Settings page several PHP errors are displayed:

Notice: Undefined index: sorting in /home/classic1/public_html/eesys/lib/edit_table_plus/views/settings_form.php on line 10 Notice: Undefined index: default_sort in /home/classic1/public_html/eesys/lib/edit_table_plus/views/settings_form.php on line 16 Notice: Undefined index: sort_order in /home/classic1/public_html/eesys/lib/edit_table_plus/views/settings_form.php on line 22 Notice: Undefined index: render_table in /home/classic1/public_html/eesys/lib/edit_table_plus/views/settings_form.php on line 29 Notice: Undefined index: searching in /home/classic1/public_html/eesys/lib/edit_table_plus/views/settings_form.php on line 41 Notice: Undefined index: hide_select in /home/classic1/public_html/eesys/lib/edit_table_plus/views/settings_form.php on line 47

2) This extension prevents deselecting all checkboxes by clicking topmost checkbox. (It is possible to select all checkboxes by clicking topmost one, but not deselect).

       
Wes Rice's avatar
Wes Rice
103 posts
15 years ago
Wes Rice's avatar Wes Rice

@Laisvunas

I haven’t seen any of the PHP notices before, although I’m sure it’s because I haven’t had php’s error reporting enabled.

I’ll look and see what I can do about the checkbox. The table sorting plug creates an onClick even for the cell itself, and since the checkbox is a child of the cell, clicking on the checkbox fires the parent’s event. I’m going to try to disable sorting for that column and hopefully that will solve the issue.

       
BackBeat Media's avatar
BackBeat Media
76 posts
15 years ago
BackBeat Media's avatar BackBeat Media

Nice extension, this is exactly what we were looking for!

I noticed it didn’t play well with Masked CP URL (since it’s looking for js files in the lib folder). I moved the css,images,js folder out to the themes folder and defined a path in the code like so:

if (!defined('EDIT_TABLE_PLUS')) {
                define('EDIT_TABLE_PLUS', $PREFS->ini('theme_folder_url', 1).'edit_table_plus/');
    }
       
BackBeat Media's avatar
BackBeat Media
76 posts
15 years ago
BackBeat Media's avatar BackBeat Media

Also, there seems to be a conflict between this ext and filter_by_author.

I added

$o = $EXT->last_call;

to the edit_entries_search_form function.

       
immd's avatar
immd
20 posts
15 years ago
immd's avatar immd

fyi.. I just got the same php notices as @Laisvunas. once I submitted the form for the settings they went away.

       
Wes Rice's avatar
Wes Rice
103 posts
15 years ago
Wes Rice's avatar Wes Rice

@immd, @Laisvunas Oh…If your updating from 1.x.x to 1.2.x then you need to enable/disable the extension and reset the form settings. I mentioned it http://ellislab.com/forums/viewthread/148089/P18/#736829 , but I’ll be sure to include this in the first post and changelog as well.

@Stephen (tmoswift) I’ll be sure to make the appropriate updates for future releases. The edit_table_plus folder will be moving from the system/lib folder to the themes/cp_themes/ folder in future releases.

       
immd's avatar
immd
20 posts
15 years ago
immd's avatar immd

mine was a first install and not updating from previous version…

       
1 2 3 4

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.