Page 1 of 1

[solved] One-line content blocks not working

Posted: Sun Sep 11, 2011 9:21 pm
by dhtml12345
The "oneline" attribute for content blocks is not working. For example, adding the following Smarty tag in my template does not create a one-line text block in the edited page, but creates a textarea with a WYSIWYG editor.

Code: Select all

{content block="Top-Left Block Title" oneline=true}
I am using a recent version of CMS Made Simple. I have also tested this on the latest version of CMSMS running at OpenSourceCMS and noticed the same problem.

Re: One-line content blocks not working

Posted: Mon Sep 12, 2011 4:37 am
by Darwin Web Design
Try: {content block="Top-Left Block Title" oneline='true'}

Re: One-line content blocks not working

Posted: Mon Sep 12, 2011 3:13 pm
by Wishbone
Normally you could say option=value without the quotes, but when the template is being parsed when editing a page, it seems to require quotes. oneline="true"... I haven't tried it with single quotes.

Re: One-line content blocks not working

Posted: Sat Sep 17, 2011 1:11 am
by dhtml12345
Quotes around "true" fixed it. Thanks.