Questions tagged [plugin-neo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
99 views

Wrapping divs around a group of neo blocks

How can I wrap a div around certain neo fields based on what appears before or after them? Basically I want to wrap a container div around a set of items (text based objects) only at the start and ...
2
votes
1answer
82 views

How can I make Craft's caching aware of fields used inside a plugin?

I have a complex template which uses various modules and sub-components for which I opted for handling all the logic and rendering directly in PHP, as it felt like it was too complex a job for twig. ...
2
votes
0answers
147 views

Neo performance (large page)

I'm using Matrix and Neo to build out quite large, complex entries. On larger pages (70+ blocks each with one-multiple sub-blocks) the performance is taking a bit of a hit taking upwards of 40 seconds ...
2
votes
0answers
110 views

Can't seem to get reverse relational field working from within a Neo field

Has anyone managed to get reverse relations from a Neo field working? I have a Neo field containing an Entries field which works fine on the page/section entry where I have the Neo field, but I’m ...
1
vote
1answer
308 views

Neo plugin - Displaying an image from a Matrix field

I am using the Neo plugin in my project. I have made a Neofield article content with several block types in it. Amongst the block types that I have in it, is a gallery as well. Gallery block type has ...
1
vote
2answers
1k views

Craft Neo – childs Output

I have a question. How can I output the Childs from a Neo (Neo Plugin) Block? With this code, i get the output for all level 1 blocks but i don't get a output for the deeper levels. And how can I ...
1
vote
1answer
221 views

Get relatedTo from Neo field

In channel A, we have a Neo field with a couple of different block types, in 1 of those types we have an entries field with channel B entries. On the channel B entry, I'd like to find out if it is ...
1
vote
2answers
60 views

Error when outputting assets from a field within a Neo field

Anyone with Neo experience had issues with outputting an assets field with multiple images? I am not using a dynamic field, as I saw there are issues with that. Code {% for asset in block....
1
vote
1answer
29 views

What causes an entry's field to be marked as “modified” when the entry is saved?

When an entry is saved, what causes the entry's individual fields to be marked as "modified" in the POST request? I'm trying to troubleshoot an issue where a modified Redactor field that is a child ...
1
vote
1answer
48 views

Neo: children won't display or I get all() deprecation notice

I have a Neo field set up like so: -Row --Column -Body Columns can also contain body. With this: {% set modules = entry.pageBuilder .with([ 'moduleBody', 'moduleRow'...
1
vote
1answer
95 views

(content) Propagation + website in multiple languages

Currently we're developing a craft multi-site that has 3 languages (nl, fr, en). It's an upgrade (new style, removing junk, ..) from another cms so the content has to be inputted manually. We've ...
1
vote
1answer
120 views

Feed Me plugin not mapping Neo fields

I have Neo fields in my entries which I want to be populated by a JSON feed pulled in through Feed Me, im using elementApi top create the JSON feed. The Feed Me setup runs fine and there are no ...
1
vote
1answer
307 views

Counting included child blocks in the Neo plugin

In the Neo plugin, I've made a block that has the option to add 3 child blocks underneath it. This is the code from the parent block: {% extends 'neo/default' %} {% block blockContent %} <...
1
vote
1answer
179 views

Multilang Bug with Matrix, Neo, SuperTable (with Video)

We have a big problem with CraftCMS and Multilang. We have the default language German (DE) in Craft. We have news entries with matrix fields We create a new language English (EN) as second language ...
1
vote
1answer
194 views

Why do I get 'Could not resolve the subpath “{slug}” after trying to add a category select to a Neo field?

I tried to add a Category Select field into a Neoblock but when i first saved the entry I received the following error: Internal Server Error Could not resolve the subpath “{slug}”. I ...
1
vote
1answer
42 views

Adding class based on length

I'm using Neo to allow my client to be able to create a content grid with child blocks. Now I'm wondering, is there a way that I can change the class of the output based on the number of items? For ...
1
vote
1answer
753 views

Entries Fields inside a Neo Field

I have again some trouble with a Neo field. I've a Neo field with different layouts. In one I will output content from some entries with a entries field. The problem is: Sometimes I get output, ...
1
vote
0answers
34 views

Custom format for Sprout SEO 3 Element Metadata

Does Sprout SEO work with Neo fields? I'm trying to create multiple fallbacks within a custom formatted element metadata field in Sprout, so I could just use one Sprout SEO field with element ...
1
vote
0answers
62 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. ...
0
votes
0answers
41 views

Supertable or Neo for nested Matrices and compatibility with Craft 4

I typically avoid using Supertable or Neo because I don't want the extra dependency going forward. However I'm in a project where I needed nested matrices. I know that in C4 nested matrices will be ...
0
votes
0answers
18 views

PositionedAfter method doesn’t work in Craft-Neo

I’m trying to use PositionedAfter method in Craft Cms 3 but it doesnt work. There is no error shown the URL which is passing in that button. Attached is the screenshot of code
0
votes
0answers
89 views

How to save a Neo block content with Super table block content

I'm using Neo blocks as part of an import process and I'm struggling to figure out how to do this via PHP. The following code snippet (a standard approach of setting the field value with an array ...