Text field as List, and "Individual layout" purpose clarification

More
6 years 2 days ago #7701 by Davide
Hello, first of all thank you for your great work!

I have the need to represent a "text" field type into a list of the possible values this text field takes: as an example, I have a list of books each one with its author that is inserted in a text field, but I would like the filter to appear as a list of the authors of all the books, instead of an empty text field that the user has to fill.
I think this could be a common request but I understand is not offered yet in the component so I'm ready to do the needed tweakings to the code (get the authors querying the database and fill the list). Any help is anyway appreciated on how to accomplish this task.

For this I am wondering if the "Individual layout" setting on fields can be used; I couldn't find any documentation about it.
At the moment, if I have a text field and I select list as Individual layout, the field just disappears. Maybe with this setting I would be able to program a specific behaviour for that text field, like showing itself as a list like i mentioned before? And if yes, how to use this "Individual layout" setting in order to have a personalized behaviour/appearance for a field?

btw, I am aware of layout overriding possibility but this doesnt work in my case since this "list" field instead of text has to appear just for one specific category and not for all the text fields of the website.

Thank you so much for the help in understanding how to correctly use this component settings. :)

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

More
5 years 11 months ago #7724 by Davide
Nothing? Any hint for using the "Individual layout" setting since is not documented at all?
thank you.

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

More
5 years 11 months ago #7726 by JoomLine

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

Powered by Kunena Forum

Last from the forum

    • Users view page
    • The includes a variety of options, from their famous Chicken Sandwich priced around $4.99 to family meals starting at $17.99. Combos like the 2-piece chicken combo are available for about $6.99, and sides like Cajun Fries and Mashed Potatoes range from $2.49 to $4.99. Desserts like Cinnamon Apple Pie and Strawberry Biscuits are priced between $1.79 and $3.79. Popeyes offers plenty of value, whether you’re grabbing a quick bite or feeding a family.
    • In Component / Slogin
    • Pcgamegirl
    • Download free PC games and torrents in a highly compressed format. Access a vast library of Steam PC games with direct download links for an unparalleled gaming experience. www.pcgamegirl.com 
    • In Modules Joomline / Other modules
    • The garden seemed to have a magical quality that m...
    • One day, a curious boy named Sam moved into the house with his family. As he explored the property, he noticed a rusty, old key lying under a bush. Sam picked it up, wondering what it might unlock. After searching the house and finding nothing, Sam decided to try the key on the garden gate. To his surprise, the key fit perfectly. With a turn of the key and a creak of the hinges, the gate slowly swung open. Inside the garden, Sam was greeted by a sight of wonder. The garden was overgrown but full of vibrant flowers, exotic plants, and a small, sparkling pond. In the middle of the garden stood a beautiful stone statue of a unicorn. As Sam explored further, he discovered a small plaque next to the statue. It read: "To whoever finds this garden, may you always find joy in the beauty of nature and the magic of discovery." Sam spent hours in the garden, exploring every corner and marveling at the hidden beauty. The garden seemed to have a magical quality that made Sam feel at peace and incredibly happy. From that day on, Sam made it a habit to visit the garden every day, taking care of it and sharing its beauty with his friends and family. The once-forgotten garden became a place of joy and wonder for everyone who visited. And so, Sam learned that sometimes, the greatest treasures are not just the secrets we uncover but the beauty and joy we find in them.
    • In Component / Afisha Joomla
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.