ranone
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] Auto delete record older 48hHi,
writing some custom code, I saw that the fields deleted from the back office are actually still present in the database (mysql, access with phpmyadmin)…Is there any way to clean up these ghost fields?
Tks
Forum: Plugins
In reply to: [Participants Database] Auto delete record older 48hTks for your reply @xnau!
Which way is the correct one to delete a record and all its dependencies of a PDB record in the database? including linked upload files…
Regards
The fields are included because they are shown according to user choices on select with conditional logic..
Do you think there is a possible way?
Forum: Plugins
In reply to: [Participants Database] Getter for form element title/value titleSimply fantastic!!
- This reply was modified 4 years, 5 months ago by ranone.
Forum: Plugins
In reply to: [Participants Database] Record page as Signup thanks pageThe
Participants_Db::$session->record_id();return a bool false value in the signup thanks page..I’m investigating to the best way π
Tks for now
Forum: Plugins
In reply to: [Participants Database] Button “send & lock” editing recordThanks anyway, now I will look for public methods in the plugin code that I can use to succeed π
Forum: Plugins
In reply to: [Participants Database] CSV export customizationI pass the result of the pdb_get_group_fields() function which I have verified to be an array…
This array is correct as result extrapolated from database.
The file CSV returned by csv_export_form() function is however incorrect because it shows fields not passed to the export_fields parameter..
- This reply was modified 4 years, 5 months ago by ranone.
Forum: Plugins
In reply to: [Participants Database] CSV export customizationFrom a further check I have found that the result of the query on the database is correct.
The problem is when I pass this result to the csv_export_form() function in the export_fields parameter.
The result in the CSV strangely includes other fields from other groups … I am doing some further testing, but it’s very strange…
Is there a way to clean cache in pdb-list template before include csv_export_form() function?
Tks
- This reply was modified 4 years, 6 months ago by ranone.
Forum: Plugins
In reply to: [Participants Database] CSV export customizationI’m sorry, but the $fields_table variable what should it be?
In the CSV export I have fields that seems to be cached from previous queries… Is there any way to reset and perform a new query?
Tks a lot
- This reply was modified 4 years, 6 months ago by ranone.
Forum: Plugins
In reply to: [Participants Database] CSV export customizationHi,
is there a method that gives me the names of all the fields of a group in a simple way?Forum: Plugins
In reply to: [Participants Database] CSV export customizationTks @xnau for your reply..
For the CSV Export I pass in the frontend template with csv_export_form() function, is there a possibility to write something here? (Not in back office interface)
Then I have another connected question…
In the csv_export_form() function I really need to pass groups names instead of fields names (for example export_groups instead of export_fields).
Is it possible to do a hack?
Listing all the fields is impossible for me because I have available only a variable that I can use which is the group name…
Tks a lot
Forum: Plugins
In reply to: [Participants Database] Get record object in function.php fileHi,
the “Participants_Db::get_participant_id” didn’t work for me with $private_id, so I used this approach:$record_id = Participants_Db::get_record_id_by_term('private_id', $_GET['pid']);Not the best, but this works for me..
Tks a lot for all @xnau!
- This reply was modified 4 years, 7 months ago by ranone.
Forum: Plugins
In reply to: [Participants Database] Get record object in function.php fileHi @xnau,
I’ve the private_id (not the record id) as available variable.Can I use it in any way?
Tks
Forum: Plugins
In reply to: [Participants Database] Get record object in function.php fileHi @xnau, thanks for the reply.
I don’t have to use it at the template level (ok for that use) …
I would like to know if there is a static getter method to get the current record inside the function.php file in my child theme.
Regards
Forum: Plugins
In reply to: [Participants Database] Get record object in function.php fileTks @xnau for your reply π
I have created many groups in the “Database Fields Management” section and after I have created also a select field with values ββthat have the same name of the groups.
When I go to the edit page ([pdb_record] shortcode), I would like to display only the group that has the same name of the value of the select field by means of the attribute of the pdb_record shortcode (groups=””)..
I don’t know if that is how I explained myself better..
Tks