Mojo FckConfig.js

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/29/2009 1:11:57 PM
Gravatar
Total Posts 73

Re: Mojo FckConfig.js

I added the 'Templates' menu to the Full toolbar, and now it is showing up.

FCKConfig.ToolbarSets["Full"] = [
['Source','Templates'],

5/29/2009 2:29:11 PM
Gravatar
Total Posts 18439

Re: Mojo FckConfig.js

Oh, I guess the blog just uses the Full toolbar. The widgets wouldn't work right in an outbound RSS feed I think was my reasoning for not using it there.

Best,

Joe 

5/29/2009 3:39:16 PM
Gravatar
Total Posts 73

Re: Mojo FckConfig.js

Ah, that is a good point, as the css is needed for the templates which wont ship with the RSS, I will remove them from the templates from the Full.

5/30/2009 6:02:50 AM
Gravatar
Total Posts 18439

Re: Mojo FckConfig.js

Yeah its both CSS and javascript that won't work in the outbound feed. The widgets need both the css and the javascript. Still I may change the blog to use the FullWithTemplates or make a config option for that because once its possible to edit templates its conceivable to have templates that don't need special css or js, but just stubb out some content structure. Its just the ones included now all do need the css and js.

jQuery makes it so nice because we just wire up those widgets based on a css class with a little snippet of js like this at the bottom of the page:

$('div.mojo-accordion').accordion(); $('div.mojo-tabs').tabs();

I even use jQuery to hookup the YUI tabs like this:

$('div.yui-navset').each(function(n){var myTabs = new YAHOO.widget.TabView(this);})

though I'm sure there is a YUI equivalent way of doing it.

Best,

Joe

 

You must sign in to post in the forums. This thread is closed to new posts.