brockpetrie / dynamictextgroup Goto Github PK
View Code? Open in Web Editor NEWA Symphony field that provides a method to dynamically add a text field or text field groups to a section entry
A Symphony field that provides a method to dynamically add a text field or text field groups to a section entry
SELECT SQL_CACHE
e.id,
e.section_id, e.
author_id, UNIX_TIMESTAMP(e.
creation_date) AS
creation_date, UNIX_TIMESTAMP(e.
modification_date) AS
modification_dateFROM
sym_entriesAS
eLEFT OUTER JOIN
sym_entries_data_93AS
ed ON (
e.
id=
ed.
entry_id) WHERE 1 AND
e.
section_id= '18' ORDER BY
ed.
value asc LIMIT 0, 1
When trying to navigate to the section with this field.
This is using the development branch of the extension.
Has anyone ever attempted to add textarea as a field option here?
Would be cool addition to list of field types.
INSERT INTO
sym_fields_dynamictextgroup(
field_id,
allow_multiple) VALUES ('45', '1')
Getting the above error message while trying to save a section containing 1 dynamictextgroup field... not preferences, just purely trying to save the section.
Nevermind, I was having a slow moment.
You have set the schema
row to be a varchar
with a limit of 5000 characters but varchar
can only ever have 255 chars in MySQL, to my knowledge anyway. If you change it to be a text
type instead, then it shouldn't be an issue.
I was creating DTG fields with 4-5 fields within, but because of the varchar restrictions it was cutting off half the schema.
It seems like it's not possible to edit multiple instances of this field in the section editor. The editor only works for the first field in the list. The other fields just show an empty stage and a Add field
button that won't react on click.
When entering wrong data in a textfield with a validation rule – like number
– the field highlights all textfields in that column. I'd expect that it only highlights the ones that actually contain errors.
INSERT INTO sym_fields_dynamictextgroup
(field_id
, allow_multiple
) VALUES ('77', '1')
Getting this error on a 2.3.1 install.
Hey Brock, Trying this out on a local install, 2.2.3 and dev branch of extension.
I checked the required field for the extension and whenever I add new text group and click save, it says that my field is Required... but it's not empty, so shouldn't error.
See screen grab of what I see when I try and save: https://dl-web.dropbox.com/get/Public/Screen%20shot%202011-09-17%20at%2012.22.21.png?w=c56465e7
I'm using the select field for manual Yes, No drop down options and a textfield for the entry text.
If you go into the section editor and save it, with or without changes, the widths of the fields within the DTG screw up. The first one becomes a negative value in the hundreds, normally around -900 for me. While the rest become massive positive values, normally all of which are over 1000.
Then when you try and drag them back into place, they don't move.
The only fix is to alter the DB directly.
Oh and this is on your development branch too.
As the title suggests, the 'Add field' button doesn't seem to work on 2.3.2. It causes the page to reload, so it;s triggering something, but nothing actually happens.
No console errors before the refresh to report.
This is using the development branch of the extension.
Hi Brock,
Been playing a bit more and discovered that if my field is a required field and I set the validation of a field to numeric, I can't save the section due to "0" not being validated as a number.
Basically, trying to build a Quiz and have all fields with no value have a count of zero. If it's a positive value, all is well.
I'm not too hot on regex so woudln't know where to begin there.
Is this something you've encountered yet?
Hi mate — is the development branch going to be for 2.3 compatibility? I've got a need for this field on a 2.3 project. Should I use the development branch? Apparently you may not need Stage any longer, using duplicator instead?
/cc @nilshoerrmann
There is a reference to a missing https://github.com/brockpetrie/dynamictextgroup/blob/development/fields/field.dynamictextgroup.php#L188
When you create a field all is good, When you edit a section with dynamictextgroup field the error in layout occurs. When I inspect element I noticed that a reference to the missing script came up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.