4 of 4
4
Extension: Publish Tweeks
Posted: 02 November 2009 08:53 AM   [ Ignore ]   [ # 55 ]  
Summer Student
Total Posts:  22
Joined  02-19-2009

I found that the ‘Saved!’ message sometimes a bit confusing. After saving the entry you’ll get the message, but having multiple tabs open with multiple Saved! messages makes it a bit confusing, so I added a bit of code, that removes the message after 10 seconds.

In you extentions, add after line 175 the following code:

$msg .= '
< script type="text/javascript">
$(document).ready(function() {
    $("#message-publish-tweeks")
        .animate({opacity: 1.0}, 10000)
        .hide(2000, function() {
                $(this).remove();
        });
});
</ script>'

(remove the two spaced in the script tags smile )

Profile
 
 
Posted: 06 November 2009 06:06 AM   [ Ignore ]   [ # 56 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1433
Joined  03-05-2008

Just a quick reply to this… once again a great extension and one that i am using now… However it does seem to throw up a little problem with LG HTACESS Generator!!! Not your fault i know…

The LG Extension (i am pretty sure) uses hooks so that when a new entry is created, and the pages module is used, it updates the htaccess file to include the new pages URI.

At the moment the publish tweeks addon seems to side step this and the htaccess is not updated? This might be because the hook is no longer called, similar or something completely else.
But any advice on how to work around this issue is appreciated…
link to LG on devotee to see details and hooks used:
http://devot-ee.com/add-ons/extensions/lg-htaccess-generator/

Cheers, N

 Signature 

ModeTen Designs - @ModeTen - Stock Photos & Vectors

Profile
 
 
Posted: 18 November 2009 05:30 AM   [ Ignore ]   [ # 57 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  414
Joined  03-07-2007

Hello publishtweekers. thanks for the tips for fading the msg. Currently i’m trying to add the weblog name to the title field so that editors can more easily distinguish between webogs/channels (see image attachment).

i’m changing the “label for=title” but need a way to get the weblog name. In the “change_submit_buttons” function, just before returning the html, i added:

$new '<label for="title">weblog_name title</label>';
$find '#<label for="title">.+?</label>#is';
$html preg_replace($find$new$html); 

Is there a way to get weblog_name from some variable or do i need to use a costly db-query?

Profile
 
 
Posted: 04 December 2009 03:04 AM   [ Ignore ]   [ # 58 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  251
Joined  11-02-2005

is it possible that the ext creates a conflict with “button mode” in the most recent Build:  20091201?

 Signature 

Online Marketing Consulting. Based in Germany.

Profile
 
 
Posted: 16 December 2009 10:55 AM   [ Ignore ]   [ # 59 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  192
Joined  06-20-2008

I’m having problems with Publish Tweeks on the latest build and using MSM - it seems enabling it in one site enables it in all, and the settings aren’t saved from site to site, which first produces undefined index errors, and then when trying to set preferences, a different php error. Any chance of an update?

 Signature 

“Dude,I totally Swayze’d that mother.”
Project 14

Profile
 
 
Posted: 04 January 2010 08:51 AM   [ Ignore ]   [ # 60 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  192
Joined  06-20-2008

Any chance of an update to this? - it’s the first extension I install normally, but it’s b0rked with the MSM…

 Signature 

“Dude,I totally Swayze’d that mother.”
Project 14

Profile
 
 
Posted: 09 January 2010 08:40 PM   [ Ignore ]   [ # 61 ]  
Grad Student
Rank
Total Posts:  81
Joined  02-21-2006

Love this extension; working great until this particular case where I have a third member group that has CP access to publish/edit content to a weblog. The extension isn’t working for that group, but works fine for the super admin and admin groups on the same site. Any thoughts as to what is causing that? Thanks!

 Signature 

Loracs Design LLC
We create web sites.
http://loracs.com

Profile
 
 
Posted: 24 February 2010 05:51 AM   [ Ignore ]   [ # 62 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  192
Joined  06-20-2008

No chance of an update to this to make it MSM-compatible? =[

 Signature 

“Dude,I totally Swayze’d that mother.”
Project 14

Profile
 
 
   
4 of 4
4