Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [structure]

The tag has no usage guidance.

0
votes
0answers
16 views

Different URLs for the same type of content

We found an interesting miss behaviour on our projects. The site has the following structure: DRY SIREN POOL DEHUMIDIFIER (type: product group page) DRY SIREN MONO (type: product group page) DRY ...
1
vote
2answers
17 views

Removing URL's from Existing Entries

We've created a site which now has 40 entries in a Structure. We need to retrospectively remove the URI's because there isn't an individual page for each entry, they're all on one page but search ...
1
vote
2answers
33 views

URL Structure - advise and thoughts of best approach?

I am currently building a website for Hot Tubs and within this there will be New Tubs, Used Tubs and Hire Tubs (each will be a top level page on the navigation, and each tub will have a details page). ...
1
vote
0answers
16 views

Product in nested navigation

I'm currenty running Craft (v3) Commerce (v2) and have a difficult structure. This is my menu now: single home page. single about page. channel blog page. It has to be with the products in the menu,...
1
vote
2answers
46 views

Calling Craft API from node.js

I really love working with Craft, especially around how easy and user friendly it is. However, I do work with React/Vue and usually I setup a node server/app that will do some routing, render views ...
1
vote
1answer
36 views

Can a structure have multiple parents?

Can entries of type structure have multiple parents? https://docs.craftcms.com/v3/sections-and-entries.html#sections says that they can be hierarchical, but the UX doesn't seem to let me have more ...
2
votes
1answer
21 views

Channel content in structure

I'm posting a lot of newbie questions today, hope that's ok. It will get better! I would like to add a channel (list/detail) to a structure page. Home > Pages > List Page I'm sure I'm looking ...
0
votes
0answers
9 views

Is there a Craft 2 plugin that displays a Structure nav tree on a single entry control panel page?

Is there is an existing Craft 2 plugin that will display a Structure nav tree menu on a single entry control panel page? So if I click into a level 2 entry in the control panel, I might see a block at ...
1
vote
0answers
31 views

Showing entries in CP only for specific category

I need to sort structure section entries belonging to specific category (entries have category field). With default structure list displayed in CP, i see all entries for this structure type section ...
1
vote
2answers
42 views

How do I remove segment 1 in my URL AND get the parent URI?

I have a structured group of pages in a static channel that I would like to display without "static" in the URL and show the parent URI. This is my structure: patients-visitors ---- our-stories ------...
3
votes
1answer
20 views

I try to add element to structure, and I want to add to this element parent ID

Form code: <section class="membersTitle" > <label>Date</label> <select name="fields[parent][]"> {% set entries = craft.entries.section('order').level(1) %} ...
1
vote
1answer
44 views

Craft 2 use different template for the same structure

I have a site with projects which each has a projects structure with an associated category and a number of images. The URL is set as projects/{projectCat.first.slug}/{slug} I want to use the ...
1
vote
1answer
39 views

How can I set a landing page for a structure with no slug?

In Craft2, I have structures that each have a landing page/homepage for that structure. If the structure's URI format is "liver/{slug}", how do I make the 'landing page' entry have a URI of only "...
2
votes
1answer
26 views

Managing sections and field updates between environments

What is the best practice for the following: Client site running CraftCMS (v3) is in production. Updates are needed which require additions or modifications to the data structure / schema of the site ...
2
votes
1answer
228 views

Nested Entries in Craft 3

In Craft 2 there used to be a Nested Entries field, but this is not available in Craft 3. I know I can do {parent.uri}/{slug} in the Entry URI Format field, but if I want it to be appended by ...
0
votes
0answers
133 views

When using Multi-site, how can structures not “propagate entries across all enabled sites” like a channel?

Understanding Structures (see below), I'd like to use one with multi-site. However, structures "propagate entries across all enabled sites". Is there a way to use structures with unique entries for ...
2
votes
1answer
31 views

Previous/Next button to next item in Matrix

I've made a projects structure with inside a couple of projects. On the homepage people can fill in a matrix with either a project or a textblock. I'm capable of looping through the detail pages in ...
0
votes
1answer
23 views

How can I Link a category entry to a Subsite?

I have a Structure Section: Home Sub 1 Sub 2 About List item List item Info How can I link the «Home»-Entry in a Structured Section to the «Sub 1»-Entry? Any help is much appreciated. Thanks ...
1
vote
2answers
129 views

Why is the parent slug showing up in the child slug in a structure?

Basic info I have a structure with a handle about. The Entry URI format is about/{slug}. EDIT: also tried it with just {{ slug }} I created a child page called "Privacy Policy" with the slug privacy-...
3
votes
1answer
59 views

How do you limit the number of items that show up in a navigation?

I have a nav set up which works find but I need to limit the number of top level links to the first 5 in the loop (right now we have 9 plus oodles of children links!). Have tried various flavours of ...
1
vote
1answer
29 views

Why are my entries disappearing when {% if category | length %} is added?

Editing an index page that displays all entries within a structure. Everything displays fine. I add a category to a few entries and add {% if category | length %}and everything disappears as if no ...
1
vote
2answers
75 views

Structure entry position in url

Is it possible to include the entry position (Structure) via the Entry Type Title Format? This is the current format: published in {postDate|date('F')} {postDate|date('Y')} which renders: published-...
1
vote
1answer
45 views

Replicate entries structure in admin

I am looking to see if there is an easy way or already a plugin available that would replicate the entries structure layout. I plan on creating a plugin that would allow an admin to mass update a ...
1
vote
0answers
52 views

Structure parent root - entry type or category urls?

Been rolling around with this for the last 36hrs trying to decide most useful option. The dilemma is how to preserve a structure and use categories - or not. Below is my structure: Food (section ...
1
vote
2answers
111 views

How can I create a family tree hierarchy in Craft?

I'm struggling to think of a way to create a family tree hierarchy in Craft. I've tried using categories and structures, but run into the problem of needing child nodes to have two parent nodes. I....
1
vote
0answers
200 views

How can I filter with facets in algolia with nested structures?

I have a site that currently uses a structure where we have a parent entry and children under it. On the parent page we have entries that have been created with matrix blocks. The structure is as ...
1
vote
0answers
35 views

chain of random entries based on relations

I'm developing a bio section for a client. Every bio is linked to another bio creating a chain of bios. The order of this chain should be random. The schema would be as following: Bios: Bio a, Bio b, ...
2
votes
1answer
282 views

Eager-Loading child elements in a multi-level structure section

I have a structure that looks like this: Experiment ( Level 1) Cages (Level 2) Animals (Level 3) Measurement (Level 4) I am outputting this information into some inline JSON like so: {% set mice =...
1
vote
1answer
68 views

Improving page performance issue

I'm trying to speed up this page: http://planned2perfection.co.uk/what-we-do Yes it has a lot of images but I think it's TTFB that's the issue here. It's built with Structures which I'm thinking ...
3
votes
1answer
73 views

Find structure entries which parents relate to other entries

I want to select all children of all entries that fulfil specified relation parameter. I have tried this, but I think .isDescendantOf only supports single entry. Is this even possible? {% set ...
1
vote
2answers
83 views

Can you use Routes on Structure entries

I'm using a route to use a different template, but whatever I try the page remains unchanged, my structure is set as: entry url format: {slug} entry template: _pages/_entry I want an entry's slug ...
1
vote
0answers
40 views

Duplicating a Neo field's content

I'm writing a plugin to duplicate a Structure within Craft 2. I've covered off duplicating the section, entry types, field layouts and can duplicate the entries, covering of the main Craft fields. ...
1
vote
0answers
65 views

Structure not allowing drag/drop [duplicate]

Craft 2.6.2999 I have two channels that I've set to structure. In my local install I can drag/drop entries no problem. HOwever on the staging server the drag drop function doesn't work - there are no ...
2
votes
1answer
69 views

Conditional anchor in structure url

I have a structure section, where the last child should be an anchor in the slug: parent/parent#child I'm trying to setup conditional url formats on nested entries as such: {parent.uri}{% if object....
1
vote
1answer
42 views

Posting children to a Structure

This question is a follow up of a previous question see: (Entry Form - Multiple Entries & Entry Type & Parent) I am trying to add multiple children to a pre-existing multi level structure: ...
3
votes
1answer
713 views

How to fetch entries from multiple sections

I have five separate sections with x number of entries each. I would like to render all the entries from all the sections on a single entry template page. Is there a way to do this ? I know we can set ...
3
votes
1answer
286 views

Entry Form - Multiple Entries & Entry Type & Parent

I'm building an MVP for a project, I'm using Craft and would like to: Create an experiment (/experiments/) Create multiple cages for the animals within the previous created experiment eg. 5 cages - (/...
1
vote
1answer
93 views

Structure unable to find _entry template

I have a Structure named "pages" which is set to use the template named "_entry". When trying to visit one of the pages I’m just getting a blank screen. The Craft log shows an error in the template ...
3
votes
1answer
90 views

Start a Loop at the nth Entry in a Structure and Loop to the End?

I'm trying to start a loop at the 8th entry in a structure and then loop through the remaining entries in that structure and stop once I reach the end. How would I accomplish this in Craft?
0
votes
1answer
36 views

Replacing content a specific URL/page already reserved in Structured Data Entries

I have a site that I've created a 'Generic Page' type for that is a Structured type with URL Format of {slug}. This is great for the client as they can create an entry for 'toplevelpage' and then ...
2
votes
1answer
182 views

Why isn't relatedTo not working (anymore)?

I’m using a structure for creating new pages and navigation. In this structure there are multiple entry types where one is used for creating category pages. Here a user can add some content and select ...
1
vote
1answer
40 views

Change position of entry types in a structure

I was wondering if there's a way to change the position of elements in an entry type structure. I want to change the positions of the elements when a user logs in, so I'll write it in a plugin. Any ...
2
votes
1answer
141 views

Best Technique for have sections in display in same page with anchor link to each section

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 ...
1
vote
1answer
190 views

Using Structures instead of Singles

Has anyone ever tried using Structures instead of Singles? I'm developing something that's kind of like multiple sites in one, they share the same central design, just with content differences and a ...
0
votes
0answers
57 views

FeedMe & Structures

Just wondering if anyone has tried to migrate a EE Taxonomy tree over to a Craft Structure using Feedme (or any other technique)? The DB table structure is quite similar with lft and rgt values for ...
1
vote
3answers
123 views

Redirect to another EntryType template if no Children exist

I have a Structure Section called 'products' which uses two EntryTypes, one for 'Product Type Overview' and one for 'Individual Products', where 'Individual Products' are the children of 'Product Type ...
1
vote
3answers
97 views

Newly added child entries not showing on listing/parent page straight away

I am running into an odd issue where creating new child entries does not bust the cache of the parent page(s) that lists them. This is the structure I am working with: I am displaying the Course ...
3
votes
1answer
65 views

How to structurize a multi-project documentation site?

I'm currently working on our new Docs website. This site should hold the documentation for all our projects. I thought I could structurize the content like this: Project 1 (<-- Section) ...
1
vote
1answer
107 views

Architecture advice

I am fairly new to Craft but like it's potential but I am not sure the best way to architect a site I am building. Here is a high level picture of the site. It is a learning site that will have ...
1
vote
2answers
77 views

linking to staff page, how to setup entry

I am fairly new to Craft and I am hoping someone can help point me in the right direction so I am not having to do double the work or have to learn the hard way that there is an easier way. I am ...