We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38417
    • 92 Posts
    Do the subpages show up in your sites with flexibility using an iPhone or iPad? When I am trying to view my site on a mobile phone the subpages don't show up in the menu. On a normal computer making the screen small so the menu show up vertically the subpages are visible hovering the menu.
    • OK, the two MIGX installs is a problem. Remove both of them. Completely. Also after removing, make sure you do not have any MIGX transport.zip files in the core/packages directory.

      After they're gone, clear the core/cache. Then reinstall MIGX. Clear the core/cache files again, and browser cache. Reload site settings id 11.

      Look at Foundation bug reports at git, and on google groups for info about ipad and the nav-bar in Foundation. A clue to the problem with iPad may be there.
        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster
        • 38417
        • 92 Posts
        No success, sliderbox in site settings still not visible. Looking at template variables slide_content and slidetext there is no template assigned to, in siteLogo settings_template is assigned. But changing this makes no difference for the slider, but when I do this in siteLogo the box is gone in site settings. (Found this is controled by multiItemsGrid)

        I will have a look at the Foundation bug reports, and let you if I find a solution. [ed. note: showa26 last edited this post 11 years, 4 months ago.]
          • 38417
          • 92 Posts
          Found the slider problem!
          In the Flexibility chunck slideTpl was an extra back tick.
          It is like this:
          </div>
          `]]
          </div>

          and it should be like this:
          </div>
          ]]
          </div>

          Now the slider part is normal again.
            • 42166
            • 2 Posts
            Quote from: showa26 at Nov 25, 2012, 05:14 PM
            No success, sliderbox in site settings still not visible.

            Have a look a the the TV multiItemsGrid. Under input options. Some text is missing in the "Add Item" Replacement: fill something in here.

            You shall see a button shows up in your site settings page and you can add your photos.
              • 38417
              • 92 Posts
              SlideTpl is now again as it was, I didn't put anything in "Add Item" but everything is normal again!
                • 38417
                • 92 Posts
                I think I figured out why the flexibilty menu isn't functioning on an iPad or mobile phone using a touch screen.

                This is the menu call for mobile devices:

                 <nav id="main_nav" class="mobile_nav show-for-small">
                          [[!Wayfinder? &startId=`0` &rowTpl=`rowTpl` &innerTpl=`innerTpl` &outerTpl=`outerTpl` &outerClass=`nav-bar` &innerClass=`flyout,` &parentClass=`has-flyout`]]
                        </nav>


                This results in:

                
                        <nav id="main_nav" class="mobile_nav show-for-small">
                          <ul class="nav-bar"><!-- rowTpl -->
                <li class="first active">
                <a href="http://www.ceciliahandel.nl/" title="Home" >Home</a>
                
                </li>
                <!-- rowTpl -->
                <li class="has-flyout">
                <a href="leden-pagina/" title="Leden pagina" >Leden pagina</a>
                <!-- innerTpl -->
                <ul class="sublist flyout,">
                <!-- rowTpl -->
                <li class="first">
                <a href="leden-pagina/agenda.html" title="Agenda" >Agenda</a>
                
                </li>
                
                </ul>
                </li>
                <!-- rowTpl -->
                <li class="has-flyout">
                <a href="over-ons/" title="Over ons" >Over ons</a>
                <!-- innerTpl -->
                <ul class="sublist flyout,">
                <!-- rowTpl -->
                <li class="first">
                <a href="over-ons/fanfare.html" title="Fanfare" >Fanfare</a>
                
                </li>
                <!-- rowTpl -->
                <li class="">
                <a href="over-ons/slagwerkgroep.html" title="Slagwerkgroep" >Slagwerkgroep</a>
                
                </li>
                <!-- rowTpl -->
                <li class="">
                <a href="over-ons/musicool.html" title="Musicool" >Musicool</a>
                
                </li>
                <!-- rowTpl -->
                <li class="last">
                <a href="over-ons/bestuur.html" title="Bestuur" >Het bestuur en commissies.</a>
                
                </li>
                
                </ul>
                </li>
                </nav>
                


                In the documentation from Zurb Foundation navigation there is this example code for the same menu:

                <!-- Entire Navbar Code -->
                <ul class="nav-bar">
                  <li class="active"><a href="#">Nav Item 1</a></li>
                  <li class="has-flyout">
                    <a href="#">Nav Item 2</a>
                    <a href="#" class="flyout-toggle"><span> </span></a>
                    <ul class="flyout">
                      <li><a href="#">Sub Nav Item 1</a></li>
                      <li><a href="#">Sub Nav Item 2</a></li>
                      <li><a href="#">Sub Nav 3</a></li>
                      <li><a href="#">Sub Nav 4</a></li>
                      <li><a href="#">Sub Nav Item 5</a></li>
                    </ul>
                  </li>
                  <li class="has-flyout">
                    <a href="#">Nav Item 3</a>
                    <a href="#" class="flyout-toggle"><span> </span></a>
                    <div class="flyout">
                      <h5>Regular Dropdown</h5>
                      <div class="row">
                        <div class="six columns">
                          <p>This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text.</p>
                        </div>
                        <div class="six columns">
                          <p>This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text.</p>
                        </div>
                      </div>
                    </div>
                  </li>
                  <li class="has-flyout">
                    <a href="#">Nav Item 4</a>
                    <a href="#" class="flyout-toggle"><span> </span></a>
                    <div class="flyout large right">
                      <h5>Large Dropdown</h5>
                      <div class="row">
                        <div class="four columns">
                          <p>This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text.</p>
                          <p>This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text.</p>
                        </div>
                        <div class="four columns">
                          <p>This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text.</p>
                          <p>This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text.</p>
                        </div>
                        <div class="four columns">
                          <img src="http://placehold.it/200x250" />
                        </div>
                      </div>
                    </div>
                  </li>
                </ul>
                
                <!-- Dropdown Lists for Navbar -->
                <li class="has-flyout">
                  <a href="#">Nav Item 2</a>
                  <a href="#" class="flyout-toggle"><span> </span></a>
                  <ul class="flyout">
                    <li><a href="#">Sub Nav Item 1</a></li>
                    <li><a href="#">Sub Nav Item 2</a></li>
                    <li><a href="#">Sub Nav 3</a></li>
                    <li><a href="#">Sub Nav 4</a></li>
                    <li><a href="#">Sub Nav Item 5</a></li>
                  </ul>
                </li>
                
                <!-- Arbitrary Content Dropdowns for Navbar -->
                <li class="has-flyout">
                  <a href="#">Nav Item 3</a>
                  <a href="#" class="flyout-toggle"><span> </span></a>
                  <div class="flyout [small, large]">
                    <h5>Regular Dropdown</h5>
                    <div class="row">
                      <div class="six columns">
                        <p>This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text.</p>
                      </div>
                      <div class="six columns">
                        <p>This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text.</p>
                      </div>
                    </div>
                  </div>
                </li>


                What is missing in Flexibility is this part:

                <a href="#" class="flyout-toggle"><span> </span></a>


                I think it has to be in the parentClass or otherwise the innerClass, how can I put the flyout-toggle there?
                  • 38417
                  • 92 Posts
                  Found it! Simply putting the flyout-toggle code in the rowTpl like this:

                  <!-- rowTpl -->
                  <li[[+wf.id]] class="[[+wf.classnames]]">
                  <a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]]>[[+wf.linktext]]</a>
                  <a href="#" class="flyout-toggle"><span> </span></a>
                  [[+wf.wrapper]]
                  </li>


                  Menu is working now on a touchscreen.

                  Ad.
                    • 38417
                    • 92 Posts
                    Problem not quite solved. It is working but in the submenu extra squares are added. Clicking on them it is refering to a none excisting page called #.
                    • Maybe you can hide them with the CSS.
                        Studying MODX in the desert - http://sottwell.com
                        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                        Join the Slack Community - http://modx.org