New field type : user custom

More
9 years 5 months ago #55995 by bendeb
Hello,

Is it possible to implement a new field type based on users choices (choices saved in database, not with cookies).

For example, this "user choice field" is applied to items, and each user can interact with these field, independently.
Imagine you customize this new field type to display a list of state confition for a card/stamp/book/... collection : Mint, Excellent, Poor, Incomplete, etc.
And each user can select the state condition he wants for each item.

So, this new field type could be use to implement a collection system with Flexicontent, with the combinaison of Favorites items function. :)
User choose items he wants with favorites items function, then he goes to My favorites menu item to see his favorites items. And then, he can select the state condition of each of his item.

The field parameters should allow the same functions of "select list" field type in which we can add the different possibles choices.

But this new field type could serve for many applications. Offer possibility to users to interact with a field could be very very nice for many many things. :)

A possibly enhancement of this function should be a text area where each user can add note for this item to describe in detail his collection item.

In this new field parameters, we could choose between select list or text area for example.

Etc.

Thank for your answer. :)

Flexicontent 4.1.0b1
Joomla 3.9.18

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

More
9 years 5 months ago #56001 by ggppdk
Replied by ggppdk on topic New field type : user custom
Hello

so a select OR radio OR checkbox field

that will enable and display other fields ?


-- 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
9 years 5 months ago #56007 by bendeb
Replied by bendeb on topic New field type : user custom
The goal of this field type is to allow users (in frontend item view, not in form view) to interact with this field and, thereby, with the item :)
This field could take the appearance of a select list, a select list multiple or a textarea and so on, each configurable in the field parameters.

And then, you go to an item view, and each user can choose the value he wants in this field. The selected value have to be stocked in the database (each entries matching with users ID of course).
It surely work as the favorites field type : each user can choose the items he wants to his favorites : so he can interact with the item, and his choice is stocked in the database.

So you can add multiple functions with this simple new field.
For me, it will serve to make a collection system, where each user can choose the state of their book (select list appearance), add a supplementary note to describe in details his book (textarea appareance), download his proper photo (download file appearance), etc. And each user could do that :cheer:

Flexicontent is already the best component ever, but with this enhancement, it will become...
... I found no word to describe what he will become :woohoo:

Flexicontent 4.1.0b1
Joomla 3.9.18

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.449 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