[solved] One-line content blocks not working

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
dhtml12345

[solved] One-line content blocks not working

Post 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.
Last edited by dhtml12345 on Sat Sep 17, 2011 1:11 am, edited 1 time in total.
User avatar
Darwin Web Design
Forum Members
Forum Members
Posts: 212
Joined: Tue May 30, 2006 3:12 am
Location: Darwin NT, Australia

Re: One-line content blocks not working

Post by Darwin Web Design »

Try: {content block="Top-Left Block Title" oneline='true'}
Wishbone
Power Poster
Power Poster
Posts: 1369
Joined: Tue Dec 23, 2008 8:39 pm

Re: One-line content blocks not working

Post 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.
dhtml12345

Re: One-line content blocks not working

Post by dhtml12345 »

Quotes around "true" fixed it. Thanks.
Locked

Return to “CMSMS Core”