 |

johnlynch
User
Feb 22, 2007, 12:02 PM
Post #1 of 3
(251 views)
Shortcut
|
|
Changing the editable fields for an article...
|
Can't Post
|
|
Hi, I've had an idea but I'm not sure if it's possible. I'm trying to produce a site made up of pages with three distinct areas for text. The first area is an introductory paragraph (Summary) at the top of the page. Below this, side by side, lie two columns of text, not unlike newsprint. Now, until CSS3 and multi-column support becomes broadly available, all I can think of is that these two columns be laid out using separate divs or table cells (and therefore separate content fields withing AM2). What I'm asking is this: Is it possible to change the way articles are saved by the system so that 3 fields are available: Intro Paragraph (Previously "Summary") Left Column (Previously "Content") Right Column (New Field) This would be a cool feature if it's not already included - would really liberate advanced users. Thanks for your help and continued support. John
|
|
|  |
 |

jpea1
User
Feb 22, 2007, 2:42 PM
Post #2 of 3
(248 views)
Shortcut
|
|
Re: [johnlynch] Changing the editable fields for an article...
[In reply to]
|
Can't Post
|
|
http://www.interactivetools.com/forum/gforum.cgi?post=53473;search_string=nytimes.com;t=search_engine#53473 John, As you can see from the above post, with fingers crossed, I for one am waiting back to hear back from Donna on something close to what you are proposing. I agree, pushing the envelope in this regard should be possible in AM2 and would make a great AM2 feature we can offer our clients and website visitors. Again, although the www.nytimes.com example is ambitious, it is nice! So why not start somewhere in this regard and build on it through the IT support and forum contributions. I'm with you John on this one - your idea is a good one and it was good of you to present it. jpea1
|
|
|  |
 |

johnlynch
User
Feb 23, 2007, 5:18 AM
Post #3 of 3
(230 views)
Shortcut
|
|
Re: [jpea1] Changing the editable fields for an article...
[In reply to]
|
Can't Post
|
|
Ok. Been looking into this on my own and this is what I'm trying... Under Admin in the CMS you can edit the database. Here I've added one extra field... I've called it "right_col" and given it all the same characteristics as the "Content" field. I've renamed the "Content" field "left_col" and left "Summary" as is. With those changes saved the article editor now includes new fields for content entry. Finally, my css/template file is starting to look like this...
TEMPLATE: <p class="top">$article.summary$</p> <div id="left_col"> $article.left_col$ </div> <!-- left_col --> <div id="right_col"> $article.right_col$ </div> <!-- right_col --> CSS: #left_col { float: left; width: 190px; margin: 10px 0 0 0; padding: 0 4px 0 4px; border: solid 1px #0000ff; } #right_col { float: right; width: 190px; margin: 10px 0 0 0; padding: 0 4px 0 4px; border: solid 1px #ff0000; } It's not as good as autoflow but it's certainly ok for my needs. The result (work in progress) is here: http://preview.tinyurl.com/33s5u3 John.
|
|
|  |
 | |  |
|