can content types have something other than blobs?

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.
Locked
sabernar

can content types have something other than blobs?

Post by sabernar »

I want to create a new content type with a number of different fields, but I don't want them to be HTML blobs.  Is there a way to just have the fields simple text (i.e. 255 character limit) without a huge textarea gobbling up screen real estate every time I want to edit it?  It seems like it's overkill to force every field to be a huge textarea when I really just need to enter in a couple words here or there.

Thanks.
westis

Re: can content types have something other than blobs?

Post by westis »

Try {content block='name' oneline=true}
sabernar

Re: can content types have something other than blobs?

Post by sabernar »

Excellent!

Is this documented somewhere?  I looked all over for something like this and couldn't find it.  It seems like an important feature that many people would be interested in.  It should be somewhere noticeable.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: can content types have something other than blobs?

Post by Dr.CSS »

i use it for the title to content blocks... never knew it would make just a small block for a few words, was thinking it had to be the block title DUH!

     
        {content block='block1title' oneline='true'}
        {content block='block1'}
     
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: can content types have something other than blobs?

Post by Ted »

Technically, it's located in the help for the content tag.  Though, I'm sure most people aren't reading that since it's a bit buried.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: can content types have something other than blobs?

Post by Dr.CSS »

yea, who's going to look at the content tag help (looking at his stupid self DUH!)  ::)  you just put the tag in your page and go to town  ;D
Locked

Return to “CMSMS Core”