1 of 3
1
Editor
Posted: 05 January 2009 02:34 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  278
Joined  01-02-2008

Hi all,

I just released a new extension: Editor

Here’s what it does:

Editor adds little Edit buttons next to each of your entries, right on your website. Click on one of them, and that entry’s Edit page will open in a new window.

Enjoy!

Image Attachments
editor.jpg
Click thumbnail to see full-size image
 Signature 

brandon-kelly.com    @brandonkelly

Profile
 
 
Posted: 05 January 2009 08:16 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  878
Joined  02-26-2008

Brilliant!  I too have issues with the workflow involved in editing an entry.  I usually add links for site administrators and content editors to edit the content from the frontend as well.  Except, I don’t do it all fancy-like with an extension.  Hopefully, I won’t have to manage all those links now.

I haven’t yet downloaded it, but let me ask a question first anyway.  For whom do the links show up for?  For superadmins only?  Is there a setting to set which member groups can see the link?

Again, great work.  And cool new site design smile

Profile
 
 
Posted: 05 January 2009 10:59 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  278
Joined  01-02-2008
Arun S. - 05 January 2009 08:16 AM

For whom do the links show up for?  For superadmins only?  Is there a setting to set which member groups can see the link?

They show up for anyone that’s logged in and has Edit permissions. It doesn’t factor in whether they are allowed to edit that weblog (yet).

 Signature 

brandon-kelly.com    @brandonkelly

Profile
 
 
Posted: 05 January 2009 11:02 AM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  424
Joined  05-15-2008

I love this idea! I’ve been using Ryan Irelan’s edit button technique, but this is far superior if i can get it to work. So far, i see no edit icons. Does it only work in a certain implementation style?

 Signature 

Jack McDade - My Personal Site
Structure - a new way to build ExpressionEngine sites

Profile
 
 
Posted: 05 January 2009 11:13 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  278
Joined  01-02-2008
Jack McDade - 05 January 2009 11:02 AM

I love this idea! I’ve been using Ryan Irelan’s edit button technique, but this is far superior if i can get it to work. So far, i see no edit icons. Does it only work in a certain implementation style?

Can you search the HTML source for “editor-button” ?

Most likely they are getting added, but the default CSS is putting them in a place where you can’t see them.

Which brings up a good point: The default CSS for these is only going to work in most situations. You may need to override it. Here’s one example, if the {exp:weblog:entries} tag is creating inline text nodes or something:

p.my-inline-entries .editor-button { display:inline; }
p
.my-inline-entries .editor-button { position:static; }

Another common example would be that your {exp:weblog:entries} tag starts at the very left of the page, so the buttons are actually getting pushed out of sight. For that you could try:

.editor-button a { left:4px; }
.container .editor-button a { left:-16px; } /* now nreset it for buttons inside #container which has a left margin */
 Signature 

brandon-kelly.com    @brandonkelly

Profile
 
 
Posted: 05 January 2009 11:20 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  424
Joined  05-15-2008
Brandon Kelly - 05 January 2009 11:13 AM

Most likely they are getting added, but the default CSS is putting them in a place where you can’t see them.

That was it! The non-rollover state was actually too faded to see against my white background. Easily remedied! Nice work! Wish i thought of this first lol

Now to further mod and add a New Entry button as well…

 Signature 

Jack McDade - My Personal Site
Structure - a new way to build ExpressionEngine sites

Profile
 
 
Posted: 05 January 2009 11:35 AM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  278
Joined  01-02-2008
Jack McDade - 05 January 2009 11:20 AM

That was it! The non-rollover state was actually too faded to see against my white background. Easily remedied! Nice work! Wish i thought of this first lol

Now to further mod and add a New Entry button as well…

Haha, you can take that one!

 Signature 

brandon-kelly.com    @brandonkelly

Profile
 
 
Posted: 05 January 2009 02:24 PM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  17
Joined  02-22-2006

Fantastic, Brandon. Next bit of money that comes my way, you’ll get some.

Profile
 
 
Posted: 05 January 2009 03:53 PM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2293
Joined  05-13-2004

Brandon,

When I add the url to the system index page I get the following error:

Notice: Undefined index: check_for_extension_updates in /path/to/system/extensions/ext.editor.php on line 303

Warning: Cannot modify header information - headers already sent by (output started at /path/to/system/extensions/ext.editor.php:303) in /path/to/system/core/core.functions.php on line 296

 Signature 

CreateSean Web Design | EE Forums 4 You ExpressionEngine forum customization
on twitter @createsean I am the poster formally known as The Linguist.

Profile
 
 
Posted: 10 January 2009 02:42 AM   [ Ignore ]   [ # 9 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  144
Joined  07-16-2006

love the idea behind this but am unable to get it to work on www.davidould.net

It shows up in the source but won’t show up on the page! Have tried the fixes above but to no avail.

Any suggestions?

Profile
 
 
Posted: 10 January 2009 08:13 PM   [ Ignore ]   [ # 10 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  424
Joined  05-15-2008

[deleted] Was accidentally using 1.0.1. Problem fixed by updating to 1.0.2.

 Signature 

Jack McDade - My Personal Site
Structure - a new way to build ExpressionEngine sites

Profile
 
 
Posted: 11 January 2009 12:18 PM   [ Ignore ]   [ # 11 ]  
Summer Student
Avatar
Total Posts:  5
Joined  03-15-2008

Great! This is very helpful.

 Signature 

MaplePixel - http://maplepixel.com

Profile
 
 
Posted: 11 January 2009 02:50 PM   [ Ignore ]   [ # 12 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  278
Joined  01-02-2008
Sean C. Smith - 05 January 2009 03:53 PM

When I add the url to the system index page I get the following error:

Notice: Undefined index: check_for_extension_updates in /path/to/system/extensions/ext.editor.php on line 303

Warning: Cannot modify header information - headers already sent by (output started at /path/to/system/extensions/ext.editor.php:303) in /path/to/system/core/core.functions.php on line 296

Make sure you’re using v 1.0.2 and you’ve saved your settings.

 Signature 

brandon-kelly.com    @brandonkelly

Profile
 
 
Posted: 11 January 2009 02:52 PM   [ Ignore ]   [ # 13 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  278
Joined  01-02-2008
David Ould - 10 January 2009 02:42 AM

love the idea behind this but am unable to get it to work on www.davidould.net

It shows up in the source but won’t show up on the page! Have tried the fixes above but to no avail.

Any suggestions?

See Post #4 above.

 Signature 

brandon-kelly.com    @brandonkelly

Profile
 
 
Posted: 11 January 2009 03:58 PM   [ Ignore ]   [ # 14 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2293
Joined  05-13-2004
Brandon Kelly - 11 January 2009 02:50 PM
Sean C. Smith - 05 January 2009 03:53 PM

When I add the url to the system index page I get the following error:

Notice: Undefined index: check_for_extension_updates in /path/to/system/extensions/ext.editor.php on line 303

Warning: Cannot modify header information - headers already sent by (output started at /path/to/system/extensions/ext.editor.php:303) in /path/to/system/core/core.functions.php on line 296

Make sure you’re using v 1.0.2 and you’ve saved your settings.

upgraded to 1.0.2 and when I try to save my settings I get the same error.

I’ve tried it on a fresh install with no other extensions as well as a productin site.

 Signature 

CreateSean Web Design | EE Forums 4 You ExpressionEngine forum customization
on twitter @createsean I am the poster formally known as The Linguist.

Profile
 
 
Posted: 11 January 2009 09:48 PM   [ Ignore ]   [ # 15 ]  
Grad Student
Avatar
Rank
Total Posts:  72
Joined  11-22-2006

Any issue using this extension with the Multi Site Manager?  I’m not seeing the edit buttons on pages or source code, and I’ve quadruple-checked that the CP URL is set correctly in the Editor extension settings.  Would love to get this working!

Thanks,
Jack

Profile
 
 
Posted: 12 January 2009 05:30 AM   [ Ignore ]   [ # 16 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  593
Joined  02-14-2008

Have just installed this extension and it works, however I’ve got a major glitch.

I use the weblog entry tag to display entry title in my URL and that’s where the edit button is appearing, not in the body.

Any ideas?

Profile
 
 
Posted: 12 January 2009 08:28 AM   [ Ignore ]   [ # 17 ]  
Grad Student
Rank
Total Posts:  51
Joined  12-10-2007

I’ve installed this and it works great. The one problem is that I am using a template to output a link list for tinymce in expressionengine and now I am getting js errors because editor is trying to add buttons to the list. Is there a way to turn off editor for a template or is there some other way to output entries that by-pass editor?

Thanks.

Profile
 
 
Posted: 12 January 2009 07:40 PM   [ Ignore ]   [ # 18 ]  
Grad Student
Avatar
Rank
Total Posts:  72
Joined  11-22-2006

OK I didn’t think I was this dumb but apparently… I’m seeing the editor-button div in the source code, but can’t seem to tweak the CSS to make it visible.  Here’s what I see in the source:

<div class="editor-button"><a href="http://www.pbcoreresources.org/admin.php?S=d0c3b53a76fe6ab1106548dc2351047c41810fd2&amp;C=edit&amp;M=edit_entry&amp;weblog_id=5&amp;entry_id=35" title="Edit &ldquo;Story-related images, WTF?&rdquo;" target="_blank"></a></div><style type="text/css"> .editor-button { position:relative; } .editor-button a { display:block; position:absolute; top:0; left:-16px; width:16px; height:12px; background:url(http://openweb.pmhclients.com/themes/cp_global_images/edit_template.gif) no-repeat 0 0; opacity:0.1; text-indent:-9999em; overflow:hidden; } .editor-button a:hover { opacity:1; }</style>

This appears just before the weblog entry.  (BTW, as Steven mentions two posts back, it was appearing in my Title tag in the head section before, as I was also putting the entry title there using weblog tags.  That’s a separate issue I think.)

I’m not sure why the css for editor-button would follow the html for it.  Shouldn’t that be…elsewhere?

I’d love to get this working!

Here’s the page from which I grabbed the source code: http://www.pbcoreresources.org/article/index2/story-related_images_wtf/

Profile
 
 
   
1 of 3
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 1743, on December 02, 2009 02:47 PM
Total Registered Members: 114991 Total Logged-in Users: 89
Total Topics: 122433 Total Anonymous Users: 52
Total Replies: 647281 Total Guests: 438
Total Posts: 769714    
Members ( View Memberlist )