Page 1 of 1

can content types have something other than blobs?

Posted: Sat Jul 08, 2006 1:41 pm
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.

Re: can content types have something other than blobs?

Posted: Sat Jul 08, 2006 4:23 pm
by westis
Try {content block='name' oneline=true}

Re: can content types have something other than blobs?

Posted: Sat Jul 08, 2006 6:14 pm
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.

Re: can content types have something other than blobs?

Posted: Sat Jul 08, 2006 10:33 pm
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'}
     

Re: can content types have something other than blobs?

Posted: Sun Jul 09, 2006 3:24 am
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.

Re: can content types have something other than blobs?

Posted: Sun Jul 09, 2006 3:31 am
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