Recent Topics

1 Jun 20, 2005 02:01    

hi!

I would like to have a link next to each comment so i can delete them directly when i'm logged in as admin.

I did the same with the posts like this in the _main.php


<div class="bSmallPrint">

<?php $Item->feedback_link( 'comments' ) // Link to comments ?>
<?php $Item->feedback_link( 'trackbacks', ' &bull; ' ) // Link to trackbacks ?>
<?php $Item->feedback_link( 'pingbacks', ' &bull; ' ) // Link to trackbacks ?>
<?php $Item->edit_link( ' &bull; ' ) // Link to backoffice for editing ?>
<?php $Item->trackback_rdf() // trackback autodiscovery information ?>
<?php $Item->delete_link( ' &bull; ', ' ', '#', '#', '', false ); ?>

</div>


so it ends up like this:
1 Comment • Edit • Delete

but i couldn't make it work the same way with the comments in _feedback.php
could anybody help me with that?

roman

2 Jun 20, 2005 08:44

<?php $Comment->edit_link( ) // Link to backoffice for editing ?>
<?php $Comment->delete_link( ) // Link to backoffice for deleting ?>

3 Jun 20, 2005 19:18

thank you, it did work :D

btw: can i set that if a user wants to write a new post he directly goes to the write page of the one certain blog (his own) where he has writing rights no matter which one he's looking at atm in order not to see the "access denied" page?


Form is loading...