Skip to main content

Questions tagged [plugin-supertable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
463 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 ...
Piaras Hoban's user avatar
3 votes
1 answer
265 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 }} ...
Steve Mock's user avatar
3 votes
1 answer
485 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 ...
Joe B's user avatar
  • 146
3 votes
0 answers
207 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 ...
Sten Van den Bergh's user avatar
2 votes
2 answers
2k 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 ...
steve1938's user avatar
  • 105
2 votes
2 answers
1k 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 ...
user6999's user avatar
  • 157
2 votes
2 answers
330 views

Editing SuperTable inside Matrix block

I have a matrix field set up as global (strategies). Inside each matrix block there is a SuperTable (pairs) On each row in the SuperTable there is a lightswitch (active) I need to toggle the ...
Stian Karlsen's user avatar
2 votes
1 answer
1k 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', ...
Martin's user avatar
  • 1,203
2 votes
1 answer
1k 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 ...
andrewmenich's user avatar
2 votes
2 answers
696 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 ...
Rich Hayler's user avatar
2 votes
1 answer
792 views

How to find the block type of Super Table field that is inside a Matrix field

I'm making a front-end entry form with a Super Table field that is inside a Matrix field. Super Table docs at https://verbb.io/craft-plugins/super-table/docs/template-guides/front-end-form have an ...
SoHo's user avatar
  • 403
2 votes
1 answer
450 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 (...
LosHosez's user avatar
  • 111
2 votes
1 answer
469 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 ...
Damon's user avatar
  • 4,706
2 votes
2 answers
1k 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 ...
Amy's user avatar
  • 407
2 votes
1 answer
581 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 ...
Damon's user avatar
  • 4,706
2 votes
1 answer
201 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 ...
Jure Srpcic's user avatar
2 votes
1 answer
272 views

How to remove a Super Table row on the front end?

Is it possible to remove a Super Table row? I got it to work to add a new row but it would be great if I can remove it later. Thanks for any help! :)
Samuel's user avatar
  • 61
2 votes
1 answer
88 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 ...
Dean's user avatar
  • 23
2 votes
1 answer
484 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') %} {% ...
Lettie's user avatar
  • 2,033
2 votes
1 answer
335 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 ...
Terry Upton's user avatar
  • 1,894
2 votes
1 answer
267 views

Installing plugins in fresh Craft4 install causes error of identifying as older plugin version

I tried upgrading to Craft 4 (4.2.5.1), and Feed Me and Super Table would not upgrade properly, causing Craft to crash. When installing the compatible versions, old version numbers populate in the db, ...
jstevens79's user avatar
2 votes
1 answer
21 views

Search Filters Results Unexpectedly

This question is related to: SuperTable Returning Unexpected Results w/ Template, which is still unresolved. In essence, Im trying to return the results of a Supertable at two different points in my ...
Document Services's user avatar
2 votes
1 answer
98 views

Pull info from a Related field within Matrix > within Super Table

Ok, my mind is about to implode with this… any help on template syntax very welcome! I have 2 Sections: ‘artists’ and ‘schedules’ In the ‘schedules’ section I have a Matrix field called ‘...
Martin's user avatar
  • 1,203
2 votes
1 answer
321 views

Programatically add lines to a Super Table field

I am trying to add new lines into a SuperTable field of an entry from my plugin. Following the Developper sample, I am able to change set lines to this SuperTable field. But it is replacing the ...
20100's user avatar
  • 31
2 votes
1 answer
284 views

Saving a SuperTable field within a Matrix Field

I am trying to save a SuperTable field that sits within a Matrix field. I have followed the docs as far as I can but for some reason the SuperTable data is not getting saved. My steps are as follows:...
jaypratt's user avatar
  • 113
2 votes
0 answers
363 views

Advanced queries with Super Table

I have three channels: Events, stages and artists. An artist is added to a timetable super table field in the stage channel. In the event, I have a stages field where I select stages. Events also ...
Jorge Anzola's user avatar
2 votes
1 answer
506 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 ...
Amos Whitewolf's user avatar
1 vote
1 answer
155 views

Need to run the super table fix-content-tables from CLI

We have an issue where the super-table fix-content-tables needs to be run. This fixes the issue on local and development environments. The problem is we have a very restricted production environment ...
James White's user avatar
1 vote
1 answer
640 views

SuperTable queries on fields in fields

I have Event entries which contain (among other things) a SuperTable holding the schedule for that event. Each row of the SuperTable contains (among other things) a field for a Session entry, in a ...
Eric A. Meyer's user avatar
1 vote
1 answer
1k views

Entries query by Super Table field

I have a section with a Super Table field, each "row" of which contains a date field. I am looking for a way to query for entries where one of the rows contains a future date.
Patrick Faramaz's user avatar
1 vote
2 answers
1k 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 ...
Stephen Bowling's user avatar
1 vote
2 answers
32 views

Range filter doesn't accept variables

How do I pass variables into the range filter from a static supertable field? {% for item in variants.b2bProductQty %} {% set start = item.selectRange.cellStartInteger %} {% set end = item....
KSPR's user avatar
  • 3,786
1 vote
1 answer
92 views

Sort Repeater fields alphabetically

I have a supertable with over 79 repeater fields. Is there a way I can sort these fields in the frontend alphabetically? For example I have: Romania Germany Austria ... On the frontend I would like ...
loliki's user avatar
  • 151
1 vote
1 answer
77 views

How to exclude Super Table rows matching given entry

I can't quite figure out how to make this work: Say I have two sections, Actors and Movies. In my Actor section, I've got a Super Table field (myFilmography) with an Entries column to choose a single ...
mierla's user avatar
  • 43
1 vote
2 answers
58 views

Supertable bilingual (multi-site)

I want to save a supertable with different infos on two different siteId of an entry. It works fine with all the other fields i'm using: the value is saved separately to each different language. But ...
Martin288's user avatar
1 vote
1 answer
378 views

how to create Super Table field programmatically

i am trying to create a super table field programmatically. this is the code i tried. i see super table field in field list but i can see fields inside of super table. how can i do this? //...
user9975's user avatar
  • 534
1 vote
1 answer
157 views

How to place assets in plain text fields?

In ExpressionEngine i had a matrix field for images (assets) that i used in my entries. I was using NSM Transplant and in my entries i could use {bild-1}, {bild-2} and so on wherever i wanted a image ...
MrGlasspoole's user avatar
1 vote
1 answer
441 views

Looping Related Entries with a Super Table

I need to loop related entries. I am using a SuperTable field with the handle "related" with an entry field with the handle "contentEntry" and two text fields for alternative text and descriptions. ...
Dan Lee's user avatar
  • 1,107
1 vote
1 answer
596 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....
Thabang Chukura's user avatar
1 vote
1 answer
608 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(); $...
Dan Zuzevich's user avatar
1 vote
1 answer
158 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 ...
JamesNZ's user avatar
  • 947
1 vote
2 answers
489 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 ...
Spheriri's user avatar
  • 132
1 vote
1 answer
980 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 ...
Mia's user avatar
  • 21
1 vote
2 answers
492 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 ...
Martin's user avatar
  • 1,203
1 vote
1 answer
2k 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. ...
ChocolateOrange's user avatar
1 vote
1 answer
89 views

Looping through Entries that Match Criteria with Fields inside the Same Entries

I've been having trouble figuring out how to query my entries for another template. Currently, I have a channel of entries for "programs." These programs have a super table that contains a ...
Erol's user avatar
  • 65
1 vote
1 answer
136 views

What does "Allow self relations" on Asset fields mean?

In the Advanced section of an Asset Field configuration, there is the "Allow self relations" checkbox. What does this do? I've noticed that when I have the Propagation Method of the field ...
weotch's user avatar
  • 155
1 vote
1 answer
441 views

Craft Migration fails (SuperTable propagationMethod)

I'm trying to upgrade Craft from 3.3.1.1 and I'm getting an error. I am updating via Composer and get the following error when I run the migration script after upgrading: Unknown Property: Setting ...
Document Services's user avatar
1 vote
1 answer
615 views

Check for value in supertable

Is it possible to check for a value in a supertable field during the for loop: {% for item in craft.products.supertable.lightswitch(1).all() %} {# stuff #} {% endfor %} This returns Impossible ...
KSPR's user avatar
  • 3,786
1 vote
1 answer
415 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 ...
CreateSean's user avatar
  • 1,983