[opencms-dev] "Site Map" function, anybody?
Gustav Wurm
gw at w3shuttle.com
Fri Dec 6 06:35:24 CET 2002
Hi Mark,
we are using the method NavTree.
Use your.css to get different output of navigationslevels. Additional you
have to create transparent pos.gif for each Navigationlevel (Level1.....
0px, Level2..... 60px, Level3..... 120px, .....................) - so you
will get a better looking.
Find here a sample for an element, which has to be located in folder
/content/elements / (4.6.) or /system/modules/default/elements (5.0_2beta)
<?xml version="1.0" encoding="ISO-8859-1"?>
<XMLTEMPLATE>
<navstart>
</navstart>
<navend>
</navend>
<naventry>
<![CDATA[
<tr>
<td width="20" class="t]]><process>navlevel</process><![CDATA["
valign="bottom"> </td>
<td class="t]]><process>navlevel</process><![CDATA["
valign="bottom"> <img
src="]]><link>/pics/app/pos_<process>navlevel</process>.gif</link><![CDATA["
>
<a class="asm]]><process>navlevel</process><![CDATA["
href="]]><process>navlink</process><![CDATA["> ]]><PROCESS>navtext</PRO
CESS><![CDATA[ </a></td>
</tr>
]]>
</naventry>
<TEMPLATE>
<method name="getNavTree">1</method>
</TEMPLATE>
</XMLTEMPLATE>
best regards
Gustav
----------------------------------------------------------------------------
-------------------------------
Mag. Gustav Wurm
www shuttle + internetservice gmbh, a-4040 linz ottensheimerstr. 55
tel: ++43/(0)732/714320 fax: ++43/(0)732/714320-30
email: gw at w3shuttle.com http://www.w3shuttle.com
----- Original Message -----
From: <mfoley5 at csc.com.au>
To: <opencms-dev at opencms.com>
Sent: Thursday, December 05, 2002 10:23 PM
Subject: [opencms-dev] "Site Map" function, anybody?
> Hi All,
>
> Has anybody tried to make an automatic "site map" based on the OpenCms
> navigation? We are trying to create a page which lists the entire
> navigation logically in 3 columns, but are having trouble working out how
> deduce positional information from the navigation tree.
>
> We'll solve this eventually I'm sure, but if anybody has an idea, or has
> done it before, I'd like to hear about it.
>
> Thanks,
> Mark
>
> Mark Foley
> __________________________________________________
> CSC
> 212 Northbourne Ave, Braddon, ACT 2612
> Ph: +61-2-62468487 Email: mfoley5 at csc.com.au
> --------------------------------------------------------------------------
--------------
>
> This email, including any attachments, is intended only for use by the
> addressee(s) and may contain confidential and/or personal information and
> may also be the subject of legal privilege. Any personal information
> contained in this email is not to be used or disclosed for any purpose
> other than the purpose for which you have received it. If you are not the
> intended recipient, you must not disclose or use the information contained
> in it. In this case, please let me know by return email, delete the
message
> permanently from your system and destroy any copies.
> --------------------------------------------------------------------------
--------------
>
More information about the opencms-dev
mailing list