Page 1 of 1

Using multiple styles at Tiny MCE

Posted: Mon Oct 03, 2011 8:45 am
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?

Re: Using multiple styles at Tiny MCE

Posted: Mon Oct 03, 2011 8:08 pm
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

Re: Using multiple styles at Tiny MCE

Posted: Tue Oct 04, 2011 5:49 am
by masama1
Ok i'll take a look. Thank you for your reply!