Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: piklist_save_field-{scope} seems to have changed in 0.10 #8870
    johnvanham
    Participant

    Oops! I was going to but thought that because it was more of a question that it should go on here. I will put that on there too. Thanks!

    in reply to: Validate empty field #7712
    johnvanham
    Participant

    What I’m running into is line 686 in the Piklist_Validate class (version 0.9.9.9) which checks whether the field has a request value before calling the custom callback function (if one is set). Is there a reason this check is needed?

    in reply to: Embedding a form in an admin page #7598
    johnvanham
    Participant

    Hi @jasontheadams

    Yes that’s right, and no issues were experienced with using Bootstrap on the admin-side until I tried to use the Piklist form on the admin-side as well.

    I’ve worked around it by only queueing up Bootstrap when I need it which is not when the Piklist form is in use. And this also avoids it loading for most of the admin area of WordPress as well.

    I’ve used Datatables with the Bootstrap theme for listing data which comes from a historical data structure, one such table has currently about 60,000 records – all loaded with paging via ajax, with column ordering and searching which Datatables handles beautifully and really quickly. Obviously we’ve not used Piklist for the data handling but we are using Piklist for fast development of the forms used across the site. We’re using a custom scope to manipulate the data since none of the data is stored using WordPress’s data structure. WordPress is acting as the CMS for the rest of the site besides the specific business logic our client needs.

    So on the frontend, Piklist is used for submitting data using various forms including customer data which is then sent to a payment gateway. On the admin-side, the data is shown via Datatables then when a record is selected the data is loaded into the same Piklist form (with some extra fields and options available to the admin).

    We would have probably used Piklist in the standard way if it hadn’t been for this client having had a previous website with a custom data structure.

    It’s all working well, I was just thrown by the forms not displaying correctly on the admin-side to start with.

    Thanks for replying! 🙂

    in reply to: Embedding a form in an admin page #7492
    johnvanham
    Participant

    Turns out it is because I’m using Bootstrap 3 for various other parts of the backend. The Piklist form has a ‘hidden’ class which bootstrap hides. So it was there, just hidden!

    Is there a way to prevent this from happening?

Viewing 4 posts - 1 through 4 (of 4 total)