+ Reply to Thread
Results 1 to 10 of 11

Thread: Select Menu Fields...

Hybrid View

  1. #1
    Pete,

    I have found out how to do what I wanted. It was as simple as editing the field.tpl file to add the disabled option to the select menus on the post ad page.

    See the screenshot I attached, shows admin panel listing fields, I highlighted the field name field simply because what I done was used that to achieve what I wanted.

    No need to remove the old admin function as I described, it's probably more trouble then it's worth to do which I stated in the first post was to remove part of the original customization, the placeholder for the select menus. The text boxes are great, no problems there, it's just that adding a placeholder in the admin area for select boxes (drop downs) seemed great, and it is setup to do that, but I didn't know that if you added text into that placeholder text field for drop downs in the admin panel for listing fields, the placeholder text doesn't show. That's ok though, because for the drop downs, I have used the disabled option for select menus (field.tpl). So for example, the activity type field name will just say Activity Type for the name, and when viewed on the post ad page, the Activity Type text will be disabled, so it cannot be selected in the menu (that's how all select menus appear now). Hope that clarifies what I wanted to do.

    Brian

    Now to explain this better, i wanted
    Quote Originally Posted by Pete Young View Post
    Brain a listing field name does not go in with the listing field as a name, listing fields are named separate. You should not be adding the field names to the list of names. Somehow you seem to be overcomplicating the simple here?
    Thank you - Your Welcome
    Brian

  2. #2
    Sorry forgot the attachment:



    Update: That field name: Activity Type is a disabled option in the post ad page for community -> activities category. Also, after editing the field.tpl file adding only the option disabled to the select menu, it works for all select menus that I want.

    Update 2: It's working for Community, Fashion, Pets and any other categories (on the post ad page) I add a drop down menu field to.

    This was actually worth adding because it seems if the user clicks the drop down, and you see activity type (for example) and it's selectable, like it was before this change, it's possible someone could submit the listing with Activity Type as the option, which is not good.

    Brian
    Attached Images Attached Images
    Last edited by Brian Jester; February 24, 2021 at 02:59 PM.
    Thank you - Your Welcome
    Brian

  3. #3
    Keep detailed records of all your changes in case there is a new software release.

+ Reply to Thread