5 Posts
madec
9 years ago
7
Topic

Hello,

I nee a specific field to add multi categorie into my article.

I have create a specific field but when I edit my article, the selected catories don't save.

What's wrong ? the field seem correct. The Joomla categories are displaying correctly in my article, but when I save my article the selection desappear.

Then, I would like to display this field and I would like the categories could be link. (to display the other article)

Thank you for your help.

Magali

 

 

Get a VIP membership
233 Posts
pepperstreet
9 years ago
0
Level 1

Hello madec, would you mind to attach new screenshots? Currently there are small thumbnails only. Or just write down your configuration and setup. Thanks in advance.

153 Posts
Hableur
8 years ago
3
Level 1

Hello, 

I have exactly the same problem. I had created a new field, names categsplus, type categorie. When I put multiple, the categories aren't saved, but if I put not multiple, the choice is saved.

Where is the problem ?

Thanks

153 Posts
Hableur
8 years ago
2
Level 2

Nobody knows ?

178 Posts
Jeka
8 years ago
1
Level 3

Hi.

Can I assign Joomla Articles to multiple Categories?

No, but there are some options to consider....

Possible work-arounds for putting a Joomla Article in more than one category include:

Use tags component.

Use Seblod.

For that you can create select dynamic field with query to show categories tree... but storage of this field must be different from "catid".

In this case you can manage your categories as standart category object. But you can assign articles to more than one category.

For output you can use seblod list and search. Just put this field into search form and set needed id`s of categories in menu override options.

Jeka

153 Posts
Hableur
8 years ago
0
Level 4

Thanks Jeka.

In fact, yes, it'a a way to got this, fine.

But why having a multiple button in field type category if it's does'nt work ? What is it job ?

All the best.

8 years ago
1
Level 1

Hello All,

thank Jeka for your help!


Basically SEBLOD do what Joomla! do, and in this case Joomla! is not multi-categories. So if you store a muli categories field in the colum "catid" it will not working. 

SEBLOD don't hack Joomla!, by cons it add more feature !


So like Jeka said, SEBLOD allow you to manage that by a custom field soted in an other column ( Standard | Article | your_column ).


Regards.

Lionel

153 Posts
Hableur
8 years ago
0
Level 2

Hello Lionel,

if you look after my precedent post with screen capture, you'll see that it is exactly what I did (ok, it's difficult to see because the image is reduced by forum, don't ask me why).

But when creating a field type categorie, there is a button "multiple". Values are stocked in my custom fied when multiple is off, and aren't where multiple is on. 

In fact, the Jeka solution work, that's right, but I like to understand why something is not working ;).

Regards

ps : and categplus field is a varchar(255), not a numeric field, of course.

Get a Book for SEBLOD