9 Posts
martymo
11 years ago
7
Topic

Hello,

I'm new to Seblod. But after a few houres really love it. 
For a traveling agency I'm making a form to fill in the different holidays they offer. A lot of holidays work with days. For instance 'day 1' wit the  activities done that day. Than 'day 2' and so on. Is there a way to let the user add more days. Something like a button with 'add a day'

Or do you have to be a programmer to maken this happen?

Regards,

Martijn

Get a Book for SEBLOD
11 years ago
1
Level 1

Hello martymo,

welcome on SEBLOD.


For doing what you need you could use a fieldX or a groupX to be able to add x time a field or a group of fields in a form.


Best regards.

Lionel

9 Posts
martymo
11 years ago
0
Level 2

Hello Lionel,

Been trying out, but don't get it. What I want is add new 'days'. I saw indeed that adding a Group X or field X gives me the option to add something. So what I wanna achieve is, when I click the 'plus' sign. I get a new textfield (with editor).

Could you please help me on the way on how to get this on track? 

I can't figure it out with the documentation. 

9 Posts
martymo
11 years ago
4
Level 1

screenshot

I just can't figure it out. Please help me out. See above link to screenshot. When I create this Field X, that should do the job right? Than if I make a new article you should be able to add more fields? 

11 years ago
3
Level 2

Hello,

custom storage must be like that :

Custom  |  Article  |  database_field_name [ field_name ]

The custom storage could be used not only in introtext but everywhere, so for you, it could be :
Custom  |  Article  |  optionals[ optional ]

often, i put the name with "S" for database column name, and without "S" for the name.

Regards.
Lionel

9 Posts
martymo
11 years ago
2
Level 3

Thank you. Didn't work though. It's also confusing. In the documentation it says: "Please note, use only the storage "custom, Article, introtext" for the field "fieldX"." Or is it my lack of english and does "introtext" mean it could be anything?

Anyway, I'm on a dead track :(

Stil no fields showing up in when adding an article in the backend.

11 years ago
1
Level 4

Hello,

you say:

It's also confusing. In the documentation it says: "Please note, use only the storage "custom, Article, introtext" for the field "fieldX"."




it's written:

Please note that: introtext in Articles and description in categories should be set in custom format, because it stored integration element for seblod 2.x



this means that if you want to store in the introtext database field, you must use the custom storage. But this don't mean, all your custom field must be stored in introtext.


each field could be store in a new column in database, and if you use the custom storage, use the syntax i describe in my previous answer.

you say:
Stil no fields showing up in when adding an article in the backend.



with the storage you use "custom | article | introtext" you have erase the ID that SEBLOD store in introtext to make integration with Joomla!, so it's normal that nothing work.
Just put the good storage for your fields and it will work.


Regards.
Lionel
9 Posts
martymo
11 years ago
0
Level 5

I'm starting to feel like an idiot (maybe aiming to high)

But stil no music...

The setting underneath should are still not getting me results. Checked database as well. Nothing was added.

http://www.pixelwebdesign.nl/scherm2.png

Get a Book for SEBLOD