Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 10-16-2005, 07:51 AM
civicy2k Offline
forum loafer
 
Join Date: Oct 2005
Posts: 4
Question Comment section edit

Hi all (again),

I have been trying to figure out how to edit the comment section. When someone left a comment, it shows the comment, name @ date by default. How could I change that? for example:
Name:
URL:
Comment:

etc............
I just couldn't find the tag to edit.
Appreciate if anyone could help!
Reply With Quote
  #2  
Old 10-16-2005, 09:09 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
in functions.php have a look at

PHP Code:
        $image_comments .= "<li>".nl2br($comment_message)."<br />$comment_name @ $comment_datetime</li>"
you can edit this line to alter the layout on your comments page.
Reply With Quote
  #3  
Old 10-16-2005, 05:23 PM
civicy2k Offline
forum loafer
 
Join Date: Oct 2005
Posts: 4
Question

Joe,

Great! Thanks a lot. I would never think of this function.php contains those code. I also spot the sort by order is asc and I changed it to desc

Thanks
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 04:11 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs