I was excited to see the Virtual Domain extension working again
(version 1.2.1), but when using Radiant CMS with multiple domains it
renders the tag <r:breadcrumbs /> pretty useless, since it will
always display the Root page in the crumb.
Any way to have <r:breadcrumbs /> skip the Root page? Or anyway at
all to offset the crumbs?
Thanks, WKR> Thijs J.
Hi,
I made a patch. This works fine in my environment.
diff -urN -x .svn -x ‘*~’
virtual_domain-1.2.1.orig/lib/virtual_domain_tags.rb
virtual_domain/lib/virtual_domain_tags.rb
— virtual_domain-1.2.1.orig/lib/virtual_domain_tags.rb 1970-01-01
09:00:00.000000000 +0900
+++ virtual_domain/lib/virtual_domain_tags.rb 2007-04-23
22:38:50.000000000 +0900
@@ -0,0 +1,16 @@
+module VirtualDomainTags
+
href=“#{ancestor.url}”>#{ancestor.breadcrumb}}
def deactivate
SiteController.send :alias_method, :show_page, :show_page_orig
SiteController.send :alias_method, :show_uncached_page,
:show_uncached_page_orig
- StandardTags.send :alias_method, :‘tag:breadcrumbs’,
:tag_breadcrumbs_orig
end
end
Keita Y.
2007/4/22, Thijs J. [email protected]: