<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=652103922-03012006>I'm working with
some graphic designers who are still coming up to speed on Drupal. We're trying
to create a horizontal menu with data from a taxonomy. It's three deep. Ideally
the first level would be horizontal, the second and third would be vertical, ie,
the menu options drop down, and then if there is a third level it comes out and
drops down again.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=652103922-03012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=652103922-03012006>After looking at a
number of options (eg. jsdoMenu, rewriting our xTemplate them in phpTemplate,
hardcoding menu, etc) we decided we would try to get Nick Lewis' phpTemplate
menu (<A
href="http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm">http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm</A>)
working in xTemplate. Not sure this is feasible... Anyway, we've got the css
stuff working but want to find a hack that would allow us to run a php snippet
in the appropriate place in the template.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=652103922-03012006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=652103922-03012006>Under the existing
<tr> for the logo and primary and secondary menus we were thinking of
doing something like:</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=652103922-03012006>
<P><FONT face=Arial size=2><tr><td colspan="2"
class="topmenu">test<?php</FONT></P>
<P><FONT face=Arial size=2>$TheMenu = theme_menu_tree(17);</FONT></P>
<P><FONT face=Arial size=2>print $TheMenu; </FONT></P>
<P><FONT face=Arial size=2>?> </td></tr></FONT></P>
<P><SPAN class=652103922-03012006><FONT face=Arial size=2>Can we create a
{mymenu} that would run this code snippet?</FONT></SPAN></P>
<P><SPAN class=652103922-03012006><FONT face=Arial size=2>Or is there a
different way we can do this using xTemplate?</FONT></SPAN></P>
<P><SPAN class=652103922-03012006><FONT face=Arial size=2>Advice welcome. (Yeah,
we should have figured out menuing before doing theme in xTemplate, but we're
newbies...)</FONT></SPAN></P></SPAN></FONT></DIV>
<DIV><SPAN class=652103922-03012006><FONT face=Arial
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=652103922-03012006></SPAN> </DIV>
<DIV align=left><FONT face=Arial size=2>Joe Murray, PhD</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>President, JMA Consulting</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>57 Grandview Ave, </FONT><FONT
face=Arial size=2>Toronto, Ontario, Canada M4K 1J1</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>416.466.1281, 416.466.1277
(f)</FONT></DIV>
<DIV align=left><FONT face=Arial size=2><A
href="mailto:joe.murray@jmaconsulting.biz">joe.murray@jmaconsulting.biz</A>
</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Skype: josephpmurray</FONT></DIV>
<DIV> </DIV></BODY></HTML>