Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Johan Möller 83 posts 137 karma points
    Nov 07, 2011 @ 15:55
    Johan Möller
    0

    Dictionary

    Woud be great if you coud add dictionary items for the hard coded words in the macros.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 07, 2012 @ 01:28
    Anthony Dang
    0

    So i've gone off and replaced everything with dictionary items.

    Now I've got a bit of a delema. uBlogsy subscriptions now has email templates in an xml file. I'm considering putting these email templates into dictionary items so the email templates can be multi language.

     

    Just wondering if this is a good idea or not.

     

    Here is one of the templates...

        <EmailTemplate name="CommentNotification">
            <Subject>Comment notification</Subject>
            <HtmlBody>
                <html>
                    <body style="font-family:Arial; font-size:12px;">
                        <p>Hi ##RecipientName##</p>
                        <p>
                            ##CommenterName## has left a comment on the post "##PostTitle##"...
                        </p>
                        <p style="border-top:1px dotted lightgrey; border-bottom:1px dotted lightgrey; padding: 10px 0px">
                            <span style="font-size:18px;">"</span>##CommentBody##<span style="font-size:18px;">"</span>
                        </p>
                        <p>
                            Click <a href="##CommentUrl##">here</a> to view and reply.
                        </p>
                        <p style="border-top:1px dotted lightgrey;"></p>
     
                        <p style="font-size:11px; color: lightgrey; padding-top:0px; margin:top:0px;">
                            To unsubscribe from notifications click <a href="##UnsubscribeUrl##" style="color: lightgrey; text-decoration:underline">here</a>
                        </p>
                        <p style="color:lightgrey; font-size:10px; float:right;">Powered by uBlogsy and Umbraco</p>
     
                    </body>
                </html>
            </HtmlBody>
        </EmailTemplate>

     

     

     

     

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Mar 07, 2012 @ 13:10
    Jeroen Breuer
    0

    I always use the Digibiz Email Form with TinyMCE package to add email templates to nodes. Than you can also use TinyMCE. That might be better than storing it in dictionary files. Not sure if you have multiple nodes in this scenario, but otherwise you could store each language on multiple tabs.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft