By Josh Lewis on Tuesday, 04 November 2014
Posted in General Issues
Replies 3
Likes 0
Views 563
Votes 0
In the discussion app for groups and events the code button sets the default type to xml as seen here:



It should set the type to "markup" (or all depending on how ES handles this). While xml is important, HTML, JS, and CSS are used far more often. A while back I recall EasyDiscuss using xml as the default but then swapping over to markup. Plus a universal code type is much more versatile. I'm guessing the code type is still required?
Hello Josh,

You can modify on this file and set to 'markup' to default -> JoomlaFolder\components\com_easysocial\themes\wireframe\bbcode\editor.js

//LINE 45
openWith: '[code type="xml"]',
//replace with
openWith: '[code type="markup"]',
·
Tuesday, 04 November 2014 15:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the mod Arlex. Will this be placed in the future of ES? As mentioned before it doesn't make much sense to specifically select xml for the default. Even this forum we are using here uses the global "markup" code type when clicking the code button. Just trying to make sure ES uses the best practices.
·
Tuesday, 04 November 2014 18:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Josh,

Yes, this will be updated in the next release of EasySocial
·
Wednesday, 05 November 2014 01:03
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post