How to use today's date in liquid when it is called from a campaign by email

I have an email campaign that is configured to run every 7 days and I want to restore specific entries of a Web application based on the current date.

I use the below in the content of the email:

{module_webapps myCategory = 'Cat1' render = "collection" template="/layouts/custom/rounds-collection.tpl" id = "cms-towers" filter = "all"}

and within the referenced model, I use the below to get today's date.

{assign % = globals.site.dateNow | date: "yyyy-MM-dd" | convert: 'day'-%}

The problem is that globals.site.dateNow makes whites when called from a campaign by e-mail.

If I use the same method as before in a web page (rather than an email campaign), it works perfectly so I guess that globals.site.dateNow is not available in an email campaign.

That's why I tried another way which is to pass another parameter of the module including the delivery date of the email (as shown below):

{module_webapps myCategory = make 'Cat1' myDate = "{tag_deliverydate}" = "collection" template="/layouts/custom/rounds-collection.tpl" id = "cms-towers" filter = "all"}

It is however is to make meanings like 'text' in the email. He has successfully replaced the {tag_deliverydate} with 'October 19, 2015', but it does not then decipher the tag module. I guess it's a bit a chicken and the egg tag thing which should make first.

How do date 'today' or "email delivery date" available in my template file, then use this value in my liquid logic in an email campaign?

You cannot run javascript in the emails.
What you try to you can still.

Tags: Business Catalyst

Similar Questions

  • Y at - it a paper on how to use the map data the lookup value?

    I'm looking for a documentation where I could find information about the game of card data and how to use the map data configured according to look.

    Any help is very appreciated.

    I found a few threads on data cards:

    http://topliners.Eloqua.com/docs/doc-2434

    http://topliners.Eloqua.com/docs/doc-2817

    http://topliners.Eloqua.com/message/14058#14058

    Maybe that can help you get started

  • How to use the queue data Structures stack?

    Hi all, you can tell me how to use the queue, stack, the link in the list... Structures of data in the project of BlackBerry? Thanks for any suggestions!

    BlackBerry devices are not java desktop running. you are limited to the blackberry api, basically j2me + rim extensions, based on java 1.3/1.4 (no enums, no generic, many collections not impl etc.).

    Remove your JRE6 and change your code until there is no more error.

  • How to use the tracking data?

    I created a Web page, add the tracking inside scripts. Based on the history tour of the visitor I want to perform certain actions or to put ads on the PURL page accordingly. But I can't find the data that has been the subject of a follow-up or where does the tracked data is stored?

    Hi assani

    Case of use which you are referring. Theoretically speaking, we could accomplish this type then:

    -Decision program rule evaluates the membership contact filter. Contact filter uses the comparison of capture all contacts who have visited the Web site activity-based x.

    -If the contact is rated as 'Yes', run an update rule to force a specific value in a field of contact (for example, if the contact has visited the site, then leave the field "has visited the website?" = "yes")

    -Insert the dynamic content on the PURL page that displays according to the value in this field of specific contact (for example, if 'yes' then display ad, if you see 'no' then ad Z)

    Note: the 'extra' step to push the value in a field of contact is necessary because the contained substitution works based on contact (or company or prospect) field values

    I don't know that too, there are other ideas out there. Would love to hear them.

    -Zainab

  • How to use the LOB data type?

    I can't create a table with the LOB data type.

    Do I need an additional parameter in sys.odbc.ini?

    My dsn information is

    [tpch]

    Driver=/home/TimesTen/TimesTen/tt1121/lib/libtten.so

    Data store = / home/timesten/TimesTen/tt1121/tpch/tpch

    LogDir = / home/timesten/TimesTen/tt1121/tpch/logs

    PermSize = 4096

    TempSize = 2048

    PLSQL = 1

    LOB = 1

    DatabaseCharacterSet = US7ASCII

    -bash-4, $ 1 ttdaemonadmin-version

    TimesTen Release 11.2.1.2.0

    There is no LOB = 1 attribute; Please, delete it from your definition ODBC to avoid potential errors.

    LOB support has been added in the major version 11.2.2 TimesTen. So you use 11.2.1 LOB is not available. If you want to use LOB data, then you must upgrade to 11.2.2.

    Chris

  • How to use notify-send to get alerted when a chat message arrives?

    I would like to be notified, if a chat message arrives. I tried two Add-ons, both will emit a sound signal, but not display a window notification, as promised, then I would do it myself, using the "notify - send". Guess who's going to take to listen to an event of fitting and run notify - send, can someone please give me a hint how to do? Docs are rare.

    Using Thunderbird on Ubuntu 12.04 24.4.0

    TIA, ida

    P.S.: Feel free to mark this message as "done", I have no right to do it seems.

  • How to use Toshiba T icon as a shortcut to an application from Toshiba

    You will notice the pretty T icon in your address bar to this forum.

    To use this distinctive icon for any shortcut to a Toshiba application or your user guide follow these steps:

    1 / create a directory, a place to store the icon you are about to extract.

    2 / access this forum in your browser.

    3 / go to your + temporary Internet files + location (different between XP & Vista)

    4 / look for the icon with the name {color: #0000ff} {color} favicon.ico in the name [http://forums.computers.toshiba-euorpe]

    5 / copy this file in your location of icons created in step #1 and rename the file (for example {color: #0000ff} {color} Toshiba - T.ico)

    6 / on any shortcut you want that this icon is applied, just click on + properties +, click on + change icon + and point your newly registered {color: #0000ff} Toshiba - T.ico {color}.

    That's all.

    LOL :D

    Very nice idea ;)

    I see the T icon in my address bar of IE browser, but to be honest, I prefer the icons of standards owned by each application... it of just my personal feeling...

    In any case... Thanks for sharing this with us!

  • How to use the wizard of internet concection when trying to send an email from windows messenger?

    the Assistant asks what type of server is my incoming pop3, imap or http mail. I don't know how to answer these question

    You internet service provider should be able to provide this information.  Usually incoming POP is # and outgoing is the SMTP Protocol, but check with the service provider to be sure.

  • How to use Gallery of filters on an Image that I made from photoshop?

    So I edited this image of me on Photoshop basically I used the quick selection tool and then just back up my car and stuck on a transparent background and now I want to use in Illustrator and kind give as a funky look, you know as ocean waves or charcoal you know something like that but it wont let me it please help?

    in illustrator, you must track of images > photo high fidelity > expand first

    You can then use the effects

    or in photoshop, something like

    Image > adjustment > reverse

    image > adjust > curves to darken the face more

    Select background, and then apply a gradient orange

  • How to use Add the media offline option when creating packages with conditioner creative cloud.

    Hi all

    AM creating packages with Creative could conditioner, need to include 'Extension Manager CS6 ' to my list of requests, I downloaded a version and trying to add to the list with the help of add the option offline media, but get the error as media is not appropriate etc...

    Can any body please let me know how to add media offline while we creating packages with Creative Cloud Packager.

    Thanks in advance.

    This is possible in theory, as long as the source media that you add is complete and unzipped. Also if 32 bit it cannot be added to a 64-bit package and vice versa.

    It's not really what this feature is designed for good. It is designed for DVD sets provided to customers who live in areas where poor internet infrastructure that cannot download apps via CCP.

  • How to avoid the stalemate between count with all and several calls from an EP getBackingMapEntry...

    We have a processor input, which initiates a transaction lite by calling getBackingMapEntry on several similar entries.  The same cache distributed these similar entries of accommodation also simultaneously services count with all call and we often a blocking scenario comes from the fact that the count with all call trying to access/key in the same cache block - but in a different sequence - date entry processor accessed (for example, the European Parliament access to similar input 1 then similar input 2 while the count with all attempts to block the same but entries in sequence 2) then the entry 1).  The obvious solution is to change the sequence entry processor accesses these entries to match the sequence used by the count with all operation, but we do not know what sequence consistency applies to operations NamedCache.getAll.  Anyone know?  We believe that we excluded (e.g., consistency does not consider wrt the count with all access sequence) the following:

    • The sequence in an ordered collection of keys such as a list that is passed as an argument to count with all operation
    • The hash code of the key value
    • Any use of Comparable on the keys

    We use 3.7.1 consistency where it varies between 3.7.1 and 12 c.

    Thanks in advance.

    We've thought of it (always happens shortly after the publication on a support site).  If anyone is curious, it seems that the binary class implements Comparable and that consistency sorts instance converted by binary key and access the Scriptures based on this order sorted.  If the entry processor converts the keys to binary instances, sorts and accessed in sorted order, there is no potential blocking (of our observations, at least).  It would be nice if Oracle should document this that people better understand how to write safe concurrent code.

  • How to capture audio only video or only when you import images from the camera

    When capturing video from a camera with a firewire cable the encoding screen does not give me the possibility to encode the video alone or only audio, I have to encode them both together. Ive used previous versions of first and he always gave me the option to encode only one. I can not even see the option to separate them, but the system I cannot select this option. Sometimes I just need to capture images, I don't need the audio, it feels like a waste of space. IM using first Pro CC. Thank you!

    Very well.  If you capture HDV I don't think you can separate the data stream.  I think you did during DV capture.

  • How to remove an icon in offline mode when sd card removed from the drive

    I have an icon in offline mode on my photos in the Organizer 11 items after I remove the sd card in the reader

    You will need to leave the connected SD card if you want to change the images. The Organizer contains only thumbnails/previews.

    Otherwise to copy pictures to a folder on your hard drive; Turn off the SD card.

    You can import images into the folder on your C drive using:

    File > get Photos & videos > files & folders

  • How can I find the link "open in" when I get a PDF file in an email on my iPad? QQ

    I can't open PDF files sent in e-mails, even if I downloaded the latest version of Adobe. He tells me to click on the tab "open in" then choose Acrobat, but I can't find a link to do this. If I just click on the image to a file PDF the screen goes all black. I tried it opt for Adobe, but no file appears in this App.

    What I am doing wrong? Help, please

    Thank you

    Hello

    Please follow the steps mentioned in the article mentioned below.

    Opening PDFs in Reader for iOS (iPhone and iPad)

    Thank you

    Abhishek

  • Shredder-what is and how to use it?

    This Shredder suddenly appearde wheb I went ti download/recycle something. I was not prior notification of such program.  There is no guidance on what it is or how to use it.

    Clues would be certinally help me.

    THX * address email is removed from the privacy *

    Hi Laura,

    1. what operating system is installed on the computer?
    2. have you made changes on the computer recently?

    The shredder (also known as the shredder or Oroku Saki) is a fictional character and the main antagonist of the Teenage Mutant Ninja Turtles franchise. At one time or another in each incarnation of the TMNT stories, it has been the archenemy of Splinter and the turtles. It is also known as the leader of the foot Clan.

    Shredder software is used to prevent a restoration of files deleted from your drive, you can use easy-to-use file shredder software permanently delete files allows you to permanent delete files from your computer, hard disk, USB stick, stick of memory, etc. It is absolutely impossible to restore any data that has been erased using delete files permanently. Some viruses spoof as real program and is installed on the computer.

    Note: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

Maybe you are looking for

  • How do you get a restored iPhone library playlists?

    I had to do a restore on my iPhone 6 s.  It downloaded all my photos, but I don't know how to recover all my music. I had 2 put playlists in place, but there is no music in one of the playlists on my phone.  Any guidance would be appreciated.  Thank

  • Portfolio - boarding

    I have dozens of boarding cards in my wallet. In the past, they have appeared in the ranking by date.  However since February there is no separation, and all the passes appear in cluster next to each other, without any order.  This makes the use of b

  • At certain point somee, my GMail has lost the ability to search messages your uncle a contect given; I don't want Bing anywhere near my computer.

    Now, when I search in GMail, it searches across the Web, rather than only my mail messages.

  • Registration code

    BDP-S570 Is it possible to recover the registration code of the blu - ray? After seting upward for Netflix initially and very easily... customer wants to Pandora and others, but he repeats to me is a recorded legacy custom we implemented these progra

  • How do I uninstall defunct printer

    I used to have a 1200 Series printer has been replaced by a 1050A. The 1200 appears on the display devices and printers. I can right click Remove and it disappears to reappear when I bring the peripheral screen and printers. Recently it has become so