Help - Search - Members - Calendar
Full Version: Custom Fields And Text Areas
Movable Type Community Forum > Using Movable Type > Entries and Archives
webeditsandmore
When you look at the seriouseats.com website, there are three html text boxes at the top of the page. I'd like to do that on my website but in the main content area. Currently, I'm using images (preceptsforliving.com) where I'd like the html text boxes to be with the same type of treatment. I know that I can create three divs nested in one large div and add the text copy. Also, I can give the divs backgrfound images. However, I'd like for our editors to be able to easily type in content for these boxes. Can I do that through custom fields?
shenews
QUOTE (webeditsandmore @ Jul 31 2008, 05:21 PM) *
When you look at the seriouseats.com website, there are three html text boxes at the top of the page. I'd like to do that on my website but in the main content area. Currently, I'm using images (preceptsforliving.com) where I'd like the html text boxes to be with the same type of treatment. I know that I can create three divs nested in one large div and add the text copy. Also, I can give the divs backgrfound images. However, I'd like for our editors to be able to easily type in content for these boxes. Can I do that through custom fields?


I'd put the divs in the header, and the text in template modules. Give them rebuild access and let them type in there, and include them:

CODE
<div id="leftbox">
<$MTInclude module="leftboxtext"$>
</div>


The template module "leftboxtext" could be nothing but text, with styling handled by the div on the css file.

After a change, they save, rebuild just the indexes (header is top of the indexes) and the text will change.

(Edited to add "id" to correct div tag)
webeditsandmore
QUOTE (shenews @ Jul 31 2008, 03:05 PM) *
QUOTE (webeditsandmore @ Jul 31 2008, 05:21 PM) *
When you look at the seriouseats.com website, there are three html text boxes at the top of the page. I'd like to do that on my website but in the main content area. Currently, I'm using images (preceptsforliving.com) where I'd like the html text boxes to be with the same type of treatment. I know that I can create three divs nested in one large div and add the text copy. Also, I can give the divs backgrfound images. However, I'd like for our editors to be able to easily type in content for these boxes. Can I do that through custom fields?


I'd put the divs in the header, and the text in template modules. Give them rebuild access and let them type in there, and include them:

CODE
<div id="leftbox">
<$MTInclude module="leftboxtext"$>
</div>


The template module "leftboxtext" could be nothing but text, with styling handled by the div on the css file.

After a change, they save, rebuild just the indexes (header is top of the indexes) and the text will change.

(Edited to add "id" to correct div tag)

Thanks. Much appreciated.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.