Chapter 2: How to tell Joomla, how to add inline editable regions for our component
The next thing we need to do is to instruct Joomla how to make our types, we defined above, editable when we log into Joomla.
Okay, so far we have told Joomla what our inline types are, in our XML, above, for our component, but now we need to get Joomla to trigger the editor when we click on one of those types, so they will be editable by the user.
There are three approaches we can do to achieve this goal, in this section.
We shall go into detail here on these approaches, using our component MyCCK as a real life example.
In our component, we have two views: One is a blog category, and the other, the Item detailed page.
In the category view, we want the category description to be editable and also each of the blog items. In the Item view, we want the text of the Item(article) to be editable upon clicking anywhere, in the text area.
So how do we do this?
We have three approaches to achieve this.