Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 6586
1
vote
2answers
A bit of a background on the project. I have a features structure section, that has 2 levels: Parent features & Child features. {% set features = craft.entries.section('features').all() %} My goal …
asked Dec 13 '18 by mateostabio
1
vote
After a long search and lots of trial and error, I've found the perfect solution! This is how I created a dynamic structure navigation : parent/child (2 levels deep) with class="active" on the parent … and the child <li>. <ul class="Navigation"> {# Get top-level entries in structure section 'features' #} {% set parentFeatures = craft.entries.section('features').level(1) %} {# Loop through top …
answered Dec 17 '18 by mateostabio
2
votes
1answer
I'm currently in the process of making a website for a restaurant and using Craft CMS & I'm not sure how to go about making the menu page. It is a very complete page with a bunch of different catego …
asked Aug 7 '17 by mateostabio
1
vote
1answer
I need to create a features structure section for a website that will have parent features and child features. Q1: How do I get different URL Format for parent & child pages? I need the parent …
asked Dec 13 '18 by mateostabio
2
votes
To get different URL Format for parent & child pages, you need to go to the CP structure settings and edit the Entry URI Format. This is how your URI should look like: {% if level == 1 %}features … structure. So in your CP structure settings, you will have one template file: features/feature_entry.twig and inside that file you will have: {% if entry.children|length %} <!-- If it has a child, it's …
answered Dec 13 '18 by mateostabio