> -----Original Message----- > From: Cyriaque Dupoirieux [mailto:[EMAIL PROTECTED] > Sent: Friday, 4 April 2008 5:27 PM > To: dev@forrest.apache.org > Subject: Re: Usage of content-author etc > > le 02/04/2008 16:23 Gav.... a écrit : > > Hi All, > > > > I was looking at trying to finish off FOR-797 > > > > (A moving target being in the Whiteboard, some of them will need > > doing again ...) > > > > Looking at content-author.ft it simply states to put the contract > > in the view somewhere. > > > > So I added :- > > > > <forrest:contract name="content-author"/> > > > > ..into 'pelt-html.content.panel.xml' > > > > Nothing shows up, looking at the source of the page > > the comments are there but no content inbetween. > > > > looking at the code of the contract, it is looking for > > a div class="author" somewhere, so I added one, but still > > can not see where an actual authors name is supposed to > > come from or in fact where it is supposed to appear. > > > Add authors in your header : > http://forrest.apache.org/dtdx/document-v20.dtdx.html#authors
Thanks, I have added an authors section and this shows up if I include the contract 'content-authors.ft' , so that is another one I can commit later, however I was working on the singular 'content-author.ft' (note no s at the end) , so, still stumped on getting this to work, its purpose etc.. Thanks. Gav... > > I have converted some other contracts and work fine, as I want > > to make sure all contracts work before committing, any hints > > on this probably brain-dead simple one would be great :) > > > > > > I also think we should create a test view, either a page or few pages > > containing all these contracts so they can be tested on forrest-sample-2 > > - any changes elsewhere that break any of these will then be > hightlighted. > > > > > > > > > > Gav... > > > > > > > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.21.7/1332 - Release Date: 3/17/2008 > 10:48 AM