Moving the comments box? Moving the comments box?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Moving the comments box?

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

Previous topic - Next topic

0 Members and 1 Guest 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.