On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Anyone have Xinha running as a plugin? (Just wanted to be sure before I contemplated writing my own)
      [html]<div><div style="float:left;"><a href="http://modxcms.com/Ditto-487.html" target="_blank"><img src="http://modxcms.com/assets/images/ditto.gif" alt="" border="0"></a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd; margin-left: 5px;"><a style="display:block;"href="http://modxcms.com/ditto_docs.html">Documentation</a><a style="display:block;" href="http://modxcms.com/ditto_trac.html">TRAC (Bugtracker)</a><a style="display:block;"href="http://modxcms.com/forums/index.php/board,180.0.html">Forum</a><a style="display:block;"href="http://modxcms.com/forums/index.php/topic,13348.0.html">How to get help</a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd;"><a style="display:block;"href="http://modxcms.com/ditto_wiki.html">User Wiki</a><a style="display:block;" href="http://modxcms.com/ditto_credits.html">Credits</a><a style="display:block;"href="http://modxcms.com/ditto_svn.html">SVN Server</a><a style="display:block;"href="http://modxcms.com/ditto">Ditto HQ</a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd;"><a style="display:block;"href="http://modxcms.com/ditto_stable_download.html"><strong><span style="color:#CC0000;">Stable Download</span></strong></a><a style="display:block;"href="http://modxcms.com/ditto_download.html"><strong><span style="color:#CC0000;">Development Download</span></strong></a></div><div style="clear: both;"></div></div>[/html]
    • I’m sort of working on one. Got the preliminary code up and running. I just need to work on integrating some settings and the Resource Manager. Shouldn’t take long. smiley

      Quote from: MARKSVIRTUALDESK at Jul 21, 2005, 04:22 PM

      Anyone have Xinha running as a plugin? (Just wanted to be sure before I contemplated writing my own)
        Jeff Whitfield

        "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
      • Which nightly are you using? Some of the latest don’t seem to work with the newest version of FF. I have a nightly from a few months ago that works just as good as the new version (sans a few recently created plugins) if you need it.
          [html]<div><div style="float:left;"><a href="http://modxcms.com/Ditto-487.html" target="_blank"><img src="http://modxcms.com/assets/images/ditto.gif" alt="" border="0"></a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd; margin-left: 5px;"><a style="display:block;"href="http://modxcms.com/ditto_docs.html">Documentation</a><a style="display:block;" href="http://modxcms.com/ditto_trac.html">TRAC (Bugtracker)</a><a style="display:block;"href="http://modxcms.com/forums/index.php/board,180.0.html">Forum</a><a style="display:block;"href="http://modxcms.com/forums/index.php/topic,13348.0.html">How to get help</a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd;"><a style="display:block;"href="http://modxcms.com/ditto_wiki.html">User Wiki</a><a style="display:block;" href="http://modxcms.com/ditto_credits.html">Credits</a><a style="display:block;"href="http://modxcms.com/ditto_svn.html">SVN Server</a><a style="display:block;"href="http://modxcms.com/ditto">Ditto HQ</a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd;"><a style="display:block;"href="http://modxcms.com/ditto_stable_download.html"><strong><span style="color:#CC0000;">Stable Download</span></strong></a><a style="display:block;"href="http://modxcms.com/ditto_download.html"><strong><span style="color:#CC0000;">Development Download</span></strong></a></div><div style="clear: both;"></div></div>[/html]
        • Quote from: MARKSVIRTUALDESK at Jul 21, 2005, 04:44 PM

          Which nightly are you using? Some of the latest don’t seem to work with the newest version of FF. I have a nightly from a few months ago that works just as good as the new version (sans a few recently created plugins) if you need it.

          This is what is shown on the version tab in the About dialog box:

          Release: Trunk (Sun, 17 Jul 2005 17:15:29 +1200)
          Head: http://svn.xinha.python-hosting.com/trunk/htmlarea.js
          Revision: 268
          Last Changed By: gogo

          Since the Xinha devs don’t appear to be showing the revision numbers on their site, it seems that this is the only way to tell which version it is. I’m currently running on Firefox 1.0.6 and don’t see any real problems yet with Xinha. Then again...I could be wrong. Guess we’ll see. smiley
            Jeff Whitfield

            "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
          • MARKSVIRTUALDESK Reply #5, 14 years ago
            Quote from: Bravado at Jul 21, 2005, 04:40 PM

            I’m sort of working on one. Got the preliminary code up and running. I just need to work on integrating some settings and the Resource Manager. Shouldn’t take long. smiley

            Quote from: MARKSVIRTUALDESK at Jul 21, 2005, 04:22 PM

            Anyone have Xinha running as a plugin? (Just wanted to be sure before I contemplated writing my own)

            Do you think you could share your preliminary code with the community? It would be great! Thanks.
              [html]<div><div style="float:left;"><a href="http://modxcms.com/Ditto-487.html" target="_blank"><img src="http://modxcms.com/assets/images/ditto.gif" alt="" border="0"></a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd; margin-left: 5px;"><a style="display:block;"href="http://modxcms.com/ditto_docs.html">Documentation</a><a style="display:block;" href="http://modxcms.com/ditto_trac.html">TRAC (Bugtracker)</a><a style="display:block;"href="http://modxcms.com/forums/index.php/board,180.0.html">Forum</a><a style="display:block;"href="http://modxcms.com/forums/index.php/topic,13348.0.html">How to get help</a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd;"><a style="display:block;"href="http://modxcms.com/ditto_wiki.html">User Wiki</a><a style="display:block;" href="http://modxcms.com/ditto_credits.html">Credits</a><a style="display:block;"href="http://modxcms.com/ditto_svn.html">SVN Server</a><a style="display:block;"href="http://modxcms.com/ditto">Ditto HQ</a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd;"><a style="display:block;"href="http://modxcms.com/ditto_stable_download.html"><strong><span style="color:#CC0000;">Stable Download</span></strong></a><a style="display:block;"href="http://modxcms.com/ditto_download.html"><strong><span style="color:#CC0000;">Development Download</span></strong></a></div><div style="clear: both;"></div></div>[/html]
            • No problem. However, keep in mind that this isn’t even close to done. What you’ll see here is just the editor itself...no special settings or anything. I still have to work on getting the Resource Manager to work with it and I need to get some of the Xinha settings in the Configuration menu. Lots to do...but at least this will show that the editor itself will work dandy with the new plugin system. laugh
                Jeff Whitfield

                "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
              • MARKSVIRTUALDESK Reply #7, 14 years ago
                Thanks Jeff!

                Nice installer ......... smiley smiley smiley smiley smiley smiley smiley smiley smiley

                The plugin is great! With a few code differances you can theme xinha to look like modx. Just use

                link type="text/css" rel="stylesheet" title="xp-blue" href="/skins/xp-blue/skin.css" />
                


                at the beginning of the plugin to a theme (change the directory to change the skin css.

                and replace
                editor_url  = '{$base_url}assets/plugins/xinha/';
                				_editor_lang = "en";
                


                with
                	_editor_url  = '{$base_url}assets/plugins/xinha/';
                				_editor_lang = "en";
                                                _editor_skin = "xp-blue";
                

                where editor_skin is the skin name.

                Hope this helps.
                  [html]<div><div style="float:left;"><a href="http://modxcms.com/Ditto-487.html" target="_blank"><img src="http://modxcms.com/assets/images/ditto.gif" alt="" border="0"></a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd; margin-left: 5px;"><a style="display:block;"href="http://modxcms.com/ditto_docs.html">Documentation</a><a style="display:block;" href="http://modxcms.com/ditto_trac.html">TRAC (Bugtracker)</a><a style="display:block;"href="http://modxcms.com/forums/index.php/board,180.0.html">Forum</a><a style="display:block;"href="http://modxcms.com/forums/index.php/topic,13348.0.html">How to get help</a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd;"><a style="display:block;"href="http://modxcms.com/ditto_wiki.html">User Wiki</a><a style="display:block;" href="http://modxcms.com/ditto_credits.html">Credits</a><a style="display:block;"href="http://modxcms.com/ditto_svn.html">SVN Server</a><a style="display:block;"href="http://modxcms.com/ditto">Ditto HQ</a></div><div style="float:left; padding: 0 5px 0 5px; border-left: 2px solid #ddd;"><a style="display:block;"href="http://modxcms.com/ditto_stable_download.html"><strong><span style="color:#CC0000;">Stable Download</span></strong></a><a style="display:block;"href="http://modxcms.com/ditto_download.html"><strong><span style="color:#CC0000;">Development Download</span></strong></a></div><div style="clear: both;"></div></div>[/html]
                • Let us know when it is completely working and please provide us with guidelines about what exactly to do to have it work. Excellent development!
                  • Quote from: eko40 at Aug 02, 2005, 08:11 AM

                    Let us know when it is completely working and please provide us with guidelines about what exactly to do to have it work. Excellent development!

                    Yeah...I’m a little behind on this. Been busy with some other things. But I should be able to get on top of this here in another day or so. Work is work! Ugg! wink
                      Jeff Whitfield

                      "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
                    • Just a quick update on my progress with this. I still have some work to do on the plugin...not much...but enough to keep me busy another week though. wink However, due to some required changes in the core, I’ll have to wait till TP4 to release it. The reason is that I’m implementing some array values for some of the plugin settings. As such, the core needs a small change to allow storing manager settings as arrays. Why use an array? Well, in the case of the Xinha plugin, I felt it best to use an array to store which plugins will be used in the editor. That way the user can select and/or deselect which plugins in Xinha they wish to use. This is just one feature...but I have a few more I’m implementing as well. Should prove to be quite snazzy once it’s done.

                      More to come...
                        Jeff Whitfield

                        "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."