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

Edit Remember

Development and Programming

Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

This extension remembers your edit screen across views. So if you filter by category and then leave and come back it will still be filtered by category. Try it out and let me know if there’s anything else I could add to it.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

Uploaded and enabled this on build 20061011 and get these errors on the edit screen:

Notice: Undefined index: edit_remember in /www/username/public_html/system/extensions/ext.edit_remember.php on line 117

Warning: Cannot modify header information - headers already sent by (output started at /www/username/public_html/system/extensions/ext.edit_remember.php:117) in /www/username/public_html/system/core/core.functions.php on line 707

Sounds like a good extension idea though! =)

       
Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

Updated to 1.0.1 to fix that bug. Thanks Lisa.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
16 years ago
Lisa Wess's avatar Lisa Wess

Now that is pretty darn cool. Thanks, Mark!

       
Jan_Huygens's avatar
Jan_Huygens
106 posts
16 years ago
Jan_Huygens's avatar Jan_Huygens

What a good chap you are!!!!

This is great! I’ve just tried it out and it works like a dream.

😊

Jan

       
sigork's avatar
sigork
155 posts
16 years ago
sigork's avatar sigork

Each writer has his/her own settings?

Or the settings are common for all writers/admins?

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

Thanks, Mark. It comes in very handy.

If you’re looking for a suggestion for another quick and dirty extension, might I suggest a method to add custom statuses to the drop down list?

       
Will Bolton's avatar
Will Bolton
30 posts
16 years ago
Will Bolton's avatar Will Bolton

I get this error on the edit page (Build: 20061011):

Warning: session_start(): open(\xampp\tmp\sess_99551e325ab3d7accc1565d34b7281d5, O_RDWR) failed: No such file or directory (2) in E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php on line 111

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php:111) in E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php on line 111

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php:111) in E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php:111) in E:\My Projects\Expression Engine\WWW\system\core\core.functions.php on line 707

FYI I am also using Filter By Author (v.1.0) and Simplify Edit Table (v.1.0) just in case there might be some kind of conflict.

Definitely a good idea for an extension though.

       
Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

sigork: It works per session, so when you close your browser window it will go back to the default view.

Sue Crocker: huh, i hadn’t even noticed that wasn’t possible. i’ll have to look into this.

       
Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

WillB: I think I was starting a session that another extension already started. So I’ve put in a conditional to fix that, please try the new version (1.0.2) at the top of the thread.

Sue Crocker: My additional statuses were showing up in the list in (1.5.1), but only after I chose a weblog? are you talking about having all the statuses show up before a weblog is selected?

       
Will Bolton's avatar
Will Bolton
30 posts
16 years ago
Will Bolton's avatar Will Bolton

Whoa - speedy response! But still getting the error relating to session_start():

Warning: session_start(): open(\xampp\tmp\sess_1973e8bfe252120db9feb3dc81a8ea6e, O_RDWR) failed: No such file or directory (2) in E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php on line 113

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php:113) in E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php on line 113

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php:113) in E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php on line 113

Warning: Cannot modify header information - headers already sent by (output started at E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php:113) in E:\My Projects\Expression Engine\WWW\system\core\core.functions.php on line 707

By the way I just changed my display name to my full name (WillB to Will Bolton) which might be a bit confusing to someone reading this thread.

       
Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

Will, It seems that the error was a PHP problem on a Windows server, see the following php.net/session_start documentation:

A note on Windows installations with an NTFS file structure: Make sure you give your Internet user account (usually IUSR_MACHINENAME) “Modify” access to the session.save_path directory. Otherwise session_start() will silently - and oh, so slowly - fail. (“Modify” is a Win2k term, but the concept translates to older IIS installs).

Sue: Give the new version a try, I’ve implemented the status switch you asked for, and I think I also do the same for categories?

       
Will Bolton's avatar
Will Bolton
30 posts
16 years ago
Will Bolton's avatar Will Bolton

Problem solved! Yes it was a php problem specifically relating to a server running on Windows. I had to edit my php.ini file from this:

session.save_path = "\xampp\tmp"

To this:

session.save_path = "D:\xampp\tmp"

It now works as expected. Thanks Mark.

       
Mark Huot's avatar
Mark Huot
587 posts
16 years ago
Mark Huot's avatar Mark Huot

great! glad you got it working.

       
Will Bolton's avatar
Will Bolton
30 posts
16 years ago
Will Bolton's avatar Will Bolton

Updated to 1.0.3 and I now get this error:

Notice: Undefined index: status in E:\My Projects\Expression Engine\WWW\system\extensions\ext.edit_remember.php on line 181

Why did I update to 1.0.3 when 1.0.2 was working just fine? Good question. Attempted to roll back to 1.0.2 but it just made things worse.

I don’t get the error when an actual status is selected in the dropdown box, i.e. ‘Open’ or ‘Closed’. The error occurs when dropdown box has either ‘Filter By Status’ or ‘All’ selected.

       
1 2 3

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.