11 years ago
10
Topic

My title says it all.  I have no idea what those two fields are for?

Get a Book for SEBLOD
11 years ago
1
Level 1

I haven't used group x but field x is very useful.  Field x allows you to have repeatable fields on the fly. For example if you wanted the user to be able to upload 10 images without having to have 10 different image fields.  So here's an example, you create your image field and the name is image_upload for example. You then create your field x and you put image_upload in the *field section. Now that field is repeatable for the user by simply clicking on the "+" button on the site form/admin.

11 years ago
0
Level 2

Llyod, do I even need to say it again?  It seems these forums have become a conversation between you and I. LOL.  That IS a pretty cool feature. Sad that there is no other documentation on it.


11 years ago
0
Level 1

Hello,

thanks Lloyd, it's that.


A GroupX do the same as FieldX, but for a group of fields.

In your example, if you want to add a description with each upload image, you must repeat this 2 fields.

So for that, you must create a SEBLOD content type with the 2 fields (image + description).

Then in your principal content type, you add a GroupX field, in which you set the name of the previews group.


Important, for both, FieldX & GroupX must have the storage "Custom" like that :

" Custom | Article | name_database_column[ field_name ] "


Best regards.

Lionel

RD
11 years ago
1
Level 1

Thank you Lionel and Lloyd !!! 

I too wasn't sure how Field X worked either.  Awesome feature.  I tried a demo.  Works on the front end.  But when I look in the database I see in the fieldX:  image_loads

<br />::image_uploads::2::/image_uploads::<br /><br />::image_upload|0|image_uploads::images/53/comingsoon3.jpg::/image_upload|0|image_uploads::<br />::image_upload|1|image_uploads::images/53/comingsoon.jpg::/image_upload|1|image_uploads::<br />

Here's a screen shot.

The images uploaded to the folder on the server correctly.  What am I doing wrong here?

11 years ago
0
Level 2

Hello RD,

What am I doing wrong here?



Nothing, all is good. It's simply the SEBLOD custom storage. It use some tag around the value to store more than 1 form field in 1 database field.


Best regards.

Lionel

RD
11 years ago
2
Level 1

That's a bummer when it comes to exporting to csv

572 Posts
_jrmo
11 years ago
1
Level 2

RD, it is, kinda. But you can do some simple manipulation in Excel to remove the tags and just end up with your values.

572 Posts
_jrmo
11 years ago
0
Level 3

Maybe the new Seblod Exporter plugin (available on the store) exports Group X and Field X nicely? I haven't tried it but maybe it will work?

RD
11 years ago
0
Level 1

_jrmo

You're right about manipulating the data in Excel, but if you have a couple hundred rows...

I've tried the new Seblod Exporter - same result.

BTW,  great videos and book !  It really helps getting started with Seblod.  THANKS!!!


RD

10 years ago
0
Level 1

It would be nice for the storage of collection field (group/groupx/fieldx) to be in separate tables (jos_cck_store_form_......), and then have it linked to its parent content type using the jos_cck_core table.

Storage location could be 'cck_collection' and 'parent_id' the id (pk) of the containing content type item.

Yes, maybe an additional storage location plugin for collection fields ?

Get a Book for SEBLOD