How can the Editor create Boxes as he needs?

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
slissone

How can the Editor create Boxes as he needs?

Post by slissone »

I am new to CMSMS, and I am ready to switch to it if I can solve this problem.

I have a fully coded xhtml/css site which has some very nice rounded boxes. These boxes are great because they naturally change size to fit the amount of content within them, and I can add as many as I want to a page. The code for each box contains a bunch of DIVs (to create the box), plus the actual content (Which the client will edit). Each page will have a different number of boxes depending on what the client needs. I want to make it so that the client can add as many new rounded boxes as to a page as he wants. With each box he adds, an additional copy of the chunk of code for the box is inserted. Then, the client should be able to edit 2 text fields within the box (One for the heading and one for the main text in the box). He should not be able to mess up any of the layout code or tags. Can I do this using CMSMS?

Here is the code for one rounded box:




Editable Text Here


Editable Text Here













Any help you can offer would be greatly appreciated. Thanks.
Last edited by slissone on Sat Jan 03, 2009 2:08 pm, edited 1 time in total.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: How can the Editor create Boxes as he needs?

Post by JohnnyB »

You might be able to use the Page Blocks module - install using your module manager.

It uses templates and tags similar to the main cmsms templates. So, you could create a template for this, assign it as the default and add the page block tag to your template. 

add two tags:



{$title}


{content}










"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Locked

Return to “CMSMS Core”