1 of 4
1
Extension: MD Markitup custom field type for EE Control Panel - add Markitup to EE!
Posted: 11 June 2008 12:33 AM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

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.

Image Attachments
markitup.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: 11 June 2008 12:42 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  307
Joined  01-20-2006

Best. Idea. Ever.

I saw the demo folks, this thing rocks.

 Signature 

AJ Penninga
Pretty Squares, LLC - http://www.prettysquares.com

Profile
 
 
Posted: 11 June 2008 02:58 PM   [ Ignore ]   [ # 2 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6543
Joined  04-15-2006

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

 Signature 

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

Profile
 
 
Posted: 16 June 2008 10:35 AM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6543
Joined  04-15-2006

Hi Ryan,

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

Best wishes,

Mark

 Signature 

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

Profile
 
 
Posted: 16 June 2008 07:33 PM   [ Ignore ]   [ # 4 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

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.

 Signature 

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

Profile
 
 
Posted: 16 June 2008 08:06 PM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

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!

 Signature 

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

Profile
 
 
Posted: 17 June 2008 01:54 AM   [ Ignore ]   [ # 6 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6543
Joined  04-15-2006

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

 Signature 

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

Profile
 
 
Posted: 17 June 2008 03:56 PM   [ Ignore ]   [ # 7 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  160
Joined  03-04-2008

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.

 Signature 

Richard Angstmann
Film & Video, Web Design, eCommerce | Gloucester | Cheltenham | Forest of Dean

Profile
 
 
Posted: 17 June 2008 03:59 PM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

@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? wink

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.

 Signature 

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

Profile
 
 
Posted: 17 June 2008 04:04 PM   [ Ignore ]   [ # 9 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  160
Joined  03-04-2008

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.

 Signature 

Richard Angstmann
Film & Video, Web Design, eCommerce | Gloucester | Cheltenham | Forest of Dean

Profile
 
 
Posted: 17 June 2008 04:08 PM   [ Ignore ]   [ # 10 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

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?

 Signature 

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

Profile
 
 
Posted: 17 June 2008 04:10 PM   [ Ignore ]   [ # 11 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6543
Joined  04-15-2006

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

 Signature 

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

Profile
 
 
Posted: 17 June 2008 04:11 PM   [ Ignore ]   [ # 12 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6543
Joined  04-15-2006

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

 Signature 

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

Profile
 
 
Posted: 17 June 2008 04:13 PM   [ Ignore ]   [ # 13 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  160
Joined  03-04-2008

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! smile

 Signature 

Richard Angstmann
Film & Video, Web Design, eCommerce | Gloucester | Cheltenham | Forest of Dean

Profile
 
 
Posted: 17 June 2008 07:26 PM   [ Ignore ]   [ # 14 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

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

 Signature 

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

Profile
 
 
Posted: 17 June 2008 10:00 PM   [ Ignore ]   [ # 15 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

Dang, I think I found an issue with this and other Extensions that may also be calling a jQuery file. I may have to rewrite parts of this - or it could be the other extension…

Ugh. I suppose you can never test enough.

 Signature 

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

Profile
 
 
Posted: 18 June 2008 12:30 AM   [ Ignore ]   [ # 16 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  160
Joined  03-04-2008

Hi Ryan, yes I set the path to JQuery in the Settings. Tried relative and absolute paths and still no luck, As I said, I have no other extensions running, nor am I using JQuery anywhere else on my server.

 Signature 

Richard Angstmann
Film & Video, Web Design, eCommerce | Gloucester | Cheltenham | Forest of Dean

Profile
 
 
Posted: 18 June 2008 02:05 AM   [ Ignore ]   [ # 17 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6543
Joined  04-15-2006

Same here. No other extensions set. Tried with a relative path, an absolute path and a hard-coded server path too. None work unfortunately.

Don’t know if that helps though.

Best wishes,

Mark

 Signature 

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

Profile
 
 
Posted: 18 June 2008 02:42 AM   [ Ignore ]   [ # 18 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  246
Joined  04-12-2008

Hi Ryan

Installation went fine, I did not have any problems whatsoever. Looks pretty good to me right now, did not have the chance to look at the code and at the set problem, but i guess this could be solved somehow by storing the settings files (sets) for each Markitup editor as text in an extension’s database tables. I’ll try to look into it some time soon.

One problem I had though was that the preview of markitup was not showing the text properly e.g. with no formatting, saving the entry into the database was fine and textile plugin displayed everything nicely.

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

Designchuchi | Twitter

URL Field Extension
Required Category Extension
DC FreeForm GeoIP Extension

Profile
 
 
   
1 of 4
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: 64908 Total Logged-in Users: 35
Total Topics: 81852 Total Anonymous Users: 24
Total Replies: 440059 Total Guests: 238
Total Posts: 521911    
Members ( View Memberlist )