+ Reply to Thread
Results 1 to 8 of 8

Thread: Variables

  1. #1

    Variables

    Hi. Where do I edit the variables that are used in the templates?

    For example

    {site_name}

    I want to make sure it points out to my site.

    Thank you

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    it's possible only via php code

    it depends on the email template

    what you need to edit and in what email template ?

  3. #3
    Your variable {site_name} you can find in: ftp://includes>>classes>>rlMail.class.php
    in the method: replaceVariables . Also in the method, you can find some other system variables.
    Last edited by Viktor; September 20, 2019 at 06:03 AM.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Thank you. I want to make sure the URL points to my address. Thank you

    So, I edit it in a text editor and then replace?

  5. #5
    Yes, but create a backup of the file, at first. Because if you do something wrong you can return the original file.
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #6
    Hi. In that file, I found various instances of {site_name}. Should I replace all of them?

    What would be the difference between doing that....and replacing {site_name} to my URL in the admin panel -> Email Templates ..?

  7. #7
    I see only 2 times of using the variable in 1 method. You can replace in both.
    Viktor,
    Flynax technical department,
    Best wishes.

  8. #8
    {site_name} where is the variable declared so that i can set my own parameters

+ Reply to Thread