Page 1 of 1
need module built
Posted: Thu Sep 22, 2011 7:48 pm
by dgm2
Looking for someone to build a module to add a box just like the news mod in Left simple navigation + 1 column template, needs to be built so that I can add things inside the box. If interested, please reply with your fee for building.
Thanks
Re: need module built
Posted: Thu Sep 22, 2011 7:59 pm
by RonnyK
Isnt it just a {content block="second" label="some nice label"} that you can call there, to have a second text-area available?
That way you can have to areas per page (or call more blocks if needed).
Ronny
Re: need module built
Posted: Thu Sep 22, 2011 11:40 pm
by dgm2
Thanks for your response Ronny, but I am new to this program and I don't understand.
I want a box like in the picture attached. As you can see, I've figured out how I can add in the column, but I want a box around it like "News".
Re: need module built
Posted: Fri Sep 23, 2011 5:41 pm
by RonnyK
Then create a div around it, and style that div. The same as {news} is called and styled in a div/class. That is not a CMSMS thing specifically, that is html/css.
So something like:
<div id="checkbox">
<h2>Your label</h2>
the checkboxes
</div>
with stylesheet:
div#checkbox {
/* margin for the entire div surrounding the news items */
margin: 2em 0 1em 1em;
/* border set here */
border: 1px solid #909799;
/* sets it off from surroundings */
background: #f5f5f5;
}
div#checkbox h2 {
line-height: 2em;
/* you can set your own image here */
background: url([[root_url]]/uploads/ngrey/darknav.png) repeat-x left center;
color: #f5f5f5;
border: none
}
will show like the news box.
Ronny
Re: need module built
Posted: Fri Sep 30, 2011 12:52 pm
by dgm2
Thanks very much Ronny. Worked perfect!
When I put it in the content of a page, it gets wider. Can you point or tell me how to control the width of the checkbox?
Thanks again.
How do I pay you?
Re: need module built
Posted: Fri Oct 07, 2011 8:43 pm
by Dr.CSS
div#checkbox set the witdh using width: XXpx XX being the width you want...