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

Textile Editor Helper (TEH) extension

Development and Programming

imagehat's avatar
imagehat
68 posts
17 years ago
imagehat's avatar imagehat

I’ve updated the extension - grab version 1.0.4 up top. Fixes the link initial space problem from the original TEH, fixes the Safari “submit” problem with the link buttons (which was a javascript conflict with other extensions using JQuery (like the new Tag module), and also adds a help button to the toolbar with an extension setting to customize the help link (defaults to hobbix.com/textile).

Thanks for everyone’s interest and help debugging!

-mike

       
mmjaeger's avatar
mmjaeger
78 posts
17 years ago
mmjaeger's avatar mmjaeger

just installed the latest version and enabled the extension - installed the textile plugin as well - adding a new post, I don’t get any toolbar at all - no error messages either - am I missing something here?

thank you in advance for your help.

       
imagehat's avatar
imagehat
68 posts
17 years ago
imagehat's avatar imagehat

mmjaeger - is the folder named “teh” uploaded your site root? That’s the default location the extension expects, but you can go into the extension’s settings and change the paths if you want it somewhere else.

       
mmjaeger's avatar
mmjaeger
78 posts
17 years ago
mmjaeger's avatar mmjaeger

this is my setting for instance: http://localhost/sites/dev_mmjaeger/teh/javascripts/prototype.js - it’s just not working

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

Hi, thanks for the update. I just updated this Ext on a site that previously had 1.0.2 running. Going in to edit an entry results in:

Notice: Undefined index: help_url in /home/.../.../.../extensions/ext.textile_editor.php on line 132

Lines 130-134:

// Help link
  function teh_help() {
    window.open("'.trim($this->settings['help_url']).'", "_blank");
    return false;
  }

Looking under settings, then to see if the help url is there. Line 220:

$settings['help_url'] = 'http://hobix.com/textile/';

These lines appear correct to me. I tried uninstalling and reinstalling the extension, but I’m still getting the error. Thanks for taking a look!

UPDATE: There is a phenomenon on the forums known as the Fonzie effect. All you have to do is come here, write a post about what your problem is, and then go back to find it fixed. All I apparently did was go back to the site, and made sure to click “Submit” on the settings page, and now it appears to be working correctly. Whatever. I’ll take it! Thanks for this very useful extension.

       
Garrulus's avatar
Garrulus
10 posts
17 years ago
Garrulus's avatar Garrulus

Hi lavalamp,

Thank you for this beautiful adaptation of the Textile Helper Plugin for EE. I think its great that you even improved it.

I am wrestling to get your latest version working on my frontend (via SAEF). It works great in all browsers, except in Internet Explorer 6 and 7. I am sure it’s a javascript problem, but I can’t seem to find the problem.

It has something to do with this piece of javascript you wrote which is inserted in the publish/edit pages of EE. What’s making it break in IE and not in all other browsers?

Could you please tell us how to enable the plugin for SAEF?

PS: The orginal TEH works on my SAEF, but due to the space/lists problem, I can’t use it reliably for my members.

       
Simon Clayson's avatar
Simon Clayson
38 posts
17 years ago
Simon Clayson's avatar Simon Clayson

I really like this extension and I was about to start building some custom buttons. Frustrating that it’s not in the add-on library, I would have found it much much quicker.

If it could just have a dash of WYSIWYG… Sorry, but that’s what the punters want!

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.
Frustrating that it’s not in the add-on library, I would have found it much much quicker.

I think you’d be utterly shocked at how many things aren’t in the add-on library. That is actually one of the last places I look for add-ons.

       
Kerim Satirli's avatar
Kerim Satirli
52 posts
17 years ago
Kerim Satirli's avatar Kerim Satirli

This plugin looks great and I would love to use it, however, I am having trouble getting it to show up.

I’ve tried it on 1.6.1 and 1.6.2 and in both cases it does not show up, no matter if I use normal field names ({body}, {summary} etc) or custom ones and unlike another poster here, it does not even show up for published articles.

I triple-checked the paths to the various folders and they all return the expected files. I also did a check of the source of the publish / edit section and it does not contain ANY links to the javascripts used by the editor, even though the extension is enabled.

any thoughts?

       
Simon Clayson's avatar
Simon Clayson
38 posts
17 years ago
Simon Clayson's avatar Simon Clayson

Try going to the custom fields section:

CP Home › Admin › Weblog Administration › Field Groups › Custom Fields

Check under Edit List under the “Default Text Formatting for This Field” bit, and you should find a Textile option…

       
Kerim Satirli's avatar
Kerim Satirli
52 posts
17 years ago
Kerim Satirli's avatar Kerim Satirli

I attached a screenshot of the area I suppose you were talking about.

FWIW, I am using Publish Page Improvements (v.2.0.0) , but even with them disabled, I do not get the TEH.

any more thoughts?

       
Simon Clayson's avatar
Simon Clayson
38 posts
17 years ago
Simon Clayson's avatar Simon Clayson

Not under “Edit List”?

       
Kerim Satirli's avatar
Kerim Satirli
52 posts
17 years ago
Kerim Satirli's avatar Kerim Satirli

ah! Found it, apologies for the confusion. It is still early around here.

[edit] working as expected! I might even have a shot at extending this.

       
Dave Rau's avatar
Dave Rau
85 posts
17 years ago
Dave Rau's avatar Dave Rau

I’d highly recommend adding “check path settings” as one of the instruction items in the readme file! I spend a while trying to figure out why things weren’t working, then I read on down this page and saw some other folks with the same issue.

This is a super useful extension, thanks so much!

-dave

       
Stephen Lewis's avatar
Stephen Lewis
466 posts
17 years ago
Stephen Lewis's avatar Stephen Lewis

Just a quick note to say thanks to lavalamp for his work on this extension. After much procrastinating, I sat down to write something similar, and began by searching the forums for advice and ideas.

Having done similar searches on several occasions previously, I was very surprised to uncover this gem. The ways things are going it may soon find a home in my list of “must install” extensions for every project. Congratulations on a job very well done.

Cheers, Stephen

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