• Resolved blobbi

    (@blobbi)


    Every time I update wordpress my editable fronted link disappears. It has done again today.

    How do I get around this?

    This time I am unable to get the link to work again. I have followed advice from here and here but to no avail:

    https://ww.wp.xz.cn/support/topic/edit-records-in-frontend-pdb_list
    http://xnau.com/adding-an-edit-record-link-to-the-frontend-list/

    Any ideas on how to fix it and to stop it continuing to break? I have the following in my php-list-default.php file

    <tbody>
    <?php while ( $this->have_records() ) : $this->the_record(); // each record is one row ?>
    <?php $record = new PDb_Template($this); ?>
    <tr>
    <?php while( $this->have_fields() ) : $this->the_field(); // each field is one cell ?>
    <td class=”<?php echo $this->field->name ?>-field”>
    <?php
    if ($this->field->name == ‘edit_link’) {
    $this->field->link = $record->get_edit_link();
    }
    $this->field->print_value();
    ?>
    </td>
    <?php endwhile; // each field ?>
    </tr>
    <?php endwhile; // each record ?>
    </tbody>

    https://ww.wp.xz.cn/plugins/participants-database/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Editable front end link’ is closed to new replies.