Best Practice for controling the style options in content block

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
Rabel
Forum Members
Forum Members
Posts: 31
Joined: Thu Mar 25, 2010 9:54 pm

Best Practice for controling the style options in content block

Post by Rabel »

I have a content area where the client is going to have to choose whether it is a title or just main text area, but I dont want them to have many other option so that this doesnt turn into a bad myspace type page.  It will look like this

Title 1
then this is the main text that will below it.

How do I go about limited the options then can do in the content blocks.
Thanks for the help.
Randy
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Best Practice for controling the style options in content block

Post by Wishbone »

Go to Extensions -> TinyMCE -> Advanced. Look for the section called "Blockformats in dropdown-menu:"

Hmm... I noticed that 'p' isn't there by default. I guess it could be added. I think that this would be confusing if it wasn't an option.
Last edited by Wishbone on Tue Nov 09, 2010 11:52 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Best Practice for controling the style options in content block

Post by calguy1000 »

Why not just provide two areas for them to enter text.
The first (a one line area) for a title.
The second a text area where they can enter text.

{content block='title' oneline=true assign='title'}
{content block='sometext' assign='sometext' wysiwyg=false|strip_tags|nl2br}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Rabel
Forum Members
Forum Members
Posts: 31
Joined: Thu Mar 25, 2010 9:54 pm

Re: Best Practice for controling the style options in content block

Post by Rabel »

Thanks guys.
Sorry Wishbone, could you explain what that would do a little more.
and
thanks Cal Guy I have though about that but this is for quick stories on the home page and I wanted to give them the option to see everything in the content box similar to how it would look on the site, and more importantly they will only have a limited amount of space here and it would be easy if I could tell the client if the title is two lines you have four lines of regular text. But if you use only one line for the title you can use 5 lines of text.

Maybe you guys could let me know how I can limit the number of characters or something like that. Im still new so any help is really appreciated.

Thanks,
Randy
Rabel
Forum Members
Forum Members
Posts: 31
Joined: Thu Mar 25, 2010 9:54 pm

Re: Best Practice for controling the style options in content block

Post by Rabel »

Sorry I figured it out, if I make a smaller stylesheet for this page it will only list the styles I would like them to see. Before I had made a much larger stylesheet with every font listed. This will give me a little more control. It still gives them the options to change fonts and stuff but I guess I will just try to explain to not touch that.
Thanks for the help.
Randy
Post Reply

Return to “CMSMS Core”