COMMUNITY FORUM
[SOLVED] Microdata disappears
- Seekat Seemonster
-
Topic Author
- Offline
- New Member
I'm trying to streamline my site by adding microdata to K2 items. I find the when using specific editors like TinyMCE and JCE, the moment you hit save, it removes all the microdata you added to the item. (driving me crazy) The weird thing is, that when I use CODEMIRROR as an editor, I can save the item and all microdata remains.
Is there anything I might be doing wrong that make my markup disappear? Is this a know issue?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Seekat Seemonster
-
Topic Author
- Offline
- New Member
I wonder if anyone else experienced the same issue or have been able to recreate it?
Is anyone using any other editors apart from JCE & TinyMCE?
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
I switched to TinyMCE and it worked well.
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- Seekat Seemonster
-
Topic Author
- Offline
- New Member
It seems like there is a firm understanding of where the problem lies, but does anyone have an opinion on the solution. I'm fine with using CodeMirror but some of my clients are not so savvy. The implication of my clients opening an K2 item and TinyMCE or CodeMirror opening is, I'll have a client that struggles to work with their own content. The other implication is if I add markup to K2 items on a client's website and they simply open the item with JCE or TinyMCE, let alone make changes, all my microdata will be lost.
These implications kind of kills K2 as a viable option for professionals using Microdata and different kinds of typography.
Any suggestion?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Have you done what Krikor suggested? Have you checked your editor options? Have you checked the text filters in both K2 parameters and Joomla! configuration? You can also try to create overrides for K2 templates and put the microdata markup there as the core articles system is doing.
Please Log in or Create an account to join the conversation.
- Seekat Seemonster
-
Topic Author
- Offline
- New Member
TinyMCE still problematic as there is no configuration or control panel in the Joomla Control Panel. Guess solution will come from some sort of override like Lefteris suggested.
Solution - JCE has it's own control panel with custom configuration.
- Under Editor Global Configuration - is a section called "Cleanup & Output"
- Doesn't matter what settings you configure in this section, it still removes your markup data.
- Simply disable/select "NO" on all options
Thanks for everyones input
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
-
- Offline
- Platinum Member
- Joomla Developer
Seekat Seemonster wrote: Ya baby - got it working in JCE
TinyMCE still problematic as there is no configuration or control panel in the Joomla Control Panel. Guess solution will come from some sort of override like Lefteris suggested.
Solution - JCE has it's own control panel with custom configuration.
- Under Editor Global Configuration - is a section called "Cleanup & Output"
- Doesn't matter what settings you configure in this section, it still removes your markup data.
- Simply disable/select "NO" on all options
Thanks for everyones input
Great!
For TinyMCE configuration, there is a plugin called Editor - TinyMCE, edit it and you will be able to configure many options.
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- Seekat Seemonster
-
Topic Author
- Offline
- New Member
Some more info on the JCE Solution
- Even after the above mentioned solutions I still experienced some PHP code and Java scrips being removed. The following link's instructions fixed it completely.
- www.joomlacontenteditor.net/support/faq/item/scripts-removed-on-saving
Please Log in or Create an account to join the conversation.