forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paterline, David L." <>
Subject Question about embedding external data in multiple pages
Date Mon, 01 Aug 2005 19:58:01 GMT
Hi -

I'm interested in having a table of information appear in two separate pages
(rather than having links to the information in both pages), and I'd like to
only have to maintain the information in one place. Is there a way to have
the contents of an external file "compiled" into two or more xdoc files?


David L. Paterline
Principal Engineer       
Westinghouse Electric Company
Nuclear Fuel Engineering
Engineering Computing   
PH: 412-374-2286
FX: 412-374-2284

-----Original Message-----
From: Diwaker Gupta [] 
Sent: Monday, August 01, 2005 2:17 AM
Subject: Re: Help with new templates

On Sunday 31 July 2005 6:10 pm, CFAS Webmaster wrote:
>   Is anyone would be willing to help me through the process of making 
> this work properly?  The original site that I'm trying to emulate is: 
>, the new site is 

glad to help where I can :)

>   Essentially, I'd like the third column flush against the header.  I 
> think it'll work if I can convince Forrest to place that column in its 
> own <div id="rightbar">.  Unfortunately since it's part of the source 
> file, it's part of <div id="content">.  I looked briefly at writing a 
> new contract but I don't know enough about them to know if that's even 
> a valid approach.

Have you read the documentation on views?

IIUC, all you need to do is put some of the content (like your quicklinks
news items on the old site) within another <forrest:hook> in the view file 
for the front page (most likely it should be named index.fv) and thats it!

Just in case you didn't know, you can specify per file as well as per 
directory view configs. So, each page can have a different layout, all pages

in the same directory can have a different layout and so on!

The naming convention is that for a file named foo.xml, Forrest will look
foo.fv, and then default.fv in the directory containing foo.xml, and then
project wide default.fv and then finally the default.fv that ships with 


View raw message