[fixed?] content block with space

A place to discuss issues related to CMSMS 1.11 beta versions. This forum will be heavily moderated.
Locked
SanderDuif
New Member
New Member
Posts: 9
Joined: Mon Jul 25, 2011 9:57 am

[fixed?] content block with space

Post by SanderDuif »

Code:

Code: Select all

{content block="test block" oneline="true"}
Using this code in a template makes the content editable on the page in the backend but does not show the actual content in the frontend.

Using

Code: Select all

{content block="testblock" oneline="true"}
works as expected.

Is it possible that the space in the name is messing up? It used to work fine in the past.
uniqu3

Re: content block with space

Post by uniqu3 »

use "label" for naming of blocks, using space in "block" parameter was never recommended.
SanderDuif
New Member
New Member
Posts: 9
Joined: Mon Jul 25, 2011 9:57 am

Re: content block with space

Post by SanderDuif »

You're right, thanks! Label should be used for a name/description of the content block. Even if it used to work before with a space, the recommended use is to avoid using one.

Mayby this should be added as reminder in the description of the block parameter?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: content block with space

Post by calguy1000 »

Fixed in svn anyways.
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.
Locked

Return to “[locked] CMSMS 1.11 Beta”