?
Solved

Joomla content question

Posted on 2011-02-24
4
Medium Priority
?
283 Views
Last Modified: 2013-11-19
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

0
Comment
Question by:Eternal_Student
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:thomasd04
ID: 34981873
Hi Eternal Student. Are you asking for recommendations for a more compatible or user friendly WYSIWYG editor?
0
 
LVL 18

Author Comment

by:Eternal_Student
ID: 34982376
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!
0
 
LVL 3

Accepted Solution

by:
thomasd04 earned 1000 total points
ID: 34982596
Ahah! I get it. That's a great idea that should be submitted to the JCE developer's as a feature request. I'll see what I can dig up and get back to you if nobody does before me.
0
 
LVL 18

Author Comment

by:Eternal_Student
ID: 35122211
Any ideas?
0

Featured Post

PowerShell Core for Advanced Linux Administrators

Understand advanced principals around Powershell Core with a focus on the Linux Administrator.  This course covers how to administer numerous environments across multiple platforms including Linux, Azure, AWS, and Google Cloud from a single shell instance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question