Multiple Categories Field

More
11 years 6 months ago #37348 by kspoddar
I was wondering if one could create multiple category fields. Let me give an example of how this could be useful.

I could set "cuisine" as a category. So a user could click on the category "Chinese Restaurant" and could see all the Chinese restaurants in the city.

However, he may also want to see all types of restaurants in a particular location. Thus, if there are two types of category fields then the user can search by either a cuisine category or for a particular location.

This would be a fabulous feature to have

Cheers!
Kirti

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #37371 by ggppdk
Replied by ggppdk on topic Multiple Categories Field
So you suggest, that the categories filter should allow multi-select,
right?

NOTE:
that even if we add multi-selection in categories filter,
it will be applied with OR and not with AND (you need AND right?)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #37376 by kspoddar
Replied by kspoddar on topic Multiple Categories Field
No. I meant it differently. Let me give you a link to explain.

bangalore.hotkhana.com/guide/eat ... ampur.html

Here location bangalore.hotkhana.com/guide/search-by/l...ion/Koramangala.html is a link and if clicked on it it will display all the restaurants available in that location.

One also has the option of clicking on cuisine bangalore.hotkhana.com/guide/search-by/c.../North%20Indian.html to see the various cuisines available in that city.

Hope this explains

Cheers!
Kirti

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #37383 by Rooney
Replied by Rooney on topic Multiple Categories Field
Perhaps I do not understand correctly or I am thinking too simple but why do you not just assign a restaurant to multiple categories?

Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #37404 by kspoddar
Replied by kspoddar on topic Multiple Categories Field
Let me rephrase. Just like we can have multiple fields of the same field type, is it possible to have multiple category fields?

The reason for this ask is that one item could have different attributes. In the case of Eating out, the following attributes is important:

Type of eating out - Restaurant, bar, cafe etc

Location - London East, London West, london North etc

Cuisine - Greek, French, Mediterranean etc

If each of these attribute could be a different category type then this offers a huge advantage for owners of directories.

This is a feature which is available with Moset Tree. Hope this clarifies

Cheers!
Kirti

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #37414 by ggppdk
Replied by ggppdk on topic Multiple Categories Field
I see what you mean

- this is not implemented
- it is possible to implement
- i can see why this is user-friendly !!

NOTE: (as you already know) our current way for handling categories is having a single form field to select multiple categories

so e.g in your case we have

- Type of eating out
-- Restaurant
-- Bar
-- Cafe

- Location
-- London East
-- London West
-- London North

- Cuisine
-- Greek
-- French
-- Mediterranean

What you suggest is to allow creation of multiple category fields, that will
1. display the sub-category tree of a selected top-level category
e.g. in your case, 3 category fields, with top-level categories:
- Type of eating out
- Location
- Cuisine

This will
1. make the category selection more user-friendly
2. force the user to select (thus assigns) the item in each categories section
- Type of eating out
- Location
- Cuisine

-- on item save, the selected categories are saved as normal in the DB (no need to change anything in the DB / core),
-- on item load, the various categories fields will load and show the selected categories in their subcategory tree:
... e.g. field "Location" will show the selected category under sub-category tree: "Location"

Is the above what you have in mind ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.361 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline