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

you’ll be pleasantly surprised to find 1.0.9 at the top now ignores trackbacks also.

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

1.1.0 fixes a bug where the extension wouldn’t play nice with other extensions :-(

       
ignite's avatar
ignite
149 posts
16 years ago
ignite's avatar ignite

Mark, Excellent and quite convenient extension. Thanks very much for sharing it!

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker
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.

Mark, speaking as one of your many admirers, could you please add an RSS feed to your site with your updates? It would be much easier than subscribing to various and sundry posts.

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

Makes sense. I’m looking to update my site and most of my extensions in the coming weeks.

       
Octoplus's avatar
Octoplus
2 posts
16 years ago
Octoplus's avatar Octoplus

Hi Mark

I am making use of your Pages module and I noted that the edit view is not remembered if you click to edit the entries of a multiple entries weblog from the Pages page (why did that just sound really weird). From what I can see this happens because there is no POSTed data and that the info about what weblog to show is being sent via the URL.

I played around with your code a bit and came up with the following which seems to work:

if(isset($_POST) && count($_POST) > 0)
{
    if(isset($_POST['search_in']) && $_POST['search_in'] != 'comments')
    {
        $_SESSION['edit_remember'] = $_POST;
    }
    else
    {
        unset($_SESSION['edit_remember']);
    }
}
else
{
    if(isset($_GET['weblog_id']) && $_GET['weblog_id'] > 0)
    {
        $tmp_post = array ('weblog_id' => $_GET['weblog_id']);
        $_SESSION['edit_remember'] = $tmp_post;
    }
}

Basically I just added the else section to your ‘modify_edit_post’ function after your check to see if the $_POST array has been set. If there is no POST data it checks the $_GET array to see if a ‘weblog_id’ has been supplied in the URL, and if so it stores the id in the ‘edit_remember’ session variable.

I wanted to run this past you to see if there was anything I was missing that may cause problems with the rest of EE or your module.

P.S. Thanks for all the great modules and extensions!

       
chellman's avatar
chellman
4 posts
14 years ago
chellman's avatar chellman

It appears, based on my experience with 1.6.3 and 1.6.4 (maybe other recent versions) that this extension doesn’t work with recent versions of EE.

What happens on the site I work with, is the remembering portion works, but pagination of search results stops working. That is, if I click any page of results after Page 1, the keywords field is replaced by the keywords URL parameter (something like xlKYKKFM, looks like a hash), and the search therefore doesn’t work.

       
arteylogica's avatar
arteylogica
37 posts
14 years ago
arteylogica's avatar arteylogica

It’s great. Thanks.

       
ira42's avatar
ira42
167 posts
13 years ago
ira42's avatar ira42

Having the same issue as chellman, where the search results pagination is passing some sort of hash, instead of the keyword…

Any one know how to fix this?

Ira

ps (Using EE v.1.6.7, and Edit Remember v.1.1.0)

       
toddajackson's avatar
toddajackson
47 posts
13 years ago
toddajackson's avatar toddajackson

Yep. I got the same problem.

I’m using EE 1.6.8 and Edit Remember as well.

I might go in and see what’s going on myself. It was so useful, I’d hate to lose it.

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

If you’ve been having trouble with pagination I’ve updated the extension at the top of this thread to remedy the issue.

       
1ArmBandit's avatar
1ArmBandit
25 posts
13 years ago
1ArmBandit's avatar 1ArmBandit

My content team now LOVES me. Thanks so much!

       
ellimondo's avatar
ellimondo
15 posts
about 13 years ago
ellimondo's avatar ellimondo

I am experiencing a sudden error in the cp’s edit page. Browsing to the edit page throws this error:

MySQL ERROR:

Error Number: 1064

Description: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY entry_date desc' at line 14

Query: SELECT exp_weblog_titles.entry_id, exp_weblog_titles.weblog_id, exp_weblog_titles.title, exp_weblog_titles.author_id, exp_weblog_titles.status, exp_weblog_titles.entry_date, exp_weblog_titles.dst_enabled, exp_weblog_titles.comment_total, exp_weblog_titles.trackback_total, exp_weblogs.live_look_template, exp_members.username, exp_members.email, exp_members.screen_name FROM exp_weblog_titles LEFT JOIN exp_weblogs ON exp_weblog_titles.weblog_id = exp_weblogs.weblog_id LEFT JOIN exp_members ON exp_members.member_id = exp_weblog_titles.author_id WHERE exp_weblog_titles.entry_id IN ) ORDER BY entry_date desc

I disabled all the extensions one by one and edit remember (1.1.1) appears to be the culprit. I have deleted the extension and re-uploaded a fresh copy to no avail. I was deleting a comment when it threw the error. Can anyone help me with this - I would hate to lose such a useful extension!

I am running EE Commercial 1.6.8 by the way.

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

Hi Mark,

I did some hacking with Edit remember extension and fixed 2 issues:

1) duplicating of “open” and “closed” options in statuses selectbox;

2) extension interfering with functionality of such extensions as Edit Menu and Weblog Order.

If you like my additions feel free to include them into official version.

       
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.