Questions tagged [wayfinder]

Menu formatting Snippet for ModX Revolution and Evolution

Wayfinder is a Snippet by kylej that scans a specified portion of the MODx document tree, finds all documents that satisfy a certain criteria (determined by the Parameters), and outputs a formatted list of those documents. The formatting of the output is template-driven, and can contain any combination of HTML, CSS and JavaScript, yielding an enormous degree of flexibility.

Wayfinder's primary purpose is to generate navigational menus that automatically update to reflect changes made to the document tree, but it can be used for other purposes as well.

21 questions
2
votes
1 answer

Create a Bootstrap menu with WayFinder

Trying to create a Bootstrap menu with WayFinder. How to finish it?
1
vote
2 answers

Wayfinder: Display the Resources that are "under" another Resource with Wayfinder

I am developing a website that has a main navigation on top and then some different navigations in the right sidebar (here). I am recalling them with Wayfinder and now I would like to display them in "Tree" structure in the sidebar. For example for…
wosom
  • 11
  • 3
1
vote
1 answer

How can I get Babel and WayFinder working with different contexts and unique startids?

I am using MODX Revolution 2.5.6-pl. I have a multilingual site with several languages using Babel which is working as expected. However, for the navigation I have a startid, which relates to a container in my default (English) site. The other…
madameFerry
  • 219
  • 1
  • 6
  • 20
1
vote
1 answer

ModX Revo: TagLister: Display Tag name on Tag page

what is the correct way to display the tag name on the tag specific page and a link to it in Modx revo using tagLister? e,g, a post has tags Tag1, Tag2 and Tag3. Now you click on one of the tags and it brings to the target resource displaying al…
Gevorg Hakobyan
  • 328
  • 3
  • 14
0
votes
0 answers

Indoor Navigation Map WebApp

I am a college student trying to design and develop an indoor navigation map web application that could provide directions in multiple levels similar to the SM Megamall Map in their website (see the picture or link below). What would be the optimal…
0
votes
1 answer

wayfinder printing class as content in accordion

I had an old template and I updated MODX core and extras from 2.2 to 2.6.5. After the update the output has become very strange. here's my code for accordion:
  • [[+wf.classnames:contains=`livello2`:eq=`livello2`:then=`
    DaFois
    • 2,197
    • 8
    • 26
    • 43
  • 0
    votes
    1 answer

    how to add paths to indoor mapping in leaflet?

    I am working on indoor mapping using leaflet. I have indoor floor plan with me and I stitched that to leaflet maps. How to add pathways to indoor mapping for navigation purpose?
    0
    votes
    0 answers

    ModX wayfinder - works on some pages but not on others

    I have a website where the ModX wayfinder works well on one page, but not on its child pages. The child pages are nested properly in the back end of ModX and everything is displaying with the styles it needs, but when I navigate to the child page in…
    0
    votes
    0 answers

    Is there a way to apply a seperate template to different levels in Wayfinder?

    I want to create a sub menu that uses divs and spans instead of uls, eg:
    • Item
    • Item
    • Item
      Sub-item Sub-item Sub-item
    • Item
    Is…
    MeltingDog
    • 14,310
    • 43
    • 165
    • 295
    0
    votes
    3 answers

    MODx Wayfinder &level=2 exclude ALL but one

    I am trying to write a Wayfinder call level 2 that excludes ALL level 2 docs except one level 2 doc (id=39) (so ALL level 1 docs have to be included). How to achieve that? [[Wayfinder? &startId=`0` &level=`2` excludeDocs=`3,4,5,6,7,8,9`…
    user4752928
    0
    votes
    1 answer

    MODX Revolution Wayfinder return empty line

    I have some resources and I'm trying to show menu with wayfinder: [[Wayfinder? &startId=`0` ]] But wayfinder returns nothing. Resources are under the root and published. What's wrong?
    0
    votes
    2 answers

    Menu with div inside on ModX

    I tried to make a menu with 'div' inside like here — http://www.stylight.com/ using Wayfinder, but didn't find a way. Were should I look or what should I use to make it happen? I try to achieve this HTML output:
    0
    votes
    1 answer

    Change CSS class in Wayfinder MODx menu dependent on page template

    I've got a dropdown menu created with Wayfinder in MODx. Basically I'm trying to style specific page links in the dropdown, depending on which template the specific page is using. So fx. if a page is using template "A", its link in the dropdown…
    Alexander
    • 1
    • 2
    0
    votes
    2 answers

    Wayfinder includeDocs only showing first level reasources

    I am trying to implement Wayfinder to display on a select few resources. I have it set up as such: [[Wayfinder? &startId=`0` &level=`3` &includeDocs=`1,9,4,14,17,21,10,11`]] But only the first level resources show in the menu. Does anyone know what…
    MeltingDog
    • 14,310
    • 43
    • 165
    • 295
    0
    votes
    1 answer

    ModX wont work without absolute paths

    I have built a site on Revo 2.1.3. All went well except for the site paths. Where I used to link to an image like: assets/images/photo.jpg It now wont work (appears as broken link) unless I put the complete path,e…
    MeltingDog
    • 14,310
    • 43
    • 165
    • 295
    1
    2