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

Extension to remove the 'Quick Save' button (and more!)

Development and Programming

Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

Phil you’ll see the post anyway but for anyone else wanting to get rid of the button completely then just completely delete the text - Upload File: which is in the extension settings so that there is nothing in that field at all.

That should then completely get rid of the upload button image too.

Best wishes,

Mark

       
Phil J Leitch's avatar
Phil J Leitch
85 posts
16 years ago
Phil J Leitch's avatar Phil J Leitch

Ugh, I’m stoopid. Had changed the text field to be empty but didn’t click ‘Yes’ above to apply the change. Although it did remove the text still which is why I thought it had worked but not worked.

My fault. Thanks for the help.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen

No problem. Glad it’s working for you now though.

Best wishes,

Mark

       
Tyssen's avatar
Tyssen
756 posts
16 years ago
Tyssen's avatar Tyssen
You can already do that with the standard control panel. CP Home › Admin › Members and Groups › Member Groups › Edit Member Group › Admin This permits you to hide the Modules and Admin tabs… among other things you can customize.

That’s not the same thing. If you turn off module access via Members and Groups, you lock a member out of all modules. What I want to do is give a member access to specific modules (e.g. Freeform) by creating individual tabs, but remove the Module tab.

       
Emily Heath's avatar
Emily Heath
197 posts
16 years ago
Emily Heath's avatar Emily Heath

Firstly I must say that I love this extension! I wish I’d found it before I spent hours writing convoluted helpfiles to explain how to use all the extraneous edit/publish page buttons!

I’m having a problem with the “View the live version” link - it takes me to mydomainname/system/blog-post-title which gives me a page not found because that post should be seen on mydomainname/publications/blog-post-title

Have I missed some setting where I can tell it what path it should follow to display the preview? Or am I misunderstanding how that link is supposed to work?

       
plasticated's avatar
plasticated
15 posts
16 years ago
plasticated's avatar plasticated

Thanks for making this. The quick save button always confuses my clients. Better removed.

       
Hop Studios's avatar
Hop Studios
459 posts
16 years ago
Hop Studios's avatar Hop Studios

@plasticated You’re welcome!

@emilyh Sorry for the long delay – didn’t see your response. The live version link pulls from the blog’s path settings.

       
Adrienne L. Travis's avatar
Adrienne L. Travis
213 posts
16 years ago
Adrienne L. Travis's avatar Adrienne L. Travis

Any word on fixing the date issues?

😊

       
Emily Heath's avatar
Emily Heath
197 posts
16 years ago
Emily Heath's avatar Emily Heath
HELP!!!! I just did some settings. saved it. and it worked perfect. then i went back and selected the setting that was something about simplifying the date. saved that….and now my control panel is blank!!!! just a white page. i tried logging in with another browser…same thing. i can get to the login window, but once i login….nothing.

The same thing that happened to james Brown above just happened to me. I saved my settings for the Publish Improve extension and then my control panel broke! Thankfully at least I got this message error message:

Notice: Undefined variable: LANG in /home/xxxxx/public_html/system/extensions/ext.publishimprove.php on line 277

Fatal error: Call to a member function line() on a non-object in /home/xxxxx/public_html/system/extensions/ext.publishimprove.php on line 277

First I tried deleting the extension files but that didn’t work, so then I went into the ext.publishimprove.php file and deleted the line 277 and the following lines

$imagetext = $LANG->line('image');
            
            // This is just a style sheet trick that hides the additional menus
            $look_for = '</style>';
            $replace_with = <<<EOT
.itemWrapper .lightLinks {
    visibility:hidden;
    position:absolute;
}
</style>

EOT;
            $data = str_replace($look_for, $replace_with, $data);

After reuploading that file my control panel came back to me! I quickly went into the extension settings and set “Publish: Simplify all user date fields by removing non-essential buttons and links. ” back to No. I’ve also put back that line 277 code back into the extension file but I’m presuming that there is some kind of error so I recommend you don’t use that setting!

I hope this helps someone else not have a complete hernia when their control panel disappears on them!!

       
Emily Heath's avatar
Emily Heath
197 posts
16 years ago
Emily Heath's avatar Emily Heath

@supersusie your response to my comment about the “View the live version” link doesn’t seem to help. I’ve checked my blog Path Settings in CP Home › Admin › Weblog Administration › Weblog Management › Edit Weblog Preferences and they are not the same as the path to the page provided by that link (which as before uses the path to the CP) on the Edit page.

       
TPE's avatar
TPE
99 posts
16 years ago
TPE's avatar TPE

Hello- I was experiencing the same problem as emilyh, solved it by adding the following just above line 277:

global $LANG, $DSP;

Making the entire statement-

if(isset($this->settings['remove_date_cruft']) && $this->settings['remove_date_cruft'] == "yes")
        {
            // MOD added to fix error
                        global $LANG, $DSP;
            $imagetext = $LANG->line('image');
            
            // This is just a style sheet trick that hides the additional menus
            $look_for = '</style>';
            $replace_with = <<<EOT
.itemWrapper .lightLinks {
    visibility:hidden;
    position:absolute;
}
</style>

EOT;
            $data = str_replace($look_for, $replace_with, $data);
    
        }

Hope this helps…

       
Hop Studios's avatar
Hop Studios
459 posts
16 years ago
Hop Studios's avatar Hop Studios

Version 2.0.1 is now posted on Hop Studios:

http://www.hopstudios.com/software/publish_improve/

Sorry for the delay, all!

       
stinhambo's avatar
stinhambo
1,268 posts
16 years ago
stinhambo's avatar stinhambo

Hi there,

I found the tab in textarea feature doesn’t work in Safari 4 Beta :(

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
16 years ago
Mark Bowen's avatar Mark Bowen
Hi there, I found the tab in textarea feature doesn’t work in Safari 4 Beta :(

Just to say it worked for me when I was running the Beta. I’ve been using this extension for quite a while now and have never really had any problems with it. I’m now running the Safari 4 download that is from the Apple site, not sure if that’s still considered a Beta or not but it works in that one too for me.

Could you perhaps have another extension interfering with it maybe?

Best wishes,

Mark

       
stinhambo's avatar
stinhambo
1,268 posts
16 years ago
stinhambo's avatar stinhambo

I don’t think so. I’ll tinker and check. To be honest I have been trying to find some time to look at templates as files and messing in Textmate. Perhaps that is the best way to go?

       
First 5 6 7 8

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.