Link to home
Start Free TrialLog in
Avatar of Eternal_Student
Eternal_StudentFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Joomla content question

I am building a site in Joomla with K2 and I have some requirements for some of the content to be styled a certain way.

For example the following mark-up needs to be flexible enough so that someone with NO HTML skills can edit this and add a new image/caption.

So as you can see from the mark up, there is an image with a paragraph tag in a wrapper column.

I am using JCE as the WSIWYG plug in editor and I am finding it to be doing really strange things with the code when I try and add another image/caption. Adding a new paragraph outside of the container, deleting closing div tags etc etc and messing up the layout.

Any ideas on how to tackle this? Is there another way to allow non HTML savvy users to edit content successfully?
<div id="imageColumn">
<img border="0" title="" alt="" src="image_1.jpg">
<p class="image_caption">Image 1</p>
<img border="0" title="" alt="" src="image_2.jpg">
<p class="image_caption">Image 2</p>
</div>

Open in new window

Avatar of thomasd04
thomasd04
Flag of United States of America image

Hi Eternal Student. Are you asking for recommendations for a more compatible or user friendly WYSIWYG editor?
Avatar of Eternal_Student

ASKER

I guess I am wondering how best to wrap WHAT the user enters in the necessary code or allow them to style it as it should be?

If you DO know of a better editor, then I am all ears!
ASKER CERTIFIED SOLUTION
Avatar of thomasd04
thomasd04
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Any ideas?