Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Modulars are not apparing

Solved by pamtbaau View solution

Started by nuv4 5 years ago · 7 replies · 579 views
5 years ago

when i insert a module in a page, after i save it, i go in the page off the website to see it, and it does not appare.
the module result "published non-visible non-routable"
why?

5 years ago

@nuv4, A tad more information might be helpful. For example:

  • Which Grav version are you using?
  • Which theme are you using?
  • Did you add the child module using Admin?
  • How does the folder structure look like after saving the page? Should be something similar to:
    TXT
    user/pages
    └── 01.home
      ├── 01._hero
      │   ├── header.jpg
      │   └── hero.md
      ├── 02._highlights
      │   └── features.md
      ├── 03._callout
      │   ├── jeep.jpg
      │   └── text.md
      ├── 04._features
      │   └── features.md
      └── modular.md
    

    Above tree is taken from skeleton 'One-Page Site' using $ tree user/pages | clip.exe (on Windows: $ tree user/pages | clip)

  • What's the frontmatter of the 'modular.md'?
  • What's the frontmatter of the child module's *.md?
5 years ago

hello
i use [Grav] v1.7.7
the theme is [Quark] v2.0.3
i have add child module from admin web page
where i lunch tree user/pages | clip.exe ?

5 years ago

@nuv4, You launch tree user/pages | clipe.exe from the command prompt aka terminal.

5 years ago

@pamtbaau:
clipe.exe

but clipe.exe where is?

5 years ago

@nuv4:
clipe.exe

????01.home
????02.typography
? ????_01hero
????03.galleria
????_foto
ok this is tree result

5 years ago Solution

@nuv4, Please be kind to the readers and try to format the folder structure properly. It's hard to make sense of the folder structure right now.

  • Which folder is supposed to contain the modular.md?
  • Where is modular.md?
  • Where are child module files?

Suggestions:

  • To get an idea how modular pages work, you might want to download skeleton 'One-Page Site' and see how it is structured.
  • You also might have a look at the documentation about modular pages.

clip.exe
On Linux, use clip.exe on Windows use clip

last edited 03/08/21 by pamtbaau
5 years ago

yes I've downloaded the skeleton one as per your suggestion, and it works, in fact, so well with all the modules, I've leart how to make the modules and it makes them right,
thanks
Best regards

Suggested topics

Topic Participants Replies Views Activity
Support · by Water Science, 3 weeks ago
11 172 9 hours ago
Support · by Duc , 1 day ago
1 46 1 day ago
Support · by Thomas, 1 week ago
3 116 1 day ago
Support · by Anna, 4 days ago
2 111 2 days ago
Support · by Justin Young, 2 days ago
1 91 2 days ago