Questions tagged [plugin-neo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 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 ...
1
vote
1answer
81 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 ...
2
votes
1answer
85 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 ...
1
vote
0answers
32 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
55 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
1answer
131 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
55 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
237 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
156 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
266 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
1answer
179 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 ...
2
votes
1answer
68 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
138 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 ...
1
vote
1answer
41 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 ...
2
votes
0answers
101 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
648 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
2answers
978 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 ...