Tagged: , ,

Viewing 7 reply threads
  • Author
    Posts
    • #243
      Jason Lane
      Member

      I’ve just started experimenting with Piklist, and I’m quite impressed so far. I’m quite sure I’ll be adopting the framework for my future projects.

      One thing I’d like to suggest is using jQuery tabs to implement the tabbed layouts for Settings sections. To me, having tabs that load as individual pages (http requests) is not much more useful than making them sub-menu items. When I group settings fields into tabs, it implies a closer relationship between the fields, and I prefer that switching between the tabs is instantaneous, and clicking the ‘Save’ button saves all the settings across all the tabs. I’m used to seeing this behavior in other plugins/themes, and I do the same in my own. I just think it makes more sense and is more effective. Just my personal opinion, of course 🙂

      Keep up the great work!

    • #245
      Steve
      Keymaster

      @jason_lane– Thanks for the suggestion. Piklist currently uses the WP Settings APi which doesn’t support jQuery UI Tabs. We think using the WP API makes the most sense and provides the most consistent user experience in WordPress.

      However….

      We’ll keep it on our list of possible additions because it’s an awesome idea!

    • #248
      Jason Lane
      Member

      Actually, the way I do it also uses the WP Settings API. I just have to insert some extra HTML and JS to allow jQuery tabs to work.

      After my last post, I decided to go ahead and see if I could implement it with Piklist, and I managed to get it working quite nicely 🙂

    • #249
      James Mc
      Member

      @jason_lane: Post an example so we can see how to do this 🙂

    • #251
      Jason Lane
      Member

      What’s the best way for me to post an example? The changes require a couple dozen lines of code over a few files.

      I’m cleaning up a couple of bugs right now, but should them fixed soon.

    • #252
      James Mc
      Member

      @jason_lane: I am not too sure of the best way to post an example. This forum is fairly new and I expect the Piklist community will grow over time. May you could link to a blog post of your own?

    • #253
      Jason Lane
      Member

      Writing a blog post to describe the changes might be complicated, and I’m not sure it would be worth it. For now, you can go here to see a demo and a zip file containing the changes: http://demos.point0.com/piklist_tabs

      I’ve also put a diff of the changes onto pastebin. The diff is against vs 0.6.5 of Piklist. http://pastebin.com/vF99i3hx

    • #254
      James Mc
      Member

      Awesome, thanks.

Viewing 7 reply threads
  • You must be logged in to reply to this topic.