Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Form on Single Page Site
· 10 years ago
I did use the triple backticks but I must have messed it up somehow. I used that page for almost an hour last night without it working at all.
-
Form on Single Page Site
· 10 years ago
Please checkout this Learn site page for how to build forms in modular pages. P.s. next time use triple backticks to wrap your code blocks, so they are formatted and indented properly.
-
Form on Single Page Site
· 10 years ago
I've been playing around with setting up a single page site with different modules. I've gotten everything working except for my contact form. Below is my file structure: pages 01.home _item1 _item2
-
Error plugin doesn't use user/pages/error.md
· 10 years ago
found it, it has to go to user/pages/error/error.md. sorry for the brainfart.
-
Error plugin doesn't use user/pages/error.md
· 10 years ago
...but it does use the custom template I created in my theme. the error.md resides in user/pages/error.md, and I just changed the "Woops..." line to something else, that's all. If I rename user/plugin
-
Manage Bootstrap Dropdowns OPTIONS
· 10 years ago
Thanks for your reply, but i'm not searching for pages... All i want to do is just 'parse' the menu.html.twig and use the {{ page.header.menuoptie.divider }} to place the bootstrap devider for the dro
-
Manage Bootstrap Dropdowns OPTIONS
· 10 years ago
Well yes, page refers to the current page. You can use page.find('/page-route') to get any page you want.
-
Manage Bootstrap Dropdowns OPTIONS
· 10 years ago
I've tried 'everything'... but still no luck... I'm able to check on the {{ page.header.menuoptie.divider }} if added to the page frontmatter But... I think the page header will only be 'filled' when
-
Manage Bootstrap Dropdowns OPTIONS
· 10 years ago
If you add an option to the page frontmatter, you retrieve it using page.header.* not just page.*. So page.header.menuoptie.divider should get the value.
-
Manage Bootstrap Dropdowns OPTIONS
· 10 years ago
That's the place where i was trying to implement this, when i put in the <li class="divider"></li> it does the work. But i'm trying to control this from within the admin or frontmatter to