lonetour Posted yesterday at 11:25 AM Posted yesterday at 11:25 AM I have a field, Recording Type, which can with be "Straight through" or "With pauses". I'll definitely never need a Page to show these, so I Just want them to be a Single Select, one or the other. In the Add New Field > Type I have Selector Select options but they are both inactive and under the heading "Not yet installed". There is no listing of them in Modules > Core My Ai is telling me that I should use Selector, and that it's there in the list, but it's stupid and doesn't understand that it's not active. This is such a basic thing, and I'm just lost...
pideluxe Posted yesterday at 12:37 PM Posted yesterday at 12:37 PM Hello lonetour, just use the Options-fieldtype as described here: https://processwire.com/docs/fields/select-options-fieldtype/ There are other ways to achieve this, but for your case, it should be fine. Greetz pideluxe
virtualgadjo Posted yesterday at 12:47 PM Posted yesterday at 12:47 PM hin that sounds a little curious, maybe if you don't need a page to show it, you'll definitely need a "page" (even cahced) with a template (can be a template withour file) to use a field, have you got one ? the idea is quite simple, if you need a select you'll probably use it in a way or another and a field has to be used in a page but don't be puzzled by that page thing, just remember that everything in pw is... a page, the pages you create in the admin are not necessarily used on the front end, you can (i often do that) create one that will just be a data storage edited to say: you can also add this select field in a page you'll use on the front-end, it doesnt mean that it will be seen on the website, remember that when you use $page->somefield(->id or else) it just mean that you're getting the data returned by the, not that you're displaying it with an echo, in pw you"re the one who decides what you do with your data it is not a wp template 🤣 in case it helps 🙂 have a nice day
lonetour Posted 22 hours ago Author Posted 22 hours ago 1 hour ago, pideluxe said: Hello lonetour, just use the Options-fieldtype as described here: https://processwire.com/docs/fields/select-options-fieldtype/ There are other ways to achieve this, but for your case, it should be fine. Greetz pideluxe Unfortunately, FieldtypeOptions does not exist in the drop-down menu. Quote Install the Select Options Fieldtype module, if it is not already installed. Do this by going to Modules > Core > Fieldtype > Select Options (or from the drop-down menus: Modules > Install > FieldtypeOptions). If you don't see it, you may need to first click on Modules > Refresh, and try again. Also, "Set Options" is "Not yet installed" and inactive Quote Create a new field (Setup > Fields > Add New) and choose "Options" as the type. So while this would be ideal, I just can't get it to work...
virtualgadjo Posted 22 hours ago Posted 22 hours ago hi, if it is not installed, its' quite simple, in the admin just go there and install it, problem solved a few seconds later good to know; it the same for a lot of core modules that are not installed by default like those you see in the image and a lot more, it keeps you pw lighter but there are here if you need them have a nice day 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now