[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Problem with including files



Hello!!!

I'm new user of WML (version 1.7.4 from stable Debian 2.2 'Potato' package)
and I have problem with including files in my WML template (look below).
In this very simple template I use HTML tables to place page elements, but
I don't understand why WML includes the .wml file in one place and doesn't
include the same file in another place.

This is my template:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//PL">
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
  <title>$(Title)</title>
</head>

<body>

<table border="1" width="760" align="left" cellpadding="0" cellspacing="0">
<!-- banner start -->
<tr><td colspan="3">
  
  <!--
  Here WML includes 'navbar.wml', but this is not place for my navbar.
  -->

  #include 'navbar.wml' name="menu"

</td></tr>
<!-- banner end -->

<!-- body start -->
<tr>
  <!-- left column start -->
  <td width="120" valign="top">

    <!--
    But here WML doesn't include 'navbar.wml'.
    -->

    #include 'navbar.wml' name="menu"

  </td>
  <!-- left column end -->

  <!-- central column start -->
  <td width="640">

    {#BODY#}

    <!--
    But here WML doesn't include 'info.wml'.
    -->

    #include 'info.wml'

  </td>
  <!-- central column end -->

  <!-- right column start -->
  <td width="120">

  </td>
  <!-- right column end -->
</tr>
<!-- body end -->

<!-- footer start -->
<tr><td colspan="3">

  <!--
  Here WML includes 'info.wml', but I want put it into another place.
  -->

  #include 'info.wml'

</td></tr>
<!-- footer end -->
</table>

</body>
</html>

# per default we are in body
{#BODY:

What I do wrong?

Thanks a lot in advance for any help
My best regards

Pawel Tecza



---------------------------------------------------
http://POCZTA.interia.pl/ - sa powody by korzystac!

______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com