hi xnau
thanks a lot. great plugin by the way. i read it but i don′t have a lot of time and i have to say “i don′t get it”.
i made a folder “templates” in my “theme” folder. copied pdb-list-default.php to this folder. also did the edit_link field and put in the link area “$record->get_edit_link()”
i also changed this in the pdb-list-default.php
—————————————————
<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
/*
* put the edit link URL into the link property of the field
*/
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>
—————————————————
i have no link in the Edit field on the frontend. do u think u can have a look on it? i could send u the login details.
thanks a lot for your help
chris