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 Markitup custom field type for EE Control Panel - add Markitup to EE!

Development and Programming

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

I’ve written an extension that allows for the addition of a Markitup field type, which you can set to Textile or Markdown, or XHTML, etc (on each individual field - note in the picture how each field type can have its own button settings).

I could release it, but I’m goin’ nuts trying to solve one last hard-coded thing under the hood. (I also should make sure the license allows…although I’m not including markitup in the download…you have to go get that yourself)

So if any brave souls who have Extension writing experience would like to try this out, look under the hood and see if anything needs optimizin’, and maybe help me solve the issue (which is pretty much a JavaScript/jQuery issue) so no one ever has to open the ext file for anything, it would be appreciated.

If you’re interested, just PM me and I’ll get you the test files as soon as I can. I may not be up for a while, though…it’s 2:30am here…time for sleep.

This is now available at my Markitup Extension page.

       
AJP's avatar
AJP
311 posts
17 years ago
AJP's avatar AJP

Best. Idea. Ever.

I saw the demo folks, this thing rocks.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Hi Ryan,

Not sure if you got my PM or not but would love to get a look at this one if at all possible?

Best wishes,

Mark

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Hi Ryan,

Still wondering if I could possibly get a look at this one if you’re willing 😉

Best wishes,

Mark

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

Mark, I’m just going to give everyone a look in a little bit. I’m just writing some general instructions first. Just a little while longer.

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

OK, I just went ahead and released a 1.0.0 version.

This is now available at my Markitup Extension page.

Suggestions welcome, but I won’t have a ton of time to implement!

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Hi Ryan,

Thanks for that. Will check it out later tonight. Your documentation page looks really good. Thanks for releasing this for everyone to take a look at. Much appreciated.

Best wishes,

Mark

       
angstmann's avatar
angstmann
225 posts
17 years ago
angstmann's avatar angstmann

Hi Ryan… running EE locally using MAMP and so far have had no luck getting the MarkItUp controls to appear in my custom field on the Publish page. Followed your instructions to the letter as far as I can tell. I do get the link that says “Disable textile MarkItUp!” above the custome field, but no controls.

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

@richard: Did you rename the settings variable in textile/set.js to “mySettings_textile”? Also, you put the markitup folder inside your extensions folder? And you DID download the Textile set from Markitup, didn’t you? 😉

I might do a screencast showing how to install this from start to finish, as I think that would probably answer a lot of questions for everyone.

       
angstmann's avatar
angstmann
225 posts
17 years ago
angstmann's avatar angstmann

Hi Ryan.. yes, believe it or not, I did do all that! Downloaded all necessary files and the sets, and placed everything in the right places, which is why I am baffled. I am wondering if its a paths problem in the Settings for the extension. Will double-check everything again anyway. Thanks for the swift reply.

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

I tested this with some other extensions, and didn’t find any conflicts - though this could definitely be that case. Any way we can see what other extensions you have installed?

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Hi Ryan,

Just to add to this too. I did all of that too and nothing appears on the text-area apart from the text above it to disable. Only did it all very quickly but did follow your instructions to the letter and have double-checked what I did but still no joy I’m afraid.

Will probably try again tomorrow though unless someone finds out what is wrong. I too was trying this on a Mac using MAMP.

Best wishes,

Mark

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Oops just noticed your reply above. Just so you know I tested this out on a brand new stock install of 1.6.3

Cheers,

Mark

       
angstmann's avatar
angstmann
225 posts
17 years ago
angstmann's avatar angstmann

Hi Ryan..

mine too is a stock version of 1.6.3 with no other extensions installed. Glad to see it isn’t just me going crazy, Mark! 😊

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

Just dropped in here for a second… did you guys set the path to jQuery in the Extensions’ settings?

       
1 2 3 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.