[WM] sitemaps, breadcrumbs and isroot

Kevin O'Rourke KIO.plextek.co.uk
Wed Jul 4 10:14:20 IST 2001


Attached is a file called SiteMap.diff (if GroupWise hasn't mangled it too badly!).

It contains information about patching WebMake so that breadcrumbs, navtrees, etc. work when you don't have a <content isroot="true"> item.

Kevin.


--
Kevin O'Rourke
Project Engineer, Plextek
Phone: +44 1799 533 312


                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
-------------- next part --------------
Patch to HTML::WebMake v2.1

I was unable to use the <breadcrumbs> tag as the internal root
content item was not defined even after a <sitemap ... rootname="xxx" ...>

To fix this I edited (C:/Perl/site/lib/)HTML/WebMake/SiteMap.pm and inserted
the following lines in map_site().  The lines are given in diff format.

--- cut here for diff output ---
121a122,125
>     # make sure that our root_content is defined, even if it has been
>     # specified as <sitemap rootname="xxxx" ... >
>     $self->{root_content} = $top;
> 


More information about the Webmake-talk mailing list