Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Would appreciate some help! your expertise required  (Read 3594 times)

0 Members and 1 Guest are viewing this topic.

kevdsn

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Would appreciate some help! your expertise required
« on: May 12, 2005, 09:17:54 pm »

Hi, I have recently added the paypal shopping basket to my theme hardwired, all is working fine except that the "view basket" and "buy now" buttons are out of line and ugly, can anyone please tell me how I need to alter the code in the theme.php file so that I can position the buttons in the right place, or at least align the "buy now" button with the rest of the row. Also the buttons dont fit with the theme very well any advice on how to change them is appreciated. I am a newbie at this and have little understanding of php, so please be gentle. Many thanks in anticipation.

This is the code form the start of the theme.php file as it stands at the mo. The site is at www.magicimage.co.uk/cpg133/index.php

Code: [Select]
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 Gregory DEMAR                                     //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// (http://coppermine.sf.net/team/)                                          //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
// ------------------------------------------------------------------------- //
// CVS version: $Id: theme.php,v 1.10 2004/09/21 23:19:54 nibbler999 Exp $
// ------------------------------------------------------------------------- //

define('THEME_HAS_RATING_GRAPHICS', 1);
// HTML template for main menu
$template_main_menu1 = <<<EOT
                <span class="topmenu"><table><tr><td><!--  view basket button  -->
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value='{$CONFIG['paypal_email']}'>
<input type="image" src="https://www.paypal.com/en_GB/i/btn/view_cart_02.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="display" value="1">
</form> </td><td>
                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
<?php
Logged

kevdsn

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Would appreciate some help! your expertise required
« Reply #1 on: May 13, 2005, 02:16:17 pm »

One thing I have noticed is that the view basket button displays correctly in firefox, although is to high in ie, the add to cart button is still too high in all browsers. Really would appreciate a little help with this, have been fiddling for days with it, but getting no where, have read all documentation and searched the forums.... Have managed to figure out most things along the way, but this has got the better of me.
Logged

kevdsn

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Would appreciate some help! your expertise required
« Reply #2 on: May 16, 2005, 02:31:26 pm »

Would just like to thank everyone on this forum for your overwhelming help and support! I guess I will have to try some other webmaster forums....
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Would appreciate some help! your expertise required
« Reply #3 on: May 17, 2005, 10:02:28 am »

the paypal hack is not part of coppermine's core code, but comes as a hack. It only is supported in the thread that deals with the paypal hack. Silence can mean a lot, in this particular case it meant "I have no idea", that's why I didn't reply, as it wouldn't have been helpfull.
Suggested reading:
http://coppermine.sourceforge.net/faq.php#lamesupport
http://forum.coppermine-gallery.net/index.php?topic=13938.0
Logged

kevdsn

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Would appreciate some help! your expertise required
« Reply #4 on: May 17, 2005, 04:50:38 pm »

Thanks gaugau for your reply... will visit the links you suggest.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.