I am looking to change the location of the preview comments so that rather than appearing underneath the published comments it appears underneath the comment form.
It's pretty straightforward if you know a little PHP.
The ID of the previewed comment is $filosofo_cp_class->preview_comment_id
so you would set up your comments.php template to check for a comment with that ID, remove it from the normal comment viewing area, and have it appear below the the comment form.
I am looking to change the location of the preview comments so that rather than appearing underneath the published comments it appears underneath the comment form.
Any ideas how? Thanks
It's pretty straightforward if you know a little PHP.
The ID of the previewed comment is
$filosofo_cp_class->preview_comment_idso you would set up your
comments.phptemplate to check for a comment with that ID, remove it from the normal comment viewing area, and have it appear below the the comment form.Sorry I'm a bit clueless with php - I guess this would be a if / else if tag but could you give any more pointers? Thanks
RSS feed for this topic
Reply
You must log in to post.