Questions tagged [nested]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

How to append the category field data nested inside a section to an input tag?

while clicking the input tag it should display its related entries Based on the category field the data selected in the backend value should get appended to the input tag. When looping through the ...
0 votes
0 answers
36 views

Loop out nested menu on click

I'm a new Craft user and a fairly new web developer. I have the following code: <ul class="flex flex-col items-end mb-4 text-right md:mb-0 md:flex-row md:space-x-4 md:items-center lg:space-x-8 ...
1 vote
1 answer
117 views

nested sections

how can i achieve the following result? i have a structured section called products like /hardware/apple/iPhone which gets the template /templates/productpage.twig now i need need to load a different ...
1 vote
1 answer
260 views

Multiple relatedTo conditions using a combination of "and" and "or"

We're trying to make a filter that allows you to pick multiple items from 1 category, and multiple items from another category and return back all appropriate elements. We're in PHP land not twig so ...
  • 129
1 vote
1 answer
132 views

Display parent category with nested child categories and related entries

I'm struggling to loop through level 1 categories and display as a category title and then show nested level 2 categories (via a category title) under which I want to nest related categories to ...
  • 457
1 vote
2 answers
72 views

Display entries sharing the same nested category on an entry page

I'm trying to show the other entries assigned to the same nested category (on an entry template) but get an error if I use .last() which I was hoping would show the nested category assigned entries (...
  • 457
2 votes
1 answer
45 views

Link to a nested category

I'm using a matrix field to allow the author to add products they can link to category pages, but my code: {% for block in entry.transformerProductNavigation %} <a href="{{ block.transformer.one....
  • 457