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 [plugin-supertable]

The tag has no usage guidance.

2
votes
1answer
22 views

Craft CMS 3 data structure advice for vehicle make, model, trim, year tagging

Hi i really would like some advise on best practices on setting up some data for my Craft APP. Most of my documents will be linked to vehicle make/model/trim/year. EG Audi A5 Sport 2009-2016 and/Or ...
2
votes
1answer
16 views

How to get a Super Table relation in PHP?

The following code works great in a template. {% set priceProduct = currentUser.priceTable.relatedTo({ targetElement: product.id, field: 'product' }).one() %} {{ priceProduct.price }} ...
1
vote
1answer
106 views

Bootstrap 4 Accordion with Matrix (and SuperTable)

I'm attempting to use a combination of SuperTable and Craft's Matrix to create a reusable Bootstrap 4 Accordion element, but I'm hitting a wall. My code so far: {% for row in entry.contentBuilder....
1
vote
1answer
61 views

query on Super Table field's date field

I have a section (events) with a Super Table field that has a date field. I am looking for a way to make a request to have the events superior to now. I cannot find how to do it. The event have ...
1
vote
1answer
54 views

How to save a Matrix with Super Table in it

I have an entry with a Matrix field, inside this field I have a Super Table as block type. My fields data looks like below: "title" => "test1" "matrixHandle" => array:2 [ 0 => array:2 [ ...
3
votes
1answer
53 views

Set SuperTableFields programatically

I'm trying to setup some Global fields in a migration. I'm using the SuperTable Field from verbb which is similar to a matrix field. I'd like to add several rows during migration but can't seem to ...
1
vote
1answer
79 views

Craft 3 CP performance

I'm wondering what kind of performance I should expect from Craft 3's Control Panel. I've created a (clever) structure, where I have matrix field which contains a superTable field. Matrix Row (...
1
vote
0answers
149 views

Finding Super Table field in matrix field

I am writing an importer that pulls from a separate MySQL database into Craft 3, and for the most part it's been quite simple to do. However, I set myself up for some complication by having a Super ...
0
votes
0answers
22 views

Super table matrix scope change when calling .type()

This is my first question on here and I'm only starting to seriously get into Craft so please excuse me in advance if I'm using wrong terminologies. I've discovered that if I called type() to set a ...
1
vote
1answer
181 views

Using Element API to output Super Table fields

I am building a feed using Element API. I am currently looping through Matrix blocks to get various data (based on the help from this post). One of the matrix blocks contains a Super Table field, with ...
1
vote
1answer
32 views

Get the variables of a loop from an include file

So my 1. file is "_overview-topicTeaser.twig" which is within a matrix: {% include 'modules/module-squareteaser/_module-squareteaser' with { squareTeasers: block.topicTeaserItems.all(), ...
0
votes
0answers
45 views

Reverse RelatedTo Super Table in Matrix

Anyway to do this using Super Table? I have it working for Matrix fields but prefer Super Table because of the layout. I have tried this in Super Table but receive no elements. I have Matrix field ...
0
votes
0answers
24 views

Matrix Layout Horizontal

Has anyone been able to CSS matrix to be horizontal? It's a super helpful field just not so great of a layout. I tried SuperTable, the layout is right but trying to get relatedto to work with it and ...
0
votes
1answer
72 views

Matrix Field Count Records

Is there an easy way to return the total number of entries in a Super Table within a Matrix field?
1
vote
1answer
80 views

SuperTable Field returning null

I am performing a query from within a plugin like so: $criteria = craft()->elements->getCriteria(ElementType::Entry); $criteria->section = $journeyTitle; $response = $criteria->find(); $...
2
votes
2answers
143 views

Adding Columns to a table

Is there a way or a plugin that allows you to add columns and change columns heading from within the entry? Instead of defining column heading while creating the table field. It would be nice to have ...
1
vote
0answers
53 views

How to import LinkIt (custom) fieldtype with Feed Me into Super Table

I'm trying to import a LinkIt fieldtype into a Super Table with the Feed Me plugin. I've tried several ways but doesn't seem to be working. The part in my json which gets mapped to the Super Table ...
0
votes
0answers
29 views

SuperTable and locales

Having problems with using locales on a Craft site using Super Tables pretty extensively. Came across this issue which seems related: https://github.com/verbb/super-table/issues/22 It basically ...
1
vote
1answer
80 views

Is defined conditional passing, yet causes a “do not have a method or closure named” error

Why is it that in the below, referencing stRow.caption causes an error despite being wrapped in an "if defined" check? The error is: Craft\SuperTable_BlockModel and its behaviors do not have a ...
1
vote
1answer
196 views

Output SuperTable fields from inside Matrix field

Having looked at other answers I'm pretty sure I've got this correct but it's still not working for me. I've stripped the code down to make it easier to read. Error i'm getting is "Impossible to ...
1
vote
1answer
118 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 ...
0
votes
1answer
42 views

Override SuperTable reverse related entries limit

I've got two kinds of channel entries: Bills and Legislators. Legislators have a SuperTable of votes. Each vote is related to one Bill. I want to get all the votes associated with a particular Bill ...
1
vote
1answer
116 views

Dynamic upload location for Super Table within a Matrix field?

I'm trying to set dynamic upload locations for my asset fields that are in a Super Table field within a Matrix field. So it's Matrix > Super Table > Asset field. I'm getting the following error when I ...
3
votes
1answer
112 views

Why is my Super Table field returning the ID for existing blocks?

I have a front-end profile form that is using a Super Table field to populate a user's phone number. If the user has not populated the field before, everything works great. I am able to use new1 to ...
1
vote
1answer
304 views

Sort entries by custom date in Matrix field / Super Table

I currently have numerous Super Tables with date fields inside and I am trying to get all table items to list themselves together in date order depending on what the user inputs. I have tried using ...
1
vote
1answer
132 views

Sorting SuperTable Field with SuperSort?

I'm trying to use supersort to sort my entries based on date values in a supertable field. This is what I have so far but it's not working. {% set artists = craft.entries.section('artists') %} {% ...
1
vote
1answer
222 views

How can I output the value of a superTable field within a loop?

I have a superTable field that I am trying to re-populate on my front-end form. Everything is working great, I am able to populate a drop-down, but can't seem to find the magic numbers to re-populate ...
3
votes
1answer
231 views

How can I loop through the values of a drop down within a SuperTable?

I a musing a front-end form to create an entry in the CP. In my form I am using a SuperTable that contains two fields/blocks. Size - [text input] Measurement - [dropdown] Here is what my template ...
2
votes
1answer
78 views

Remove duplicated entries from SuperTable related entries

Anyone able to assist me with removing duplicates in this example? So I have a related entries (cables) setup in a SuperTable. Some of these entries are duplicated across different rows. So a cable ...
1
vote
2answers
238 views

Outputting supertables within a matrix

after searching around for awhile I still cannot find a clear answer to templating Supertables within a matrix field. I have a field called 'about' which is the matrix field, within that there is a ...
1
vote
1answer
640 views

Looping through rows in a Super Table

Very new to Craft & Twig. So I get the following error: Impossible to invoke a method ("url") on a integer variable ("0") with the below code: {% if module.type == "rotator" %} <div class="...
1
vote
1answer
479 views

How to use Super Table to create an Image Carousel?

I'm very new to Craft and am having some trouble creating an image carousel from a Super Table. I created a Matrix field called 'rotator' it has one field called 'rotatorContents' which is a Super ...
1
vote
2answers
146 views

Related Entry within SuperTable

A year ago I asked this question and thanks to the answers I got things working. A year later and i'm trying to do the same thing on a different website... only this time it's not working! Section ...
1
vote
1answer
90 views

How to show details on linked entry in CP (another field inside related entry)

I'm using a row layout SuperTable to create a recipe (ingredients are entries). Is there a way to show another field inside the related entry (not just the title) together with the entry title? I need ...
0
votes
0answers
54 views

Storing a Matrix block data in a variable

Having an issue searching a Matrix field for a block with a certain value and storing the entire block in a variable. Right now it only seems to be storing the location value. The navigations field is ...
2
votes
1answer
282 views

Creating a guest entry, with a Matrix field, using Ajax

I'm trying to submit a guest entry by building a javascript array of objects to mimic a form submission and submit using ajax. I've managed to successfully submit the entry with just a title but when ...
1
vote
1answer
469 views

Matrix -> Super Table - > Matrix

I have a matrix field with a Super Table block type. Then I have a matrix field as a field within the Super Table block. I am having trouble filtering by block type from within the child matrix field. ...
1
vote
1answer
86 views

How do I sort and display event entries when each event can have multiple start times?

I have two different event types in my Events channel. The first one is events and it is very straightforward: Title, Description, Date. The other one is films and it is a little more complex: Title, ...
0
votes
1answer
291 views

Simplify templating query with Super Table

The following code will return the correct result, but since I'm quite new with Craft, I wanted to know if there was a more preferred/efficient way to filter this in the template (or maybe create a ...
1
vote
2answers
488 views

Can I eager load Super Table fields in a Matrix block?

I have a Matrix with a Super Table in many of its blocks that I'm trying to eager load, but I can't figure out the syntax (or if its possible). The Super Table field's handle is columnSize and it ...
0
votes
1answer
197 views

Getting total rows from current Super Table within Matrix Block (too many rows)

This is my first site in Craft CMS (coming from EE) and trying to get my head around a few things. I've got a matrix field that defines various types of content - one of which is a 'Super Table' ...
0
votes
1answer
532 views

How to query for multiple relations with SuperTable

The relevant sections for this question are: Event: One relevant field. guestAllocation (SuperTable). Guest allocation is a table which selects a Partner (Entries) and how many people that partner is ...
2
votes
1answer
598 views

SuperTable and related entries

I'm trying to pull through content based on items within a SuperTable entries field. After searching around I currently have this: {% set individuals = craft.entries({section: 'barristers', ...
1
vote
0answers
129 views

Searching multiple Super Table columns against an established value

I currently have three global Super Table fields, global.berkeleyDeliveryMatrix, global.oaklandDeliveryMatrix and global.sanFranciscoDeliveryMatrix, all of which have a plaintext column in them titled ...
2
votes
2answers
397 views

Display entries by Category (Category in Super Table)

I'm been kicking myself for hours and going round in circles trying to get list of entries displayed by category when the category is selected from within a SuperTable (static table) row. I would ...
2
votes
2answers
1k views

Templating SuperTable

I'm using the SuperTable plugin to create Matrix fields inside a super Table. It's looking great in the front-end but I can't find any documentation on how to template the fields. This is my code so ...