Solved

Joomla content question

Posted on 2011-02-24
4
281 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 250 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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Eloquent ORM manual paginator defaults to simple 2 45
What does GoogleTagMgr javascripts below do 5 59
Replace value 2 34
How to build a web site 17 57
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

733 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