| Post |
|
New Member | Number8 posts 2 5:17 pm February 19, 2009
| |
|
|
cFormsII 10.3.
is there a way to allow a user to download the db, or (even better) run a particular query and get the results? I would like to put that capability on a password-protected page, instead of giving a user admin rights to the site to get to the cForms tracking page…
Currently, I have a page that displays the results of a query, but I would rather have those results downloaded in CSV format.
Thanks for any tips…
|
|
|
Admin
| Oliver Munich, Germany posts 6237 7:29 pm February 20, 2009
| |
|
|
Yep, see the help! page re: API call & examples. There are also a few threads in this forum with code examples…
|
|
|
|
|
Guest
| Number8 11:15 pm February 20, 2009
| |
|
|
Thanks, get_cforms_entries() was just what I needed.
Could you point me to the cforms module that downloads the db so maybe I could reuse some of it?
|
|
|
Member | maidanet posts 10 1:49 am February 21, 2009
| |
|
|
I'm very interested in your solution.
From a different approach, I have been working on using Role Scoper to allow my editors to view/download the db.
|
|
|
Admin
| Oliver Munich, Germany posts 6237 12:19 pm February 21, 2009
| |
|
|
check lib_aux.php
also, the future roadmap holds individual form specific access rights (roles) for users to allow more granular access control to the tracking page.
|
|
|
|