Solved

Joomla content question

Posted on 2011-02-24
4
276 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Any ideas?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article shows how a content item can be identified directly or through translation of a navigation type. It then shows how this information can be used to create a menu for further navigation.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

772 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

11 Experts available now in Live!

Get 1:1 Help Now