thanks for the reply.
i think i started down the right path (and resolved my initial confusion)after
sending out this message, but am i able to pass the "gui" template a filename
to then be parsed as part of the tmpl_include (which, then in turn, will be
parsed)?
ideally, i'd like to reference one gui template for all the pages and simply
supply H-T a name of that page-specific .tmpl to parse into the area "x".
i was thinking i'd have to parse the entire x.tmpl into a string and supply
that as a tmpl_var when i parse through the gui.tmpl.
the separate two calls don't necessarily bother me at this point, but didn't
understand if H-T was able to do such a thing.
thanks.
--- Karen Cravens <silver@...> wrote:
> On 5 Sep 2002 at 11:28, csajl wrote:
>
> > the tmpl_include function works but only as far as vertical layout blocks
> are
> > concerned (or am i missing something?).
>
> You're missing something. But it's more of an HTML issue than an H-T issue.
>
> > i searched the mailing list archives as well as google and haven't found a
> > solution. any pointers would be greatly appreciated.
>
> You want a table, most likely. That's the layout I use at the Phoenyx. In
> fact, if you look at <URL: http://www.phoenyx.net/index.tmpl >, you can see
> the raw template file for the index.html main page (static, regenerated
> nightly). You'll have to look at the subtemplates, since I actually do a
> sort of
> reverse template, but the basic structure of the HTML looks something like
> this:
>
> === Sample pseudocode ===
> <TABLE width=100%>
> <TR><TD width=(either an explicit pixel width or a percentage, depending on
> what you're putting in the "sidebar") valign="top">
>
> (Your sidebar stuff)
>
> </td></tr><TR><TD valign="top">
>
> (Your main content stuff... the "x", or a TMPL_INCLUDE in your case)
>
> </td></tr>
> </table>
> === end pseudocode ===
>
> You can get clever with your table layout and cause the main content to
> appear above the sidebar for Lynx users (two rows, two columns, of which
> the first cell is 1 pixel high, and the second column is a rowspan of two,
> and
> the sidebar lives in the first column, *second* row), but you have to be
> careful
> because Netscape and IE don't always agree on how that should be
> displayed. I think mine still does that, so don't let it confuse you.
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Html-template-users mailing list
> Html-template-users@...
> https://lists.sourceforge.net/lists/listinfo/html-template-users
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
|