portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggol...@apache.org
Subject cvs commit: jakarta-jetspeed/webapp/WEB-INF/templates/vm/layouts/html default.vm
Date Tue, 10 Sep 2002 01:54:39 GMT
ggolden     2002/09/09 18:54:39

  Modified:    webapp/WEB-INF/templates/vm/layouts/html default.vm
  Log:
  To further aid in building portal environments on Jetspeed
  while making minimal changes to the distributin Jetspeed files,
  we can now configure which .vm file will be use for the site
  navigation top, bottom and left, using the topnav.vm, bottomnav.vm
  and leftnav.vm settings in the jr.p.
  
  Simply change or override these settings (and the other top/left/bottom
  nav settings from jr.p) in your site's configuration files.
  
  Note: this is only supported currently on the .vm side of the house.
  
  Revision  Changes    Path
  1.11      +3 -3      jakarta-jetspeed/webapp/WEB-INF/templates/vm/layouts/html/default.vm
  
  Index: default.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/layouts/html/default.vm,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- default.vm	9 Sep 2002 16:58:03 -0000	1.10
  +++ default.vm	10 Sep 2002 01:54:39 -0000	1.11
  @@ -12,7 +12,7 @@
       #if ($config.getBoolean("topnav.enable") == true)
       <table cellspacing="0" width="100%" border="0" cellpadding="0">
         <tr>
  -        <td>$jnavigation.setTemplate("top.vm")</td>
  +        <td>$jnavigation.setTemplate($config.getString("topnav.vm"))</td>
         </tr>
       </table>
       #end
  @@ -20,7 +20,7 @@
         <tr>
           #if ($config.getBoolean("leftnav.enable") == true)
           <td width="$config.getString("leftnav.width")" valign="top" bgcolor="#ffffff">
  
  -          $jnavigation.setTemplate("left.vm")
  +          $jnavigation.setTemplate($config.getString("leftnav.vm"))
           </td>
           <td>&nbsp;</td>
           #end
  @@ -33,7 +33,7 @@
       <table cellspacing="0" width="100%" cellpadding="0" border="0">
         <tr>
           <td valign="bottom" bgcolor="#ffffff">
  -          $jnavigation.setTemplate("bottom.vm")
  +          $jnavigation.setTemplate($config.getString("bottomnav.vm"))
           </td>
         </tr>
       </table>
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message