Jump to content

Community

HeadStand

+Clients
  • Content Count

    3,239
  • Joined

  • Last visited

  • Days Won

    14

 Content Type 

Profiles

Downloads

IPS4 Documentation

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Article Comments posted by HeadStand


  1. Couple of questions:

    1. Can you please clarify the following:

    Within the templates, you can include template logic and most template tags, however be careful: the email you're sending will probably be to a different user to who is logged in when the email is sent, so do not use anything which is dependant on the currently logged in member. most importantly, do not use {lang=""} template tag (which is always based on the currently logged in member). Instead, you can access $email->language which is an \IPS\Lang object for the correct language of the recipient.

    So far, every email template I've checked does use {lang=""}, so I'm a little confused here as to what we're supposed to do (or not do).

    2. When creating my extension (following the instructions in the auto-generated file), my notification options are disabled. In other words, when I go to "Notification Settings" in my dropdown menu, the toggles for Inline and Email are disabled with a message that reads "The Administrator has disabled this option from being toggled." How do I prevent that from happening? I don't see any examples in the other applications. I did find an additional element called "editable" that should seem to do the trick, but when I add it to my extension, it has no effect.

×
×
  • Create New...