Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [structure]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 views

How to work with structure nested entries on live-preview?

Can I get some guidance/help on how to make work structure section type on the live preview please? Everything is fine when the section is a single or a channel. I am working on a few projects, some ...
Adam Fernandez's user avatar
0 votes
0 answers
23 views

Order structure entries by children's custom date field

I have entries as a structure (trainings ). The top-level elements are trainings (entry type training). Each training can have multiple children which represent training dates (entry type trainingDate)...
Andreas's user avatar
  • 491
0 votes
0 answers
33 views

Disable URL's for nested levels in structure but keep URL's for the 2 top levels

I have some products with categories that go 4 and sometimes 5 levels deep. The site will have an overview page for the first 2 levels. For example: my-website.com/category/subcategory I have created ...
Matthias's user avatar
  • 301
1 vote
1 answer
55 views

Show related entries of a parent, where only a child of that parent is selected as a related entry

I use a structure section with two levels, parents and children. Is it possible to show related entries of a parent, where only a child of that parent is selected as a related entry? I did try to ...
Marcel's user avatar
  • 149
1 vote
2 answers
81 views

Automatically save an Entry Type to a specified Structure level

I often use multiple Entry Types in a Structure so that the 'Landing page' and 'Entries' are in the same place in the admin for the site editor... e.g. L1 Landing Page (header image, introduction etc)...
Martin's user avatar
  • 1,203
0 votes
1 answer
122 views

Structure entry with no URL

I have an entries Channel with about 100 entries that I need to be able to custom order in CP. Changing the channel to a structure seems to be a good potential solution for that. I would also like ...
Micah Morgan's user avatar
2 votes
2 answers
206 views

Convert Categories into Structure entries

We chose to create a set of content on our site as a category group. We're starting to port over content from our old site (Drupal) and have realized a few bummers — the main one being no revision ...
Bill Columbia's user avatar
0 votes
1 answer
273 views

Navigation from structure with field Entries for URL

I am new to craftcms and searching did not get any answer. I have 2 fields setup navUrl (type entries) and customUrl (url) and I have a section called mainMenu with these fields. I have then added the ...
Thiag's user avatar
  • 1
1 vote
1 answer
66 views

Entries field within structure

Not sure whether it's a bug or the correct behavior. How do I see the parent category just like the categories do? Entries field related to the category group (another project)
Mark H.'s user avatar
  • 401
1 vote
1 answer
133 views

Is it possible to change the order of entries or posts on the homepage?

I need to change the order of the posts / entries on our homepage - is there a way of doing that?
Louis's user avatar
  • 11
1 vote
1 answer
204 views

Get all entries by structureId

It is possible to get all entries by structureId ? If yes how ? For now i use something like this: {% if entry.parent %} {% set relatedEntries = entry.parent.children()|filter(v => v.type == '...
antdev's user avatar
  • 137
1 vote
1 answer
164 views

How can I see an entries parent in a Structures listing view in the control panel?

I saw this older question but it does not appear to work in Craft >=3.x as far as I can tell. I've got a structure setup with 3 top level pages and some subpages. In this case each top level page ...
Bill Columbia's user avatar
1 vote
2 answers
94 views

Show 'active' related entries from a structure under one parent

I have entries where other entries from a structure can be selected as related entries. The structure is one level deep. If sublevel 1.1 and sublevel 1.3 are selected as related entries, I want to ...
Marcel's user avatar
  • 149
0 votes
1 answer
93 views

Can't get first level of a structure

I have a structure with content: Item A Item AA Item B Item BB I get nothing when I explicitly call the first level with .level('1'): {% set entries = craft.entries().section('pages').orderBy('...
Adrian's user avatar
  • 437
2 votes
1 answer
36 views

Child (inner) Path of backend in Virtual Host is possible?

I have ISP Config host virtual website which is a system tool to host many websites. Document root path '/' is not writable. I have an /private, which is writable. I used alias @root as /private, and ...
cooltronic.pl's user avatar
1 vote
2 answers
147 views

Make page urls correspond to their structure

I set up a page entry type under Structures, and because this is for generic pages, I want it to be arbitrarily nestable. From the structure page, this is easy to set up; however, I want the urls for ...
Augustine Calvino's user avatar
1 vote
1 answer
115 views

Is there a way to query for structure Entries that have no Parent?

Suppose I have a structure Section with Entries like this: Parent A Child X Parent B Parent C Child Y How would I return this list of Entries? [Parent A, Parent B, Parent C]
sam's user avatar
  • 11
1 vote
1 answer
23 views

Creating a channel (or entries) using a similar channel

I am currently trying to make a channel called "classmates" similar to a channel that is called "News". I have this working beautifully, but I am not sure how to set a different ...
craft newbie's user avatar
1 vote
1 answer
89 views

nesting functionality missing in section type structure after feed-me import

i create an new section from type structure. when i manually add the entries and nest it everything works as aspected. after importing my entries with feed-me and the option create parents if not ...
Nick Langer's user avatar
1 vote
1 answer
80 views

Best Practice on how to build a Pricing Page on CraftCMS

CraftCMS gives us so many ways/options on how to build pages that I'd love to see what people are doing with their pricing pages! I'm planning on building something similar to Amilia.com or Slack.com. ...
mateostabio's user avatar
1 vote
1 answer
27 views

Whats the best way to place content without using a lot of categories?

I have a technologies magazine and recently find out about Craft CMS. It looks like I can make everything that I need to but I need advice. So basically we are writing about smartphones, cars, ...
Lukas Snarskis's user avatar
0 votes
0 answers
59 views

Multiple structures sharing the same entries?

I'm working on a site that currently has one structure ("projects") that organizes my entries for each specific project. In the admin I can reorder these entries manually... so far so good! ...
CinemaMike's user avatar
1 vote
1 answer
62 views

Structure Navigation with 3 possible Link Types using Nav tag

I'd like to build a Structure that can be used to output the main site navigation; each "entry" in the Structure would have three custom fields (types): Category, Entries, URL This question ...
doctorgloom's user avatar
1 vote
1 answer
307 views

Simple Product Listing Pages by Category Slug

I'm new to Craft and I'm trying to create very basic product listing pages based on Categories and I'm not sure where to start. First, it doesn't look to me like you can create separate templates for ...
doctorgloom's user avatar
0 votes
0 answers
33 views

Structuring externally scraped content

I scrape content from an external website using JSON API with the FeedMe plugin. Content is saved as entries with plain text and redactor-type Fields. How can I structure this content so that I can ...
Jay's user avatar
  • 11
1 vote
1 answer
43 views

After Migration from v2.9 to 3.5 - some entries added into an entry-relation-field get added twice after saving

We migrated a craft cms site with 3 locales from v2.9 to 3.5 We have a section with a field of type "Entries". When editing the entry, and adding certain entries to this field, those get ...
Chris Angel's user avatar
1 vote
1 answer
33 views

Dates for entries are in different language

When the user wants to edit the Post Date or Expiry Date of an entry (channel/structure), the calendar is in Welsh language. I have no clue how this happened. How can I change this? Thank you
Paloma Martinez's user avatar
1 vote
1 answer
178 views

How to translate a structure url

I'm working on a multilingual website where I have one structure called Products. Currently, this structure's URI format is configured like this: {parent.uri ?? section.handle}/{slug} Which returns ...
idix's user avatar
  • 165
0 votes
0 answers
33 views

Alternative overview for structures

Most of our websites use a main structure for the page tree. In some cases, those structures can become quite large and entries further down are not shown initially without scrolling down/autoloading. ...
Matthias Redl-Mann's user avatar
1 vote
1 answer
154 views

Parent are not set anymore after saveElement()

In this code I try to create a new Entry and set a Parent to it. The sectionId and the typeId are actually the same. $navigationItem = new Entry(); $navigationItem->typeId = 4; $navigationItem->...
Slowwie's user avatar
  • 235
1 vote
1 answer
171 views

Showing different field layouts for entries within the same structure

I set up a structure for pages that looks like this: - All Services - Service 1 - Service 1 subpage a - Service 1 subpage b - Service 2 - Service 2 subpage a - Service 2 subpage b ...
Jake1293's user avatar
  • 159
1 vote
1 answer
38 views

Why is it when I update an entry within a structure in the admin, it reorders it to the bottom of the list?

I've created a structure and I have about 15 entries in it. They are grouped under an entry named "0234" and each entry below it is named 0234 A, 0234 B, 0234 C, etc. I would like to keep ...
Darryl Vos's user avatar
1 vote
1 answer
28 views

Templating for Structures

I can't find anything in the Craft 3 docs that explains templating for a structure entry. What I want to do is show level 1 entries with their associated level 2 entries in a simple list type ...
Roi Agneta's user avatar
  • 1,463
1 vote
2 answers
205 views

How to display multiple entry loops on the homepage (Single section type)

I've been learning Craft 3 for a couple weeks and I've run into a little snag. I have a homepage that I would like to display multiple entry loops and/or types. However, I cannot find how to do this ...
Justin Kendall's user avatar
0 votes
1 answer
70 views

Performance basics? BlogPost+Comments vs. One ever-expanding Matrix Field?

New to Craft, and unsure how it works under the hood. In terms of overall performance, I'm curious to know which of the following scenarios is the most performant approach in terms of DB queries and ...
JJ.'s user avatar
  • 13
0 votes
1 answer
15 views

Is it possible for an assigned entry (via field type Entries field) to know what it has been assigned to?

I have two entry types 'pipeline' (structure) and 'series' (channel). I know I can add children in a structure, but I want to keep 'pipeline' and 'series' separate to avoid duplication, as a series ...
sput's user avatar
  • 3
2 votes
1 answer
251 views

Conditional fields based on structure level

I have a site that will heavily rely on the structure entry type to allow the client to publish content. The "1st" level of the structure will always act as a table of contents for its children. The ...
Timmy O'Mahony's user avatar
0 votes
0 answers
163 views

Purely Static Pages on a CraftCMS Site

A client is using Craft 2, which someone else set-up for them. We're not trying to change their set-up but would like to offer them a quick and easy way to archive their annual event. I just assumed ...
nonprofit_tech's user avatar
1 vote
1 answer
249 views

Categories or Structures: Most efficient way to organize FAQ sections

Working on a plan for a site that has multiple audiences, with a FAQ section for each audience. FAQ entries are organized by Topic (Finance, Advertising, Publicity) each FAQ entry can be ...
sonoflee's user avatar
2 votes
1 answer
955 views

URL structure for structure section

This seems like it should be straight forward. I need to set-up a structure section with a parent page which uses the same section entry and same template. So the parent would have 'parent' as the ...
Andrew's user avatar
  • 748
1 vote
1 answer
88 views

2 multi sites with separate root pages

I have 2 sites within 1 Craft 3 installation, they are both the same language and generally have nothing to to with each other. I would like both to have individual startpages at the URL "/". Is ...
Matthias Redl-Mann's user avatar
1 vote
1 answer
522 views

403 forbidden error when moving entries in structure

We're running on fortrabbit. I cannot sort entries in a structure without getting: 403 index.php?p=admin/actions/structures/move-element Unauthorized User is not authorized to perform this action ...
good_afternoon's user avatar
1 vote
1 answer
187 views

How to lock down entries to specific levels of Craft CMS Structure

I’m trying to figure out a way to setup a simple Craft section: a list of projects, each project consisting of a title and a type; and a series of photos, each photo having a description. BUT... If I ...
BBaysinger's user avatar
1 vote
1 answer
105 views

Pulling blog entries related to a structure entry field type

fairly new to craftCMS. I've wrestled with this now for hours and exhausted all research avenues. I have three main "service pages" (Web Design, Digital Marketing, Hosting & Analytics) These are ...
Jon Smith's user avatar
1 vote
1 answer
58 views

Change the URL of nav child entry conditionally

I want to change the URL of a li from a nav menu conditionally (using a custom field where the user sets the URL), but I don't see how to use conditionals with {% ifchildren %}? {% nav entry in ...
user2569's user avatar
  • 457
1 vote
1 answer
520 views

Entries not visible on Production

I have a Structure called Pages which works great on my localhost. When it comes to deploying the website i'm not sure what the issue is. Before I deploy; I am running ./craft settings/rebuild. If I ...
Callum's user avatar
  • 193
1 vote
1 answer
71 views

Show multiple products (urls/pages) on the front-end with dynamic titles/descriptions/meta based on a single product in Craft Commerce

I am considered the best way to set this up in Craft and how to handle this with front-end Urls, templates and routes? So I products with variants for Wheel Spacers, (Wheel Spacers are a product type)...
Terry Upton's user avatar
  • 1,894
0 votes
0 answers
140 views

Unable to delete Entry: Numeric value out of range

I have a Structure section that I converted to a Channel. I then tried to delete an Entry Type from the Control Panel and get the following error: {"error":"SQLSTATE[22003]: Numeric value out of ...
Ben Parizek's user avatar
  • 13.5k
2 votes
1 answer
16 views

Sub categories with extra field

I'm stuck on a problem with categories. I never worked with them before so maybe it's not as difficult a I think. I need the following structure: Type of company 1 (e.g. Bakery) -Bakery 1 + ...
user3693032's user avatar
1 vote
1 answer
462 views

How would you show a specific entry 'and' its children

I'm creating a footer menu and want to show an entry id and its children, atm I'm just getting the descendants but struggling to show the parent and children as well <nav class="cell small-12"> ...
user2569's user avatar
  • 457

1
2 3 4 5 6