Results 1 to 5 of 5

Thread: Newsleter and inserttags

  1. #1
    User
    Join Date
    06-19-09.
    Location
    Elbl?g, Poland
    Posts
    152

    Default Newsleter and inserttags

    Hello

    Is it possible to use {{insert_module::ID}} tag inside newsletter? For example {{insert_content::ID}} works fine but {{insert_module::ID}} give me only this:

    Code:
    ### NEWS LIST ###
    name of the module (ID: 32)
    Marcin

    http://www.contao.pl - Polish Support Site
    http://forum.contao.pl - Polish Contao community forum


    -----------------------
    Need custom template? Feel free to contact me by e-mail marcin@contao.pl

  2. #2
    User
    Join Date
    06-29-09.
    Posts
    271

    Default Re: Newsleter and inserttags

    Does it also give you that when you send it? The classes that generate that "### something ###" code always display that on the backend, but I am just unsure if that is also true when the newsletter is previewed/sent? :?

  3. #3
    User
    Join Date
    06-19-09.
    Location
    Elbl?g, Poland
    Posts
    152

    Default Re: Newsleter and inserttags

    Quote Originally Posted by Vera
    Does it also give you that when you send it? The classes that generate that "### something ###" code always display that on the backend, but I am just unsure if that is also true when the newsletter is previewed/sent? :?
    You right, my description wasn't very detailed.
    So, during editing newsletter (in tinyMCE) I write {{insert_module::ID}}. On list of the newsletter it's still {{insert_module::ID}}. When I send preview mail I have preview of newsletter and then is ### something ## etc. But when I receive my preview mail there is still ### something ## and (ID: 32) where "ID: 32" is a broken link to my module in BE (e.g. http://typolight/main.php?do=modules&act=edit&id=32). Of course it's not right domain, actually there's no domain at all.
    But when during editing newsletter I write {{insert_content::ID}} - the right content appear me inside mail preview before send newsletter.
    I think now it's more clear.
    Marcin

    http://www.contao.pl - Polish Support Site
    http://forum.contao.pl - Polish Contao community forum


    -----------------------
    Need custom template? Feel free to contact me by e-mail marcin@contao.pl

  4. #4
    User
    Join Date
    06-29-09.
    Posts
    271

    Default Re: Newsleter and inserttags

    Yes, I'm afraid you'd need someone with more knowledge in this area ops:

    Leo or someone with some TL coding background, anyone??

  5. #5
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default Re: Newsleter and inserttags

    Sending newsletters = back end -> front end modules are not rendered in the back end (whereas content elements are). So to answer your question: no, you cannot

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •