8 years ago
5
Topic

Hey guys,

I'm experiencing the following bug:

- Group X with a text field & wysiwyg field.

- If I have 4 groups and delete the 2nd group, the wysiwyg field values cascade down the groups.

- I am on Joomla 3.6.2 and Seblod 3.9.1

For Example:

Group 1 Title
Group 1 WYSIWYG
Group 2 Title
Group 2 WYSIWYG
Group 3 Title
Group 3 WYSIWYG
Group 4 Title
Group 4 WYSIWYG

I delete Group 2, what remains:

Group 1 Title
Group 1 WYSIWYG
Group 3 Title
Group 2 WYSIWYG
Group 4 Title
Group 3 WYSIWYG

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
1
Level 1
8 years ago
0
Level 2

Is it just the naming?  They should be "article_tabs[article_tab_title]" and "article_tabs[article_tab_content]" ?

The link you sent said that WYSIWYG fields won't work, but I've added a lot of content so far with the current set up.  What about the WYSIWYG field won't work in Group X?

If I change the storage, I will then lose all of the data I have already entered?

4229 Posts
Kadministrator
8 years ago
0
Level 1

Hi,

yes you are right, I forgot that WYSIWYG fields won't work in Group X.

Your storages (NOT names) are still set incorrectly, it would work for simple cases but it will fail e.g. when searching. Unfortunately changing storage also means you have to enter data again.

8 years ago
0
Level 1

Thank you very much for the response.

I am confused how my storage is different from the article you sent other than the naming structure?  I am using custom storage.

As far as I can tell I have this:

Group X - custom - "article_tabs"

Text - custom  - "article_tab_title"

WYSIWYG - custom - "article_tab_content"


And the document you sent would say it needs to be set up:

Group X - custom - "article_tabs"

Text - custom - "article_tabs[article_tab_title]"

WYSIWYG - custom - "article_tabs[article_tab_content]"


What else would need to change with my storage to get the Group X working properly?

4229 Posts
Kadministrator
8 years ago
0
Level 1

Second variant is how it should be:

Group X - custom - "article_tabs"

Text - custom - "article_tabs[article_tab_title]"

WYSIWYG - custom - "article_tabs[article_tab_content]"

BUT - WYSIWYG fields still won't work due to javascript problems, I suggest you use textarea instead.

Get a Book for SEBLOD