PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Reusing Paging functionality from admin side

  1. maharzan
    Member

    Hi there again,

    So, I am trying to convert Gravity Forms to a full fledge database management app with few changes. I have been successful in searching, advanced searching (multiple data) and also listing the data. Now, just need to figure out how to apply paging to these data. This is basically moving the admin ENTRIES to the client side. If anyone has any idea on reusing the paging functionality from the entry_list.php to the client mode, please please suggest. I am going to try custom paging code for now but if it can be reused, it will just save so much coding. :)

    Thanks for looking.

    Posted 14 years ago on Wednesday August 4, 2010 | Permalink
  2. You will have to reverse engineer the paging code from entry_list.php if you want to do this. Will probably take a lot of tweaking to get working.

    Just remember not to modify the Gravity Forms core files themselves as any changes will get overridden by a plugin update as it replaces all files with the new plugin files. Also keep in mind you may need to make tweaks to your code when we release an update if we add new features, etc. such as new fields types.

    Keep that in mind going forward when we release updates.

    Posted 14 years ago on Wednesday August 4, 2010 | Permalink
  3. maharzan
    Member

    Yep Carl, I do understand that as I, myself, am a theme developer, I say that all the time.. :D

    I made this work separately so no changes to the file. There is a slight change I made on form_model.php for searching multiple queries, doesn't change the function parameters but will have to add few lines of codes inside the get_leads function. I might make a separate plugin or perhaps if you guys see this as a potential, you could add it in your files too. :)

    Thanks.

    Posted 14 years ago on Wednesday August 4, 2010 | Permalink
  4. gmcalp
    Member

    maharzan, how exactly were you able to list data from entries? i've been trying to get that done for a while now (not the best at PHP, but i'm trying).

    could you email me: geoff.mcalpin {at} gmail {dot} com to possibly help me work through the problem? i have a page that i was using (that i put together myself ) for the website i'm working on, and would like to modify it to work with Gravity Forms entries.

    Posted 14 years ago on Tuesday August 24, 2010 | Permalink