Configuration Macros (Substitution Strings)

Discussion in 'Developers' Forum' started by fatbear, Aug 7, 2010.

  1. fatbear

    fatbear Member HowtoForge Supporter

    I'm looking for the full list of substitution strings (macros). I inspected the GUI and found these:

    • Server Config
      • client_id
      • domain
      • localpart
      • username
      • website_domain
      • website_id
      • website_path
    • Interface Config
      • CLIENTID

    1. They can only be referenced as: [macroName], right?
    2. Are they case insensitive? (i.e., are [website_domain] and [WEBSITE_domain] equivalent?)
    3. Why is there a client_id in Server Config and CLIENTID in Interface Config? Is the semantics of these different from each other?
    4. Are there other macros that I didn't find by looking at the GUI?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    These placeholders are not interchangable in the fields. This means you can only use the placeholder that is used in the default etting of a specific field and not any other placeholder.

    Example. The only valid placholder for the "Website path" field is [website_id] and [client_id]. You can not use e.g. [website_domain]. The placeholders have to be written exacly as they are in the current field values.

Share This Page