1 of 2
1
Edit Remember
Posted: 26 October 2006 05:57 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

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.

File Attachments
ext.edit_remember_110.zip  (File Size: 3KB - Downloads: 509)
 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 26 October 2006 06:50 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32132
Joined  05-14-2004

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! =)

 Signature 
Profile
MSG
 
 
Posted: 26 October 2006 07:07 PM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

Updated to 1.0.1 to fix that bug.  Thanks Lisa.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 26 October 2006 07:09 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32132
Joined  05-14-2004

Now that is pretty darn cool. Thanks, Mark!

 Signature 
Profile
MSG
 
 
Posted: 27 October 2006 04:18 AM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  316
Joined  04-11-2006

What a good chap you are!!!!

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

grin

Jan

 Signature 

OakenPage website works - doing simple things well

Profile
 
 
Posted: 27 October 2006 06:15 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
RankRankRank
Total Posts:  970
Joined  06-13-2005

Each writer has his/her own settings?

Or the settings are common for all writers/admins?

 Signature 

tulks.com

Profile
 
 
Posted: 27 October 2006 07:14 AM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11739
Joined  04-29-2002

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?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 27 October 2006 07:26 AM   [ Ignore ]   [ # 7 ]  
Grad Student
Avatar
Rank
Total Posts:  43
Joined  08-18-2005

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.

Profile
 
 
Posted: 27 October 2006 07:31 AM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

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.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 27 October 2006 07:36 AM   [ Ignore ]   [ # 9 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

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?

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 27 October 2006 07:44 AM   [ Ignore ]   [ # 10 ]  
Grad Student
Avatar
Rank
Total Posts:  43
Joined  08-18-2005

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.

Profile
 
 
Posted: 27 October 2006 07:58 AM   [ Ignore ]   [ # 11 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

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?

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 27 October 2006 08:51 AM   [ Ignore ]   [ # 12 ]  
Grad Student
Avatar
Rank
Total Posts:  43
Joined  08-18-2005

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.

Profile
 
 
Posted: 27 October 2006 09:03 AM   [ Ignore ]   [ # 13 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

great! glad you got it working.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 27 October 2006 10:01 AM   [ Ignore ]   [ # 14 ]  
Grad Student
Avatar
Rank
Total Posts:  43
Joined  08-18-2005

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.

Profile
 
 
Posted: 27 October 2006 10:01 AM   [ Ignore ]   [ # 15 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11739
Joined  04-29-2002

Receiving the following error message in 1.03:

Notice: Undefined index: status in /home/hidden/public_html/system/extensions/ext.edit_remember.php on line 181

This is a 1.5.0 install instead of a 1.5.1 install. Might that be the issue?

Edit: Same problem on my 1.5.1 install.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 27 October 2006 10:15 AM   [ Ignore ]   [ # 16 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

Alright Sue, that should be fixed now in 1.0.4!  Thanks for the tip.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 27 October 2006 01:24 PM   [ Ignore ]   [ # 17 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1183
Joined  01-05-2006

New version: 1.0.5 fixes a problem where the “weblog status group” under admin » weblog admin » weblogs » groups was being rewritten leaving it impossible to set a status group for your weblog.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 29 October 2006 02:22 AM   [ Ignore ]   [ # 18 ]  
Research Assistant
RankRankRank
Total Posts:  970
Joined  06-13-2005

(the same website)

w/o the extension

Filter by Status
All
Open
Closed

w/ the extension

Filter by Status
All
open
closed
Draft

Open / open

And where’s ‘Draft’ in EE w/o the extension? EE bug?

 

P.S. And ext.edit_remember_105.zip has

var $version     = ‘1.0.4’;

 Signature 

tulks.com

Profile
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 62660 Total Logged-in Users: 43
Total Topics: 77196 Total Anonymous Users: 28
Total Replies: 416726 Total Guests: 251
Total Posts: 493922    
Members ( View Memberlist )