Sort of a newbie question, hope someone can point me to the right direction
Lets say I have pages where the content is divided into sections. For example content of any individual page is as follows
—-
Introduction
(Some text)
Bio
(Some text)
Added notes
(Some text)
——
I hope I make sense here, I guess I am asking about making blocks within content and when a page needs to be edited one can work with individual sections or blocks within content without touching other sections of the content. I am using 1.1 on XAMPP (XP) for now but it will be going on a windows IIS6 server
[Solved] Sections within content
[Solved] Sections within content
Last edited by baresi on Fri Nov 16, 2007 7:47 am, edited 1 time in total.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Sections within content
CMS Supports multiple content blocks, You just need to add them to your page template. Something like this:
Introduction
{content}
Bio
{content block='Bio'}
Added-Notes
{content block='Notes'}
Note: One of the content blocks must be just {content} for everything to work properly, but there's no limit on the number you can have.
Introduction
{content}
Bio
{content block='Bio'}
Added-Notes
{content block='Notes'}
Note: One of the content blocks must be just {content} for everything to work properly, but there's no limit on the number you can have.
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: Sections within content
Thanx for the quick reply 
They don't have to be defined anywhere under Tags or Blocks but only inserted into a Template?
They don't have to be defined anywhere under Tags or Blocks but only inserted into a Template?
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Sections within content
in a page template, yep.
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: Sections within content
I searched for 'parsing html' and others but I guess this is another very newbie question.
How is html within content handled? I know I can use TinyMCE's bold button, what happens if I am copying some preexisting html code thats like hello? whats the best way to handle something like that?
Sorry for using same thread I created for other questions
How is html within content handled? I know I can use TinyMCE's bold button, what happens if I am copying some preexisting html code thats like hello? whats the best way to handle something like that?
Sorry for using same thread I created for other questions
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Sections within content
whatever you copy and paste/or type into a content block appears in the output html verbatim... it's then up to your stylesheets and then the browser to arrange the code the way you want.
so... if you copy hello from notepad or some other evil application into a CMS Made Simple text area, then your stylesheet will help to decide how that gets displayed. if there are no rules (stylesheets are just rule definitions) as to how that gets displayed, then your browser will use it's default settings.
so... if you copy hello from notepad or some other evil application into a CMS Made Simple text area, then your stylesheet will help to decide how that gets displayed. if there are no rules (stylesheets are just rule definitions) as to how that gets displayed, then your browser will use it's default settings.
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.

