Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Using <FRAMESET> in a TPL
Lex
I have a situation where I need to present static (meaning always visible) information at the top of page, static information at the bottom of a page, and scrollable content in the center of a page. Typically this would be done using a <FRAMESET></FRAMESET> tag containing <FRAME> tags. However, <FRAME> tags reference an external file so I'm not sure how or if this would work in a presentation template. Does anyone know of a method for handling this or an alternative to using frames?
Find more posts tagged with
Comments
james1
I believe that in a PT you can write data to another file. You can certainly do it in an <iw_perl> section. I think there are also other facilities to do this, such as <iw_ostream>.
So, your PT can generate one file containing the <FRAMESET>, and it can also generate another file, to be referenced in the first file as its middle frame.
-- James
brianaragno
Why not create your header and footer information in seperate files and then use iw_include in your presentation template. This will allow you to re-use your header/footer across the entire site and not rely on frames. Be sure to create a script to regenerate your pages using iwgen in case you ever need to update the header and or footer files.
Lex
Ah...thanks. That's the piece I was missing. I haven't used iw_include so hadn't even considered it. Thanks!
Hmm, I may have spoken too soon. It appears as if only a single <iw_include> can be used in a PT. Also, this doesn't solve my problem with allowing only the center area to be scrollable.
James, your idea is interesting and I might go that route. But for now I've been reading up on nested <div></div> tags and I'm hoping I'll be able to apply that to my current situation.
Thanks for the answers, guys!
Edited by Lex on 09/27/02 01:39 PM (server time).