Moving the comments box? Moving the comments box?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Moving the comments box?

Started by chris55, September 02, 2007, 02:18:39 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

chris55

Hi, I'm interested in shuffling some of the items in my display around. I've done quite a lot of alterations to the code, which means when I searched for this on the forums I just got a response indicating line numbers that are now meaningless to me.

Basically, in the image view section, I have Casper's PayPal mod activated and I have 'comments' and 'add a comment' boxes, all of them below the image/video being viewed. I want to completely reverse the order of this, so below the image is the PayPal mod (currently at the very bottom) and then below that is the 'add comment' box, and below that is all of the comments that have already been added. I'm just not sure what I need to cut and paste around, so if someone could point me in the right direction it would be greatly appreciated.

Nibbler

You can switch the comments around in theme_html_comments() in your theme.php. Move the whole add_your_comment bit up to the top of the function before the main while loop. I don't know how the paypal mod works. It would probably be helpful if you provide links to relevant mods and attach your theme.php.

chris55

Link to Casper's mod - http://forum.coppermine-gallery.net/index.php?topic=26454.0

The code should all be in the theme.php text file I've attatched. I've had no luck modifying it myself tho.