Solved

Joomla content question

Posted on 2011-02-24
4
277 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
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…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now