1 of 3
1
Extension: MD Dulee Noted. A non-editable note field type to add instructions to weblogs
Posted: 18 May 2008 08:57 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1728
Joined  03-26-2006

This really is pretty simple. I needed a way to get generic, per-weblog instructions in the control panel. So what this extension does is to create a non-editable note field type for adding general weblog instructions. The only thing required for this to really work is the jQuery JavaScript library. You can set the path for jQuery in the settings (see below). You ARE using jQuery, aren’t you?

Settings
Upload the extension and language file. Set the path to your jQuery file and optionally change the styles of the instruction box (color, border, background image…whatever you need). You can add as many styles as you need, but there are a couple in there to get you started, including one to float images to the left. One you’re done with the settings, create a custom field (or fields), and you will see a new field type in the dropdown: “Dulee Noted”.

Make a Custom Field…or two. Or three.
This field is applied to every entry in a weblog just like a regular custom field, but there is no textarea or text input - so it’s a way to get weblog specific instructions on your entries that really appear to be more a part of the Control Panel.

Have a super-long entry page? Segment your fields into areas, with some basic instructions for each area. Make a Custom Field, and select the “Dulee Noted” field type from the Field Type dropdown. Then put everything for the field in the Field Instructions. That’s it.

All I’ve done is basically kill any sort of input field on this field type, and gave the instructions a nice little call-out box through some styles. I also automatically send links made in the instruction box to a new window (unobtrusively), so you can still open those links in a new tab if you wish.

Once you’ve made your field(s), Use the Field Order link to put them where you need them.


Never Forget how the &%#$ you are doing something in a weblog
Never again forget that entries in your weblog are sorted by date, or that you have to remember to make an entry ‘sticky’ for it to be featured on your homepage, put in a reminder to select a category…whatever you need to remind your clients about you can put in one of these fields. As anyone who has done some tricky EE work knows, sometimes it can be tough to remember what everything does as a whole!

More ideas: Put in a link to another site or to a reference file (like a PSD file for making particular images). Put a picture in there. You can already do this with a regular field, but this way the field can’t be altered, and it looks more like a part of the clients’ installation. It’s more integrated with the Control Panel.

Until EE 2.0 arrives (or even after it arrives, as not everyone will be updating every install immediately, I’m sure) this will serve as a nice replacement for the upcoming “Accessories” - which will serve the same purpose as this type of field, but in a much more robust way.

I decided to realase it, ‘cause what the heck. If it works for you, great. I know I’ll be using it on every build I have happening right now!

You can download Dulee Noted from this page: Dulee Noted at Masuga Design.

Image Attachments
sample_2.jpgreal_sample.jpgsettings2-1.jpg
Click thumbnail to see full-size image
 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 18 May 2008 11:13 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  114
Joined  01-02-2008

Clever idea!

 Signature 

Brandon Kelly
http://brandon-kelly.com

Profile
 
 
Posted: 19 May 2008 12:03 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  149
Joined  12-13-2006

Glad you posted this on Twitter as I probably wouldn’t have found it otherwise. This sounds really great! Can’t wait to give it a whirl.

Profile
 
 
Posted: 19 May 2008 01:16 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  246
Joined  04-12-2008

Great thanks!

 Signature 

Designchuchi | Twitter

URL Field Extension
Required Category Extension
DC FreeForm GeoIP Extension

Profile
 
 
Posted: 19 May 2008 02:55 AM   [ Ignore ]   [ # 4 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6549
Joined  04-15-2006

Ryan this looks absolutely fantastic. Will definitely be giving this a look in later today. Excellent work!! grin

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 19 May 2008 05:15 AM   [ Ignore ]   [ # 5 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6549
Joined  04-15-2006

Ryan it all works great although it didn’t work with links opening up in new windows. Not too sure what that is all about though. Checked in the rendered control panel source code and the link to the Javascript path is definitely correct but hovering over links shows that they are just going to open in the same tab at the moment. Not too sure why that is though?

Fantastic extension this one though so thanks. wink

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 19 May 2008 09:36 AM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  140
Joined  05-13-2006

I’ll put this to use in the project I’m currently working on - a perfect fit and a great idea, thanks.

geof

 Signature 

Subvert Marketing Inc. - Whitehorse, Yukon, Canada

Profile
 
 
Posted: 19 May 2008 03:48 PM   [ Ignore ]   [ # 7 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004
Joey Trimmer - 19 May 2008 12:03 AM

Glad you posted this on Twitter as I probably wouldn’t have found it otherwise. This sounds really great! Can’t wait to give it a whirl.

seconded.

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 19 May 2008 03:59 PM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1728
Joined  03-26-2006

Not to toot my own horn, but I am finding this enormously useful and am adding at least one instruction field on every weblog right now, and moving it right to the top, below the URL Title area. Entries now seem sort of naked without an instructions box there, even if it only has a few bullet points or sentences in there.

The only thing I’ve found is that if you have many weblogs sharing a field group, your instructions may have to be a little more generic than if those fields only applied to one weblog.

There are a few buggy things I’ve found since releasing it (i.e. the links not using the jQuery to open in new tab/window, and the css styles being added to the header twice (I think I know what’s happening in both cases)). I’ll get to those when I get a chance.

Any other suggestions are welcome, as maybe I can incorporate those too, if they’re not too crazy.

If I update, I’ll mention it here, and ping it on Twitter as well. If you’re interested, my Twitter(s) are: masuga (‘personal’) and masugadesign (‘business’).

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 19 May 2008 07:13 PM   [ Ignore ]   [ # 9 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1590
Joined  01-05-2007

A great idea Ryan!

Ive always wanted to be able to add instructions under the Title as you can with all other fields but this makes sense to me.

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 09 June 2008 09:29 AM   [ Ignore ]   [ # 10 ]  
Grad Student
Rank
Total Posts:  75
Joined  09-26-2005

Uh oh. I just killed my client’s control panel after installing this. I didn’t have jquery installed yet (not sure if that caused it or not). My CP is blank now (nothing in the browser), so I can’t disable the extension.

Tried deleting the files via ftp, but then the CP gave me an error message that the extension file was missing.

Any idea how I can disable and/or delete this stuff via phpMyAdmin?

Thanks, and hopefully I hear back before my client tries to login this morning.

Profile
 
 
Posted: 09 June 2008 09:33 AM   [ Ignore ]   [ # 11 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1590
Joined  01-05-2007

File browse to System -> Config.php

Then look for -

$conf['allow_extensions'] = "y";

and change it to -

$conf['allow_extensions'] = "n";

Point your internet to the admin panel and it should work.

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 09 June 2008 09:37 AM   [ Ignore ]   [ # 12 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1728
Joined  03-26-2006

What version/build of EE are you running?

jQuery is only involved with making the note field look good inside a blue box, more or less. The extension will still “work” without it, but the Dulee Noted field will look real weird. What other extensions do you have installed?

I would back up and delete the ext and lang file. Then you can hit your extensions table with phpMyAdmin and delete the three lines that should be in there for Dulee Noted.

Sorry for the meltdown, I know how those feel. I did test the extension pretty thoroughly and used best practices when making it. I would be curious to know what other extensions you might have installed as this is probably a conflict of some sort.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 09 June 2008 09:39 AM   [ Ignore ]   [ # 13 ]  
Grad Student
Rank
Total Posts:  75
Joined  09-26-2005

That was amazingly fast!

I’m working on your ideas above right now. In the meantime, the other extensions are ext.disable_news_feed.php and ext.fresh_variables.php.

I’m not sure what version of EE it is, because this is a new client for me, but I’m guessing it’s up to date. I’ll post back when I know for sure.

Profile
 
 
Posted: 09 June 2008 09:41 AM   [ Ignore ]   [ # 14 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1590
Joined  01-05-2007

You happened to catch me at the right time and I couldn’t resist as I got caught out like that when I first started with EE.

Hope it works out for you!

 Signature 

 
Steven Hambleton | ExpressionEngine Development for Web & Graphic Design Agencies

Profile
 
 
Posted: 09 June 2008 09:48 AM   [ Ignore ]   [ # 15 ]  
Grad Student
Rank
Total Posts:  75
Joined  09-26-2005

Much appreciated!

I’ve done everything as suggested and all is back to normal. Thank you so much for the quick and perfectly accurate help!

I also confirmed that I’m using the latest version and build (1.6.3, build 20080421).

I have installed Dulee Noted on another site, but I’d have to go back and see what other extensions on installed on that site, as far as conflicts go.

Thanks again! I’m awake now.

Profile
 
 
Posted: 09 June 2008 09:54 AM   [ Ignore ]   [ # 16 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1728
Joined  03-26-2006

Hehe…nothing like a completely blank control panel screen to wake you up. Been there a few times myself - but thank goodness it’s a relatively rare thing! Sorry that my Extension borked on you!

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 09 June 2008 10:17 AM   [ Ignore ]   [ # 17 ]  
Grad Student
Rank
Total Posts:  75
Joined  09-26-2005

No problem at all! I’m looking forward to a new version, as I love this extension.

Update: Er, I should rephrase that to “looking forward to discovering what the problem is.” So, if it’s on my end, I can make the necessary changes to use this extension.

Profile
 
 
Posted: 10 June 2008 08:24 AM   [ Ignore ]   [ # 18 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1728
Joined  03-26-2006

Do you have a list of the extensions installed on that site? I’m willing to bet there’s one that’s written without a “last call” in the code.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

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 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64926 Total Logged-in Users: 42
Total Topics: 81887 Total Anonymous Users: 29
Total Replies: 440193 Total Guests: 217
Total Posts: 522080    
Members ( View Memberlist )
Newest Members:  mileswkakiharaAurelsbhairabEric Gunkevovitya.melnikalinm24Derek Sundersimple_think