[Resolved] template directory : default by ... default


  • Default avatar
    edouard    
     13 years ago
    0

    Hy Seyi,

    I was wondering : in your admin/models/installation.php files, templates directory is "hard written" : default by default.

    I'm using a specific directory, so I have to modifiy the file each time you deliver a new release ! :)
    Maybe I'm not the only one, and maybe other people won't easily find the solution to this issue ...


    Is it possible you make it dynamic in the installation process, like retrieve it from virtuemart settings?

    Thanks in advance
    Ed
  • Your avatar
    seyi    
     13 years ago
    0

    Can you specify what you are modifying? I thought the themes directory was being pulled from Virtuemart.
  • Default avatar
    edouard    
     13 years ago
    0

    Here it is :

    'couponField' => array('name'=>'ADD SHIPPING FIELDS TO COUPON FORM','file'=>'www/components/com_virtuemart/themes/default/templates/common/couponField.tpl.php','desc'=>'FILE INJECT COUPONFIELD DESCRIPTION' ),


    and

            $default_path = JPATH_SITE.'/components/'.VM_COMPONENT_NAME.'/themes/default/templates/';



    wihtout modifying the default directory by the one I use, I can't get awocoupon properly installed ! :)
  • Your avatar
    seyi    
     13 years ago
    0

    this is fixed in version 1.2.2.