I have updated my cmsms to 1.65 and noticed that in the Edit Content area, the secondary content block i created is on top of the main content block, how can I fix this? I want to see the main content first each time when I edit my pages.
Any tip is appreciated.
[solved]content block issue
[solved]content block issue
Last edited by twen88 on Thu Sep 24, 2009 5:29 pm, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: content block issue
When editing a content page using multiple content blocks, the blocks NOW appear in the order they are entered in the template.
so if you have:
You'll see the 'foo' content block first. This is not a bug, it's actually was a feature request.
To solve this (and a few other things that may have come up, do something like this:>
This assigns the output of the default content block to the smarty variable maincontent, which you can then re-use later in your template.
so if you have:
Code: Select all
<!-- some stuff -->
{content block='foo'}
<!-- some more stuff -->
{content}
To solve this (and a few other things that may have come up, do something like this:>
Code: Select all
</__body>
{content assign='maincontent'}
<!-- some stuff -->
{content block='foo'}
<!-- some more stuff -->
{$maincontent}
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.
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.
Re: content block issue
Thank you very much calguy1000, this really helps!! 
