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: MD Dulee Noted. A non-editable note field type to add instructions to weblogs

Development and Programming

kstatham's avatar
kstatham
52 posts
17 years ago
kstatham's avatar kstatham

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.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

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!

       
kstatham's avatar
kstatham
52 posts
17 years ago
kstatham's avatar kstatham

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.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

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.

       
kstatham's avatar
kstatham
52 posts
17 years ago
kstatham's avatar kstatham

Yep… listed above in post #13. Here they are again:

ext.disable_news_feed.php ext.fresh_variables.php

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

Oops, I knew you had listed those, sorry - these long days are killing my attention span. I’m sure Fresh Variables is fine, as that’s newer, but Disable news feed I think is a little older. The version I have locally here on my machine is 0.5. That’s not using any of the hooks I am…hmm. Maybe the punk who wrote Fresh Variables is to blame! (oops…that’s Derek!)

       
kstatham's avatar
kstatham
52 posts
17 years ago
kstatham's avatar kstatham

When I get a chance later today (now that I know how to recover), I’ll disable those other extensions one at a time and try again to install Dulee Noted, and let you know how it goes.

       
AndyWiltshireNZ's avatar
AndyWiltshireNZ
28 posts
17 years ago
AndyWiltshireNZ's avatar AndyWiltshireNZ

Hi, Im getting the same error on a fresh install of 1.6.3 and I dont have any other extensions installed…

The instructions were a little unclear, so can you clarify the following please:

Do I upload the dulee_noted folder to extensions? Or just the files in it? Does the language file go with the main file, or does that go into the main language/english folder?

Where should I have the jquery file? In a js folder in the extensions directory? or in a js folder of the site root?

So basically, now I have a blank admin panel… and will need to follow your previous instructions to uninstall it. Is it possible this plugin just isnt compatible with 1.6.3?

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

The plugin was developed on 1.6.3, so I’m sure compatibility isn’t a problem. The folder is just a container for the two files - not needed.

Let’s back up a sec - this works like any other extension.

1) ext.dulee_noted.php goes in /system/extensions/ 2) lang.dulee_noted.php goes in /system/language/english/ 3) jQuery goes wherever you want it. I’d suggest putting it in a “scripts” or “js” folder at the root of your site. 4) Enable the Extesnion. 5) Click “Settings”. Make sure the path to the jQuery file is correct.

That should be all you have to do. I may do a little more testing to see if I can replicate any issues.

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

I did go into this and look at it - and I should probably rewrite some parts of it to use a different hook. The problem is that you can add stuff to the header in a couple ways, and I think I may have picked the no-so-best way to add stuff to the header in Dulee Noted.

I need to get away from the preg_replace crap, apparently. Here’s hoping that this stuff is easier to do and better documented in EE 2.0.

       
AndyWiltshireNZ's avatar
AndyWiltshireNZ
28 posts
17 years ago
AndyWiltshireNZ's avatar AndyWiltshireNZ

Thanks for the quick reply Ryan, its not urgent for me, so I will wait for 2.0 anyway. Now to have a play with your other plugins 😊

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

OK, I rewrote Dulee Noted, and hopefully it will help out with some of these ridiculous blank CP’s we’re hearing about! I’m no longer using any preg_replace madness. Some changes:

  • Using a different hook to put code in the header
  • Got rid of superfluous “Instructions” text inside the box
  • Added Update checking (check the settings page for this) to check Masuga Design to see if there is a newer version

You should probably disable this extension first, if you have version 1.0.8, upload these files, and then re-enable it.

You can get Version 1.1.0 here.

       
AndyWiltshireNZ's avatar
AndyWiltshireNZ
28 posts
17 years ago
AndyWiltshireNZ's avatar AndyWiltshireNZ

Woohoo! Great job Ryan, works perfectly now! Thanks for the update mate!

       
Bruce2005's avatar
Bruce2005
536 posts
17 years ago
Bruce2005's avatar Bruce2005

Just a heads up,

I installed it and had jquery. The field showed but was like the other fields, but couldn’t write into it like normal (thats understandable) The instructions appeared above the field same as other fields that had them.

Problem was, the jquery file was an older version. Updating jquery to jquery-1.2.6.js fixed it!

Wow, built in tutorials that can be closed, closed by default, reminders to clients, code samples for them to copy and paste, more reminders! lol How about…Did you remember to pay your web developer today? 😉

Thanks for a great extension!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

Right, I supply a default value for the jQuery file, which is just an educated guess. You can either change the value there to whatever version you’re using, or update your jQuery to match.

Without a correct jQuery path the instructions will show like normal, and above their box. The jQuery is used to put the instructions in the box.

       
1 2 3 4 Last

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.