+ Reply to Thread
Results 1 to 6 of 6

Thread: Little fix for currency position in -> my_packages.tpl

  1. #1
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421

    Little fix for currency position in -> my_packages.tpl

    Hi @ all,

    I have found a little bug in templates/your_template/tpl/controllers/my_packages.tpl

    find code @ line 14

    PHP Code:
    Only registered members can view the code
    and change with the follow

    PHP Code:
    Only registered members can view the code
    find code @ line 109 (or 118)

    PHP Code:
    Only registered members can view the code
    and change with the follow

    PHP Code:
    Only registered members can view the code
    find code @ line 272

    PHP Code:
    Only registered members can view the code
    and change with the follow

    PHP Code:
    Only registered members can view the code
    The currency position setting (before, after) now also works for packages.

    Best regards
    Steffen
    Last edited by Steffen Buschkemper; September 25, 2012 at 07:10 PM.

  2. #2
    thanks for sharing

  3. #3
    Flynax developer
    Join Date
    Jun 2010
    Posts
    239
    Hello,

    I can offer a more universal solution (in case your variable $config.system_currency will be empty):

    1.
    Code:
    Only registered members can view the code.
    2.
    Code:
    Only registered members can view the code.
    3.
    Code:
    Only registered members can view the code.

  4. #4
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Thank you Victor for this optimized code!

    Best regards
    Steffen

  5. #5
    Senior Member
    Join Date
    Oct 2011
    Posts
    113
    Hello,


    what solution should I choose?
    Vladimirs is also for my_packages.tpl?

    Got the same missing currency by adding a rate into the booking system. After editing some rates, the currency symbol appears normally behind the amount.

    best regards
    Andreas

  6. #6
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Quote Originally Posted by Vladimir View Post
    Hello,

    I can offer a more universal solution (in case your variable $config.system_currency will be empty):

    1.
    Code:
    Only registered members can view the code.
    2.
    Code:
    Only registered members can view the code.
    3.
    Code:
    Only registered members can view the code.
    Hallo Andreas,

    genau diese Aenderungen machen, meine waren nicht optimal.
    Sollte auch bei dir so sein.
    Die betreffenden zeilen unten mit denen von oben tauschen:
    zu 1.
    PHP Code:
    Only registered members can view the code
    zu 2.
    PHP Code:
    Only registered members can view the code
    zu 3.
    PHP Code:
    Only registered members can view the code
    Now english:
    For booking i will check for a solution.
    But the booking system has more bugs.
    Last edited by Steffen Buschkemper; September 30, 2012 at 08:11 PM.

+ Reply to Thread