SSWI — When in doubt, buff it out.

CJD Notepad: Released,

Written in Frisco, TX on June 20, 2005 and tagged with .

22 Comments, 0 Tweets, why not add one?

My Flickr Stream

CJD Notepad has moved out of beta testing and into a release phase.

I have squashed all the bugs that were identified in the beta, and Notepad is now feature complete, at least for this iteration.

First some background

Currently in WordPress there is no way to keep track of odds and ends you find while researching a post, say a list of links or a quote from another website.  Currently to do this you would have to either keep a list of these snippets in a text file on your machine somewhere, or create a draft or private post to hold them.

There are problems with both of those methods, so I was asked to create Notes to fill this hole.

And now for some features

CJD Notepad allows you to create, edit and delete notes, you can also create drafts from your notes.  There are two new sub-menus added by the CJD Notepad plugin, one under the Write Screen: Write Note and one under the Manage Screen: Notes

On the Write Note screen you can create and edit your notes and on the Manage Notes screen you can edit, delete or create a draft from your notes.  That is about it, this is a pretty simple plugin to run and use.  For more information and the download link, check out the permenent home of CJD Notepad.

Everything you need is there, including a link to the support forums.

If you post about this on Twitter, please use the hashtag #silly493.


personal avatar

Chris J. Davis, on March 1, 2007

As for the preview on the manage page that is in the pipeline for the next release.

Also, did you read the instructions on the CJD Notepad page? At the bottom there are installation instructions.

personal avatar

Michele, on March 1, 2007

Thanks, Chris!

I’ve been using the beta so far and never had a problem — except for what was known — so I’m sure this one will be great.

personal avatar

David, on March 1, 2007

Okay…one more small thing. I wish I could preview my note without clicking edit or clicking convert to draft. Maybe something that I could click to preview it or something using some fancy javascript and stuff?

personal avatar

Adam Bouskila, on March 1, 2007

How about using AJAX to expand the notes in the ‘Manage’ section and having a ‘View’ button to trigger it?

personal avatar

Adam Bouskila, on March 1, 2007

Good stuff! It even has ‘Convert to Draft’, hah!

It just shows how much potential Wordpress has; I can foresee the Wordpress developers implementing some plugins into the core of Wordpress in the future.

Chris, I can definitely see your new plugin being incorporated into the next version of Wordpress. :-)

personal avatar

David, on March 1, 2007

Yeah, so I was dumb… Upload the whole notepad folder and it works fine. :)
Sorry about that.

personal avatar

David, on March 1, 2007

Okay…so do I upload the whole Notepad dir to /plugins? or just the files in Notepad? I know…I am dense.

But when I just upload the files, it does not work. It says it is looking for a folder called notepad inside my plugins folder. I dunno… I will mess around with it more. I am sure it is just my own dang fault.

personal avatar

Orlando, on March 1, 2007

Just making it very short and efficient: Thanks!

personal avatar

Chris J. Davis, on March 1, 2007

Hey thanks. I will see how quickly I can get an update out that has a preview on the management screen, since there are a few people who are looking for that.

personal avatar

David, on March 1, 2007

I did, but I was dumb and rushed to install it like I do every other plugin not realizing it should be in its notepad folder (eventhough it is in the instructions to upload everything in the notepad folder). Great plugin. I will have a small note on my blog about it tomorrow morning as kudos to you. :)

personal avatar

Jennifer, on March 1, 2007

*bows to your greatness*

I’ve been wanting a plugin like this since I first started using WP. Thanks a ton for releasing it :)

personal avatar

Michael Heilemann, on March 1, 2007

I seem to get some error messages when I go to the notepad page. I’m on WP1.6a:

Warning: main(/home/binarybo/wp-config.php): failed to open stream: No such file or directory in /home/binarybo/public_html/wp-content/plugins/edit-note.php on line 2

Warning: main(): Failed opening ‘/home/binarybo/wp-config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/binarybo/public_html/wp-content/plugins/edit-note.php on line 2

personal avatar

matthew, on March 1, 2007

VERY useful, however it doesnt work on a blog where the WP files are in a subdirectory, without manually editing the code.
My WP stuff is within a folder on my server but the actual site is outside of that. Does that make sense? My blog address is different to my wordpress address.

changing get_settings(‘home’) to get_settings(‘siteurl’) on lines 81, 97, 106 and 114 seem to fix that. Strangely though, the form action on line 126 is already set as that but doesnt seem to work unless I manually ad in the subdirectory so in my case its ; action=”/wp13/wp-content/plugins/notepad/edit-note.php”

personal avatar

Chris J. Davis, on March 1, 2007

I think it is more likely due to the /public_html/ in your path. I need to do some testing to fix it though.

personal avatar

Kates, on March 1, 2007

I know I’ve seen this feature somewhere and it kinda stuck. Does pMachine have this notepad feature? Now I have it, I can write more comprehensible entries.

personal avatar

Michael Heilemann, on March 1, 2007

Chris, I solved most of my other 1.6a > 1.5 downgrade problems, do you think the problem is due to that or due to the plugin?

personal avatar

Chris J. Davis, on March 1, 2007

Michael,

That is strange, it seems that the dir loop is not going back far enough to include wp-config. I will look into that for you.

Matthew,

Good point about siteurl over home. I have updated Notepad with those changes. And that is really freaky that it didn’t work in the form…

personal avatar

Chris J. Davis, on March 1, 2007

Hmmmm.. that is most distressing. I am not sure what is up with the bonsai then.

personal avatar

Kri, on March 1, 2007

You mentioned making some changes to the “dir loop” to address problems with the main page being in a different directory than the Wordpress files. It seems my set-up is different, so the newest version wasn’t a fix for me. Here’s how I have my Wordpress set up…

www.home-url.com/index.php (blog home)
www.home-url.com/blog/ (Wordpress files)

I went through and fixed it for myself (added /blog to the address in 5 places in edit-note.php), but I’m curious to know if there’s a way to set it up so that other people don’t need to manually edit their code if their set-up is similar.

I’ve got everything set-up and working for myself, just thought you would like to know this little glitch.

personal avatar

matthew, on March 1, 2007

mine has public_html in the path and is fine.

personal avatar

Will, on March 1, 2007

Nice plugin but two litte bugs.

First one is when accessing:

/wp-admin/post.php?page=notepad/cjd_notepad.php

There is a script error in IE:

Line 553

Error: document.note.title is null or not an object

Line: 630

Error: Object required

And when clicking CJD Notepad on plugins page it takes me to my web site instead of your, so it things my site is the plugins home page.

Would be nice if you could fix.

Thanks a lot,
 Will

personal avatar

Franky, on March 1, 2007

I like the cjd_note plugin. I install it and it works fine at admin account. Unfortunately my blog is multi-user, and when I login as an user (level: author), I can not find this notepad at top menu Write. is there anyway to fix it so my user can use it too? thanks alot, Franky.