Wayfinder - MODX Community Forums https://forums.modx.com/board/?board=68 <![CDATA[Wayfinder and Bootstrap 4]]> https://forums.modx.com/thread/104396/wayfinder-and-bootstrap-4#dis-post-561559
Bootstrap, however, hasn't recognised nested <ul>s since V3, (according to one of the project members), and as a consequence my Wayfinder-generated bootstrap menus fail if I upgrade Bootstrap. Bootstrap manages submenus by adding a different class to the <li> that heads a sub-menu.

I can't work out any way for Wayfinder to be used to generate a bootstrap-compatible <ul> with a special class for the sub-menu <li>s.

Has anyone managed their way around this one?

I'm on Revo 2.6.5, on MODX Cloud, so all the latest stuff.]]>
https://forums.modx.com/thread/104396/wayfinder-and-bootstrap-4#dis-post-561559 Sun, 16 Sep 2018 10:20:51 +0000 https://forums.modx.com/thread/104396/wayfinder-and-bootstrap-4#dis-post-561559
<![CDATA[Wayfinder - Mutliple Layout]]> https://forums.modx.com/thread/103614/wayfinder---mutliple-layout#dis-post-557393
I need some help with Wayfinder. Is it possible to have two different styles on the one Wayfinder? I have a navigation bar with multiple child pages inside parent pages. BUT for one of those parent sections, I'd like a different layout if possible. It's the news section. I want it to look more square. It's exactly like this navigation bar: http://themes.semicolonweb.com/html/canvas/v5/intro.html

Is this possible or do i need to create two different Wayfinders.

Any help would be greatly appreciated. Here's my nav code:

<nav>
  <ul>
		<li><a href="#"><div>Home</div></a></li>
    <li><a href="#"><div>About Us</div></a>
			<ul>
				<li><a href="#"><div>Team</div></a>
					<ul>
						<li><a href="#"><div>Employee A</div></a></li>
            <li><a href="#"><div>Employee B</div></a></li>
            <li><a href="#"><div>Employee C</div></a></li>
					</ul>
				</li>
			</ul>
		</li>
		<li class="mega-menu"><a href="#"><div>News</div></a>
			<div class="mega-menu-content">
				<ul class="mega-menu-column">
					<li class="mega-menu-title"><a href="#"><div>Year</div></a>
						<ul>
              <li><a href="#"><div>Article 1</div></a></li>
              <li><a href="#"><div>Article 2</div></a></li>
            </ul>
					</li>
          <li class="mega-menu-title"><a href="#"><div>Year</div></a>
						<ul>
              <li><a href="#"><div>Article 1</div></a></li>
              <li><a href="#"><div>Article 2</div></a></li>
            </ul>
					</li>
				</ul>
			</div>
		</li>
    <li><a href="#"><div>Competition</div></a>
			<ul>
				<li><a href="#"><div>Winners</div></a>
					<ul>
						<li><a href="#"><div>A</div></a></li>
            <li><a href="#"><div>B</div></a></li>
					</ul>
				</li>
			</ul>
		</li>
    <li><a href="#"><div>Contact Us</div></a></li>   
	</ul>  
</nav>


Also, is this layout right?

<!-- WayFinder Layout -->
<nav>
  <ul><!-- OuterTpl -->
		<li></li><!-- RowTpl -->
    <li></li><!-- RowTpl -->
    <li><!-- parentRowTpl -->
      <ul><!-- InnerTpl -->
    		<li></li><!-- RowTpl -->
        <li></li><!-- RowTpl -->
        <li>
          <ul><!-- InnerTpl -->
        		<li></li><!-- InnerRowTpl -->
            <li></li><!-- InnerRowTpl -->
            <li></li><!-- InnerRowTpl -->
        	</ul>
        </li><!-- InnerRowTpl -->
    	</ul>      
    </li><!-- RowTpl -->
    <li></li><!-- RowTpl -->
    <li></li><!-- RowTpl -->
	</ul>  
</nav>
]]>
https://forums.modx.com/thread/103614/wayfinder---mutliple-layout#dis-post-557393 Thu, 15 Mar 2018 03:49:58 +0000 https://forums.modx.com/thread/103614/wayfinder---mutliple-layout#dis-post-557393
<![CDATA[dynamically setting start_id to parent]]> https://forums.modx.com/thread/102840/dynamically-setting-start-id-to-parent#dis-post-555118 I can not seem to find an answer to this simple question: is there a way to set the start_id in the wayfinder snippet so that it always shows all the siblings of the current page?
The start_id should show the parent id of the current page with level set to 1.
How do I get the parent id in the wayfinder snippet?
[[Wayfinder? &startId=`parent` &rowTpl=`leftMenuRowTpl` &level=`1` &ignoreHidden=`0` ]]
does not seem to work, it always shows the siblings from the root.]]>
https://forums.modx.com/thread/102840/dynamically-setting-start-id-to-parent#dis-post-555118 Mon, 13 Nov 2017 10:08:12 +0000 https://forums.modx.com/thread/102840/dynamically-setting-start-id-to-parent#dis-post-555118
<![CDATA[Wayfinder 2.0 for MODx Evolution : what you must know !]]> https://forums.modx.com/thread/102985/wayfinder-2-0-for-modx-evolution-what-you-must-know#dis-post-554536
Thoses versions are both dated from February 27, 2006 but have lot of differences in their code. Version 2.0 is working correctly, whilst version 2.0.4 is not.

As I'm not totally sure where do the versions that I use originates from, as I'm often doing "copy paste" from existing MODx Evo installations.

I attach both versions here, in zip files, so that you can compare with the ones you're using.
]]>
https://forums.modx.com/thread/102985/wayfinder-2-0-for-modx-evolution-what-you-must-know#dis-post-554536 Mon, 16 Oct 2017 09:32:14 +0000 https://forums.modx.com/thread/102985/wayfinder-2-0-for-modx-evolution-what-you-must-know#dis-post-554536
<![CDATA[Wayfinder Layout Issues]]> https://forums.modx.com/thread/102165/wayfinder-layout-issues#dis-post-550535 http://www.apicslima.org/home2.html but if you click any of the hyperlinks they not show properly yet. I only have a homepage template right now so the interior pages will not properly show if clicked.

This HTML is proper and shows my menu the way I need it. Another words this is the ideal layout I need for wayfinder:
<ul id="mainNav" class="nav nav-pills">
	<li class=""><a href="[[~12]]">Home </a></li>
	<li class=""><a href="[[~2]]">Information </a></li>
	<li class=""><a href="[[~3]]">Events </a></li>
	<li class=""><a href="[[~4]]">Education </a></li>
	<li class=""><a href="[[~5]]">Job Board </a></li>
	<li class="dropdown"><a class="dropdown-toggle" href="#">Pages </a>
	<ul class="dropdown-menu">
		<li class="dropdown-submenu"><a href="#">About Us</a>
		<ul class="dropdown-menu">
			<li><a href="[[~13]]">About Us</a></li>
			<li><a href="[[~14]]">About Us - Basic</a></li>
			<li><a href="[[~15]]">About Me</a></li>
		</ul>
		</li>
		<li class="dropdown-submenu"><a href="#">Shop</a>
		<ul class="dropdown-menu">
			<li><a href="[[~16]]">Shop - Full Width</a></li>
			<li><a href="[[~17]]">Shop - Sidebar</a></li>
			<li><a href="[[~17]]">Shop - Product Full Width</a></li>
			<li><a href="[[~18]]">Shop - Product Sidebar</a></li>
			<li><a href="[[~19]]">Shop - Cart</a></li>
			<li><a href="[[~20]]">Shop - Login</a></li>
			<li><a href="[[~21]]">Shop - Checkout</a></li>
		</ul>
		</li>
		<li><a href="[[~22]]">Custom Header</a></li>
		<li><a href="[[~23]]">Team</a></li>
		<li><a href="[[~24]]">Services</a></li>
		<li><a href="[[~25]]">Careers</a></li>
		<li><a href="[[~26]]">Our Office</a></li>
		<li><a href="[[~27]]">FAQ</a></li>
		<li><a href="[[~28]]">Login / Register</a></li>
	</ul>
	</li>
	<li class=""><a href="[[~2]]">Newsletter </a></li>
	<li class=""><a href="[[~6]]">Contact </a></li>
</ul>


My snippet call right now only shows outer and row (I realize I need more here)
[[Wayfinder? &startId=`0` &rowTpl=`rowTpl` &outerTpl=`outerTpl`]]


My outerTpl looks like this (I think this much is right):
<!-- outerTpl -->
<ul id="nav nav-pills" id="mainNav"[[+wf.classes]]>
[[+wf.wrapper]]
</ul>


My rowTpl looks like this:
<!-- rowTpl -->
<li[[+wf.id]]>
<a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]]>[[+wf.linktext]]</a>
[[+wf.wrapper]]</li>


My parentRow (which is not called in the snipplet right now looks like this:
<!-- ParentRow -->
<li>
<a href="[[+wf.link]]">[[+wf.linktext]]</a> - [[+wf.description]]
[[+wf.wrapper]]
</li>


I am just not finding the layout I need, so right now I have straight HTML pasted in my Navigation area. But I really need wayfinder on this site.

I have been reading the instructions for almost an entire day and attempting different combinations but I just can't seem to get this right. Your help here would be much appreciated.

]]>
https://forums.modx.com/thread/102165/wayfinder-layout-issues#dis-post-550535 Sat, 06 May 2017 10:15:43 +0000 https://forums.modx.com/thread/102165/wayfinder-layout-issues#dis-post-550535
<![CDATA[How to get "active" link to show in the output]]> https://forums.modx.com/thread/102173/how-to-get-active-link-to-show-in-the-output#dis-post-550534 http://www.apicslima.org/home2.html and finally have the menu configured to match the output I need. Except I still have one issue. I would like the current page to add this coding:

_active
so my active page link looks like this:
<li class="dropdown active">
Basically I just need a space and the word active to show after the class of the current page that is active.

How can I achieve this? I searched the forums and found several posts but, there were no answers similar to my issue.

]]>
https://forums.modx.com/thread/102173/how-to-get-active-link-to-show-in-the-output#dis-post-550534 Sat, 06 May 2017 10:14:00 +0000 https://forums.modx.com/thread/102173/how-to-get-active-link-to-show-in-the-output#dis-post-550534
<![CDATA[Wayfinder with Bootstrap]]> https://forums.modx.com/thread/87803/wayfinder-with-bootstrap?page=2#dis-post-550066
    <div class="navbar navbar-default navbar-fixed-top">
		<div class="col-sm-7">
        <div class="navbar-header">
		
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="/"><img src="images/Weaver.png"></a>
		  </div>
        </div>
		<div class="col-sm-5">
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="/">Home</a></li>
            <li><a href="travel.html">Travel Info</a></li>
			<li class="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
				<ul class="dropdown-menu">
					<li><a href="#">Val Thorens</a></li>
				</ul>
			</li>
			<li><a href="photos.html">Photo Album</a></li>
            <li><a href="#contact">Holiday</a></li>
            <li><a href="contact.html">Contact</a></li>
          </ul>
		</div>
    </div><!--/.nav-collapse -->

Ignore the silly href links as this was my html test code before porting to modx.

Is what I'm aiming for; got pretty annoyed and deleted my wayfinder code so I cannot show you what I currently have. It works great until i need to add drop downs, that is the problems.

Any push in the right direction would be greatly appricated.

Ross.]]>
https://forums.modx.com/thread/87803/wayfinder-with-bootstrap?page=2#dis-post-550066 Wed, 12 Apr 2017 02:55:57 +0000 https://forums.modx.com/thread/87803/wayfinder-with-bootstrap?page=2#dis-post-550066
<![CDATA[Wayfinder with Placeholders for dynamic menus]]> https://forums.modx.com/thread/101977/wayfinder-with-placeholders-for-dynamic-menus#dis-post-549789
My web site has a nice wayfinder menu. I've written snippets which uses more options in a menu structure.

I've used if to the following if snippet to switch between my standard web site menu to that from the snippet program.

[[if? &is=`[*ProgramMenu*]:eq:1` &then=`[+menu+]` &else=`[[Wayfinder? &startId=`0` &config=`Simple`]]` ]]


It uses a template variable on each page where I wish to replace the standard menu with that from the program. I've also coded into the snippet the same switch so I can control it from the program too (not that it is necessary).

What I'm trying to do is use Wayfinder and &ph to set a placeholder but also allow my program to set the same placeholder which I need to take precedence.

I guess it's all about the firing and replacement order of the core.

This what I've tried

[[Wayfinder? &startId=`0` &config=`valSimple` &ph=`menu`]]
[+menu+]


No matter what I always get the standard web site menu. My program menu never gets used when the placeholder is replaced.

I really would like to use this method rather than the if way. Would any one have any other suggestion or a workaround so the placeholders populated in order where the last population is the menu that comes through to the end webpage render?

Thanks in advance,

Chris]]>
https://forums.modx.com/thread/101977/wayfinder-with-placeholders-for-dynamic-menus#dis-post-549789 Thu, 30 Mar 2017 03:59:09 +0000 https://forums.modx.com/thread/101977/wayfinder-with-placeholders-for-dynamic-menus#dis-post-549789
<![CDATA[Wayfinder across contexts...bug?]]> https://forums.modx.com/thread/101813/wayfinder-across-contexts-bug#dis-post-549130
[[Wayfinder? &startId=`0` &level=`2` &parentRowTpl=`navParent.tpl` &innerTpl=`navInner.tpl` &outerTpl=`navOuter.tpl` &rowTpl=`nav.row.tpl` &hereClass=`current` &contexts=`[[++cultureKey]]`]]


Context 1 is EN; context 2 is DE.

In EN, my menu and submenu shows fine.

In DE, the submenu is broken...and i realise that the snippet properties are not being honoured. Ihave a custom parentRowTpl and Wayfinder is using the default html for that. Why?

So what I had to do was use pdoMenu, and without changing anything in my snippet properties, it worked without issue.]]>
https://forums.modx.com/thread/101813/wayfinder-across-contexts-bug#dis-post-549130 Fri, 03 Mar 2017 03:35:38 +0000 https://forums.modx.com/thread/101813/wayfinder-across-contexts-bug#dis-post-549130
<![CDATA[Wayfinder adding data- attributes]]> https://forums.modx.com/thread/101725/wayfinder-adding-data--attributes#dis-post-548615
I have
<li data-role="collapsible" data-iconpos="right" data-shadow="false" data-corners="false">
	<h2><a href="[[+wf.link]]" [[+wf.attributes]]>[[+wf.linktext]]</a></h2>
	[[+wf.wrapper]]
</li>

in Wayfinder.innerRowMobileTpl (for mobile)

it produces such output
<li class="data-role= ui-li-static ui-body-inherit" collapsible"="" data-iconpos="right" data-shadow="false" data-corners="false">
	<h2><a href="service/" title="Услуги" class="dropdown-toggle disabled ui-link" data-toggle="dropdown">...

It is very very strange. I only need to create a menu. I do not really need to play with TV parameters or something... It should work. But it does not. Please tell me what`s wrong, I`ll really appreciate this.]]>
https://forums.modx.com/thread/101725/wayfinder-adding-data--attributes#dis-post-548615 Wed, 08 Feb 2017 02:14:27 +0000 https://forums.modx.com/thread/101725/wayfinder-adding-data--attributes#dis-post-548615
<![CDATA[Filter id by TV value]]> https://forums.modx.com/thread/101635/filter-id-by-tv-value#dis-post-548242 &where in wayfinder call like this

  [[Wayfinder? &startId=`0` &level=`1` &where=`{"tv.NavigationPosition:=":1, "OR:tv.NavigationPosition:=":2}` &outerTpl=`@CODE <nav class="main-navigation"><ul class="main-nav">[[+wf.wrapper]]</ul></nav>`]]


NavigationPosition is my tv, but it returns all not just filter id by where?]]>
https://forums.modx.com/thread/101635/filter-id-by-tv-value#dis-post-548242 Sun, 22 Jan 2017 02:39:02 +0000 https://forums.modx.com/thread/101635/filter-id-by-tv-value#dis-post-548242
<![CDATA[Wayfinder and idx possible?]]> https://forums.modx.com/thread/98451/wayfinder-and-idx-possible#dis-post-547913
I'm trying to add the rich-snippet breadcrumb via the wayfinder call, because the project/site itself doesn't use "real" breadcrumbs.

So far I edited the outerTpl and the rowTpl, but now I have to add an id for the meta-property-part:

<ol vocab="http://schema.org/" typeof="BreadcrumbList">
  <li property="itemListElement" typeof="ListItem">
    <a property="item" typeof="WebPage"
        href="https://example.com/arts">
      <span property="name">Arts</span></a>
    <meta property="position" content="1">
  </li>
  
  <li property="itemListElement" typeof="ListItem">
    <a property="item" typeof="WebPage"
        href="https://example.com/arts/books">
      <span property="name">Books</span></a>
    <meta property="position" content="2">
  </li>
  
  <li property="itemListElement" typeof="ListItem">
    <a property="item" typeof="WebPage"
        href="https://example.com/arts/books/poetry">
      <span property="name">Poetry</span></a>
    <meta property="position" content="3">
  </li>
</ol>


I tried using this:

<meta property="position" content="[[+idx]]">


but this seems not to work, the [[+idx]] part is empty.

Isn't idx is implemented/usable this way?]]>
https://forums.modx.com/thread/98451/wayfinder-and-idx-possible#dis-post-547913 Tue, 10 Jan 2017 09:21:39 +0000 https://forums.modx.com/thread/98451/wayfinder-and-idx-possible#dis-post-547913
<![CDATA[Wayfinder: Make Unpublished Documents Visible?]]> https://forums.modx.com/thread/70607/wayfinder-make-unpublished-documents-visible#dis-post-545713

  • Is this possible and relatively simple to implement?, and
  • Would others find this proposed feature useful as well?

Thanks for your input!]]>
https://forums.modx.com/thread/70607/wayfinder-make-unpublished-documents-visible#dis-post-545713 Fri, 14 Oct 2016 12:56:22 +0000 https://forums.modx.com/thread/70607/wayfinder-make-unpublished-documents-visible#dis-post-545713
<![CDATA[How to remove link from parent level if there is submenu?]]> https://forums.modx.com/thread/100744/how-to-remove-link-from-parent-level-if-there-is-submenu#dis-post-544363 I'm beginner in MODX Revo.

I have a (maybe simple) question. I have menu with 2 levels. How to remove link from parent level if there is submenu?

MODX Revolution version: 2.5.1

menu:
[[Wayfinder? 
	&startId=`0`
	&level=`2`
	&outerTpl=`outerTpl`
	&innerTpl=`innerTpl`
	&rowTpl=`rowTpl`
	&parentRowTpl=`parentRowTpl`
	]]


outerTpl:
<ul class="nav clear">
  [[+wf.wrapper]] 
</ul>


innerTpl:
<ul class="sec_nac">
  [[+wf.wrapper]]
</ul>


rowTpl:
<li [[+wf.classes]]>
  <a href="[[+wf.link]]">[[+wf.linktext]]</a>
</li>


parentRowTpl:
<li class="active open_sec_nav [[+wf.classnames]]"><a href="[[+wf.link]]">[[+wf.linktext]]</a>
  [[+wf.wrapper]]
</li>


There is no content to put in parent page, so I need to disable link.

I read this post: https://forums.modx.com/thread/40823/how-to-disable-clickable-in-one-link-wayfinder

tried to do same, but nothing changed. Cache cleared.]]>
https://forums.modx.com/thread/100744/how-to-remove-link-from-parent-level-if-there-is-submenu#dis-post-544363 Sun, 21 Aug 2016 11:35:49 +0000 https://forums.modx.com/thread/100744/how-to-remove-link-from-parent-level-if-there-is-submenu#dis-post-544363
<![CDATA[How to move level2 to level3's list?]]> https://forums.modx.com/thread/100665/how-to-move-level2-to-level3-s-list#dis-post-543863
<ul class="menu">

<li>
    <a href="#">home</a>
</li>

<li>
    <a href="about.html">about</a>
</li>

<li>
    <a href="work/">work</a>
    <ul>
        <li>
            <a href="work/ui/">UI</a>
            <ul>
                <li>
                    <a href="work/ui/vv3c.html">vv3c</a>
                </li>
            </ul>
        </li>
        <li>
            <a href="work/html5/">HTML5</a>
            <ul>
                <li>
                    <a href="work/html5/insigma.html">insigma</a>
                </li>
            </ul>
        </li>
        <li>
            <a href="work/print.html">print</a>
        </li>
    </ul>
</li>

<li>
   <a href="contact.html">contact</a>
</li>
</ul>


[[Wayfinder? &startId = `0`
&level = `3`
&outerTpl = `nav_outer`
&rowTpl = `nav_row`

&outerClass = `menu`
&innerClass = ``
&firstClass = ``
&hereClass = ``
&lastClass = ``
&levelClass = `level`
]]


nav_outer
<ul[[+wf.classes]]>
[[+wf.wrapper]]
</ul>

nav_row
<li>
<a href="[[+wf.link]]">[[+wf.linktext]]</a>
[[+wf.wrapper]]
</li>

But now I want my code is like this:
<ul class="menu">

<li>
    <a href="#">home</a>                <!--level1-->
</li>

<li>
    <a href="about.html">about</a>       <!--level1-->
</li>

<li>
    <a href="work/">work</a>             <!--level1-->
    <ul class="multi-column">
        <li>               
            <ul>
                 <li><span class="multi-column__title">UI</span></li>           <!--level2-->
                 <li>
                       <a href="work/ui/vv3c.html">vv3c</a>        <!--level3-->
                  </li>

             </ul>
        </li>
        <li>
            <ul>
                <li><span class="multi-column__title">HTML5</span></li>        <!--level2-->
                <li>
                    <a href="work/html5/insigma.html">insigma</a>            <!--level3-->
                </li>
           </ul>
        </li>
        <li>
            <a href="work/print.html">print</a>                <!--level2-->
        </li>
   </ul>
</li>

<li>
    <a href="contact.html">contact</a>                         <!--level1-->
</li>
</ul>


That's means move level2's title to level3's 1st list, and add wrap <span class="multi-column__title"> </span>
How to modify my wayfinder?]]>
https://forums.modx.com/thread/100665/how-to-move-level2-to-level3-s-list#dis-post-543863 Thu, 04 Aug 2016 11:40:23 +0000 https://forums.modx.com/thread/100665/how-to-move-level2-to-level3-s-list#dis-post-543863
<![CDATA[New Wayfinder e-book!]]> https://forums.modx.com/thread/40293/new-wayfinder-e-book?page=13#dis-post-542182
Please find attached the First Edition of a Wayfinder 2.0 e-book titled

"The (almost) Complete Guide to Creating Menus in MODx Using Wayfinder"

written by myself, Kongondo.

Those who know me from the forums probably know that my favourite snippet is Wayfinder. This e-book  started out as a tutorial that I thought I’d post in the wiki but it ended up as an e-book! This is the culmination of about 5-6 months writing and is quite detailed. The e-book explains the logic behind and the workings of almost all the Wayfinder parameters. This is all done practically by building a fictitious Restaurant website. The e-book also provides examples of building some common menus such as an accordion menu, using UltimateParent with Wayfinder, etc. Because of this, it makes for quite some long reading, 148 pages! However, there’s lots of graphics so it is not all text and boring, at least I hope not. I hope it serves newbies and experts a like, either as a guide, a reference, an inspiration or just a challenge to contribute to the MODx project in one way or the other.

Comments and feedback are welcome.


I dedicate the ebook to the MODx community


Cheers/k]]>
https://forums.modx.com/thread/40293/new-wayfinder-e-book?page=13#dis-post-542182 Sat, 04 Jun 2016 11:50:12 +0000 https://forums.modx.com/thread/40293/new-wayfinder-e-book?page=13#dis-post-542182
<![CDATA[Creating "next" and "previous" buttons in Wayfinder]]> https://forums.modx.com/thread/39929/creating-next-and-previous-buttons-in-wayfinder#dis-post-541954 https://forums.modx.com/thread/39929/creating-next-and-previous-buttons-in-wayfinder#dis-post-541954 Fri, 27 May 2016 06:19:26 +0000 https://forums.modx.com/thread/39929/creating-next-and-previous-buttons-in-wayfinder#dis-post-541954 <![CDATA[Foundation icon fonts with wayfinder issue]]> https://forums.modx.com/thread/100164/foundation-icon-fonts-with-wayfinder-issue#dis-post-541589 Wayfinder call:
[[Wayfinder? &startId=`[[UltimateParent? &topLevel=`0`]]` &level=`0` &outerClass=`vertical menu hide-for-print` &innerClass=`menu vertical nested` &hereClass=`active` &displayStart=`true` &startItemTpl=`f6.side-nav-parent.tpl` &parentClass=`subheader hide-for-print` &rowTpl=`f6.wf-icon-row.tpl` ]]


Made rowtpl like this:
<li [[+wf.classes]]>[[*icon-font:notempty=`<i class="fi-[[*icon-font]]"></i>`]]<a href="[[+wf.link]]">[[+wf.linktext]]</a>[[+wf.wrapper]]</li>


Made TV "icon-font", set value to top page "home".
Home icon font is rendered to all links in menu. Remove TV value, icons disappear.

Set "foot" value to TV in child page. When you view parent page are all child page icons home icons, clicking into childpage all icons changes to foot icon.

Am I missing something or is this a bug or what?]]>
https://forums.modx.com/thread/100164/foundation-icon-fonts-with-wayfinder-issue#dis-post-541589 Tue, 17 May 2016 11:30:08 +0000 https://forums.modx.com/thread/100164/foundation-icon-fonts-with-wayfinder-issue#dis-post-541589
<![CDATA[Wayfinder Site Wide Across contexts.]]> https://forums.modx.com/thread/40701/wayfinder-site-wide-across-contexts#dis-post-540695 Apologies if this has been answered but i couldnt see it.
I am building a fairly large site that has multiple mini sites inside it.
We are using contexts to seperate these.

So basically imagine a corporate site and each department has a ’website’ of their own to do as they want with it. thats what we are trying to achieve.

And so what we want to do is to have a Site wide menu and a seperate menu which is context sensitive.

I have the context sensitive menu working (in fact it worked out the box).

When i build a second menu I cant see a way of telling it to not be context sensitive. Basically all i want from the site menu is each of the mini sites but i would like it to be dynamic if possible (and not some html i wrote with specific ids in that means anytime a new site is added it has to be edited).

If necessary i can jump in and add this as a feature but i would rather not do something if it exists already smiley

If i have just missed the thread for this please point me at it and i will be on my way.
Thanks in advance.
]]>
https://forums.modx.com/thread/40701/wayfinder-site-wide-across-contexts#dis-post-540695 Wed, 20 Apr 2016 02:54:14 +0000 https://forums.modx.com/thread/40701/wayfinder-site-wide-across-contexts#dis-post-540695
<![CDATA[Section Menu in Wayfinder]]> https://forums.modx.com/thread/99447/section-menu-in-wayfinder#dis-post-537792
If I do this:
[[Wayfinder? &level=`1` &startId=`[[*parent]]` &displayStart=`true` &startItemTpl=`LinkedListItemTpl`]]

It doesn't link the top-level page of the section in the list. Plus if you're on the top-level page, it shows the other top-level nav pages. So if I have a top-level page called "Top Level A" and then some children called "Sub Page", the menu should look like on all pages within the Top Level A section (including Top Level A):

Top Level A
Sub Page A
Sub Page B

If I have a top-level page called "Top Level B" and then some children called "Sub Page", the menu should look like on all pages within the Top Level B section (including Top Level B):

Top Level B
Sub Page A
Sub Page B

However, using the above code, when I'm on Top Level A or B, it looks like:

Top Level A
Top Level B

In other words, I need a section menu with the Top Level pages acting like they are part of the same section.

Can anyone help?]]>
https://forums.modx.com/thread/99447/section-menu-in-wayfinder#dis-post-537792 Wed, 03 Feb 2016 02:27:49 +0000 https://forums.modx.com/thread/99447/section-menu-in-wayfinder#dis-post-537792