Using multiple styles at Tiny MCE

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
masama1
Forum Members
Forum Members
Posts: 10
Joined: Thu Jul 08, 2010 8:44 am

Using multiple styles at Tiny MCE

Post by masama1 »

Problem occurs when i have desingned using several div-commmands and other css-commands like:
<----------------------------------------------->
<div class="menus"><ul>
<li><img src="images/content/item-thumb_1.jpg" alt="" />
<div class="description"><strong>Item name</strong>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<span class="cost">4.00 EUR</span> </li>
<li><img src="images/content/item-thumb_2.jpg" alt="" />
<div class="description"><strong>Item name</strong>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
</div><li><img src="images/content/item-thumb_1.jpg" alt="" />
<div class="description"><strong>Item name</strong>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<span class="cost">4.00 EUR</span> </li>
</ul></div>
<!------------------------------------------------------------------->

How can i use multiple styles and div's etc so that person without coding skills can use TinyMCE easily?
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: Using multiple styles at Tiny MCE

Post by spcherub »

Unfortunately TinyMCE is not suitable for end-user editing this kind of page content. You are better served by using a module in which users will enter the data and then your template can build the right markup.

For instance in your case, it looks like you are showing a list of products, so perhaps you should investigate the "Products" module or even the general-purpose News module. You users will be able to enter product data in simple web-forms without having to worry about divs and spans.

Hope this helps

S
masama1
Forum Members
Forum Members
Posts: 10
Joined: Thu Jul 08, 2010 8:44 am

Re: Using multiple styles at Tiny MCE

Post by masama1 »

Ok i'll take a look. Thank you for your reply!
Post Reply

Return to “CMSMS Core”