Changing image location for Gift Certificate Images


  • Default avatar
    zreon    
     13 years ago
    0

    I am setting up a gift certificate system for my clients website. They want to use custom layouts for the gift certificates instead of the stock brown, snowman, christmas and flower. I have uploaded a image I wish to use to the administrator/assets/giftcert/images folder and this allows me to customize the certificate. However I would like to make this possible for my client through the joomla backend (Media Manager). Can someone point me in the right direction to change where AWO Coupon looks for the gift certificate images.
  • Your avatar
    seyi    
     13 years ago
    0

    certainly, this is configurable in www/administrator/components/com_awocoupon/awocoupon.config.php. You can change the line
    <?php
    define
    ('com_awocoupon_GIFTCERT_IMAGES',  JPATH_ROOT.'/administrator/components/com_awocoupon/assets/giftcert/images');
    ?>


    to whatever directory you would like. Please note, the images uploaded have to be .png.