Edit records in frontend [pdb_list]
-
Hello,
I’ve already found an old topic concerning this option/problem.
Click here to see topicThe solution at that time (1 year ago) was:
Hi Sev,
I hadn’t thought to make this possible, but you could modify the main script to print the private id on the frontend.
In participants_db.php on line 565 find:
if ( $set == 'admin_column' && self::$plugin_settings->get_option( 'show_pid' ) ) $column_set[0] = 'private_id';
change this (to disable the backend check) to this:
/*if ( $set == 'admin_column' && self::$plugin_settings->get_option( 'show_pid' ) ) */ $column_set[0] = 'private_id';
Now [pdb_list] shortcode will publish links to the record edit page for each record listed.
But i can’t find where te edit the code so that ‘edit’ links are included at the [pdb_list] pages.
Can someone please help me?
- The topic ‘Edit records in frontend [pdb_list]’ is closed to new replies.