Does not work IF liquid and EXCEPT in modules/content holders?

I have the following code of liquid in a model:

{% case item.zoneId %}

{% When it is '13435' %}}

{% assign wholesaler = "True" %}

{% When it is '51' %}}

{% assign customer = "True" %}

{% endcase %}

Then, I have the following liquid:

{% If China is 'True' %}

< p > the text to display for large area secure. < /p >

{% endif %}

{% except wholesaler is 'True' %}

< p > text for all the world. < /p >

{% endunless %}

The above code works fine if it is inserted in a page. If I insert the code into a door content and/or layout (in my case the big presentation of product) it does not work.

I guess that this is simply a limitation currently, but I thought I'd ask in case there might be a bug.

Thoughts?

Hi Lynda,

The description of your configuration, it looks like the wholesaler variable is not available in the context of the licensee of content or layout. Take a look at this article - custom modules parameter passing and pass the value of the variable of wholesaler for the contentholder module by using a custom setting, something like

{module_contentholder id = "123" myCustomParameter = "{{China}}"}

in the context of licensed content should be available in:

{{params.myCustomParameter}}

Tags: Business Catalyst

Similar Questions

  • IPhone 6s - microphone does not work on all applications except camera and calls

    Hey, I don't know exactly know what happened with my phone. Suddenly, my microphone work on LINE, Whatsapp and almost all other applications that use mic. Except, camera and when someone call me on my number.

    But it does not work on whatsapp and LINE calls. And it also does not work when I snapchat. Only works on the default camera Apps and call through my number.

    I tried:

    -restart my phone

    -hard reset and blink? Reset with the power and the "home" button.

    -read the micro support page. Still no solution.

    TL; Dr:

    my microphone does not work on every apps on my phone except calls through number and approx. of default camera it gives you just that silence when I play it on voice notes. But it works when I record yourself using videos on the default camera app.

    Hello Bllacke,

    Thank you for using communities of Apple Support.

    I see from your post, some applications have a problem to access your Microphone. I know how it is important to ensure that your applications have access to the Microphone and can use this feature. I have a few things I want to try.

    First, tap Settings on your iPhone and then scroll to the last section that lists your apps. Select the applications that use the microphone and make sure that the Microphone is activated (green).

    Then, follow the steps in the article below to close these applications:

    Force a nearby application on your iPhone, iPad or iPod touch

    Then, test the microphone in these applications again and see if it works.

    Best regards.

  • Why my php export feature does not work in IE and not firefox?

    Why my php export feature does not work in IE and not Firefox? I wrote a web application that contains a SigmaGrid. Grid controls reload, add update delete, print and export to CSV all work in IE8. The export function does not work in Firefox.

    Have you tried to test your application on IE7/8/9 and FF10/Chrome/Opera?

  • TrackPoint does not work in iTunes and openoffice

    Hello

    the scroll option, when I use the middle of the trackpoint button does not work in itunes and openoffice. It works well in all others.

    I have the latest versions of these programs and the latest driver for the trackpoint.

    IM on Win XP with SP3

    Thanks 4 your help!

    Hello e30rocks, welcome here!

    If you speak German, that here is a possible solution mentioned.

    If English is preferred, take a look in the first post here.

  • SHIFT does not work keys digital and other cushions.

    SHIFT does not work keys digital and other cushions.

    Try another keyboard.  If it works fine, your must be repaired or replaced.

  • Why pes 2012 does not work with me and my video card is 1699 MB Intel HD Graphics(core i3)?

    Why pes 2012 does not work with me and my video card is 1699 MB Intel HD Graphics(core i3)?

    Hello

    You receive an error message?

    Method 1:

    You can update the drivers of graphics cards and check.
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly


    Method 2:

    You can also perform a clean boot and check if it works:
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: after a repair, be sure to set the computer to start as usual as mentioned in step 7 in the Knowledge Base article

    You can also check out the link:
    The problems of the game performance
    http://Windows.Microsoft.com/en-us/Windows7/fixing-game-performance-problems
    Diagnose problems running DirectX
    http://Windows.Microsoft.com/en-us/Windows7/diagnosing-basic-problems-with-DirectX

  • Hello, I have creative cloud (programms photoshop, bridge, and lightroom on a HP Pavilion pc and UN laptop.) The laptop does not work more (broken) and I ' would like to install all programs on another laptop. How can I uninstall the programs of the

    Hello, I have creative cloud (programms photoshop, bridge, and lightroom on a HP Pavilion pc and UN laptop.) The laptop does not work more (broken) and I ' would like to install all programs on another laptop. How do I uninstall the programs of the broken laptop and not running before installing on a new? Sincere friendships Fabian

    Hello

    If you have access to the machine, turn off Adobe CC applications by the signature of the application.

    Please see connect and disconnect to activate Cloud Creative applications

    Kind regards

    Sheena

  • Does not work in firefox and Chrome

    Hello

    It's works fine under IE but does not work in firefox and Chrome browsers

    What's not in this code?

    var pageURL:String      = ExternalInterface.call("window.location.href.toString");
    
    if(pageURL == null)
    {
              pageMsg2.text = "Seems like javascript is disabled";
    }
    else
    {
              pageMsg2.text = "Enabled";
    }
    

    calling window.location.href.toString directly from js (i.e. no flash) in the work of chrome or firefox?

    have you tried to create a wrapper function for window.location.href.toString ?

    for example in js

    Function myFunction()

    {

    Return window.location.href.toString;

    }

    Flash

    var pageURL:String      = ExternalInterface.call("myFunction");

    if(pageURL == null)
    {
              pageMsg2.text = "Seems like javascript is disabled";
    }
    else
    {
              pageMsg2.text = "Enabled";
    }

  • I downloaded FF6 on my desktop and my laptop, both work except that RoboForm does not work my office and my laptop will be. Cannot understand it.

    When I downloaded the new update on my laptop there is a notice that add ons would not work, RoboForm has not been included and works very well. Then I upgraded to FF6 on the desk and he was on the list and does not work.

    RoboForm Lite Password Manager 2.1.0

    Check and tell if its working.

  • Error HP Photosmart D110-Twain. Scanning does not work despite uninstalling and reinstalling it.

    All of a sudden my scanner does not work on my HP Photosmart D110 printer.  I tried to uninstall and it reinstaling several times.  The HP Troubleshooter arrives with a Twain error.  How can I fix it?  The extended error code is:

    8, (4,-2147221005, 0)).  (Note that dashes outside in the error code are straight, not curved.  Do not have the right on my keyboard).

    Hi LindaMC,

    Thanks for the reply!

    Looks like that maybe some things are lacking and there's a registry cleaner run which has removed some things. What I suggest you do is to perform an uninstall of level 3 and then once that finished, please download and run the HP printer install wizard to get the software reinstalled.

    If all goes well, once this is done, you should be able to start a new search.

  • screen saver does not work didn't sleep except when I click on sleep

    I have set up the screen saver after 2 minutes, but does not work. I also find "sleep" mode does not end defined time. the onl time it works, that's if I manually order the day before in the start menu. any suggestions?

    Hello

    What operating system is installed on the computer?

    Method 1: To help resolve the error and other messages, you can start Windows by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    Try to perform the clean boot and check if it helps, here is the link:
    http://support.Microsoft.com/kb/929135

    Note: When you're done to diagnose, follow step 7 in the article to start on normal startup.

    Method 2: Follow the below mentioned article:

    Windows 7 is not going to sleep:

    http://support.Microsoft.com/kb/976877

  • Keyoard USB does not work after unplugging and plugging in (Windows XP Pro x 64)

    I had to move my computer then I unplugged everything, including the usb keyboard and mouse usb.

    The mouse and keyboard have no drivers as they are supposed to be plug-and-play.

    The mouse works well, the keyboard does not work...

    I get the message found material (found the usb keyboard) new then I tell windows to search for drivers but nomatter where I order, it finds no driver.

    There are all the correct drivers that are built into windows.

    Fabrice what connector on the motherboard, I try, it will not find the driver.

    Hello

    • What is the brand and model of the computer?
    • What is the brand and model of the keyboard?
    • The keyboard works on another computer?
    • The computer recognizes another keyboard, if hooked up?
    • The computer is running at startup and shutdown after loading Windows?

    Restore the system to a point when the keyboard worked.

    See: http://support.microsoft.com/kb/306084

  • MS point 5000 laser wireless mouse does not work, but scrolling and magnifying glass works

    My point of 5000 MS wireless laser mouse does not work, but work wheel Magnifier button and scroll.  What could cause this problem?  I there something wrong with the mouse or something should be cleaned?  This is the first question I had after 3 years of use.

    I have not any hardware or software changes, and the problem is constant, not specific to any application.

    I restored my system to my latest backup when the mouse was working, but it has not solved the problem.  The software update has not solved the problem.

    I installed a different mouse, which works very well. The wireless mouse does not work on another system, I assume that it's broken and I will replace it.

    Thanks for your suggestions.

  • The toe does not work on iphones and ipads

    I created a site on Adobe Muse and the pinch to zoom feature does not work on iphone or iPad, but it does not work on androids. What I am doing wrong?

    Muse expects and allows you to design and build mobile layouts appropriate, so that your visitors will see a more appropriate site. In fact, Google is also to give these sites for a better position in their search results. Some tablet Android phones could not "reveal" or behave as a mobile device, so that they sort of get away with it...

  • CTRL-click does not work with camelCase and PascalCase names

    I added a small example to reproduce the problem:

    create or replace view foobar as
    select 1 as id 
    from dual;
    
    -- Ctrl-click does not work
    select *
    from fooBar;
    
    -- Ctrl-click works as expected
    select *
    from foobar;
    
    -- Ctrl-click works as expected
    select *
    from FOOBAR;
    

    I tested on Oracle SQL Developer 4.1 ai2 (4.1.0.18.37)

    Yes, I see that bug

Maybe you are looking for

  • Safari, el capitan 10.11.6 freezing

    I have problem that happens every day once or several times, when I click on the list of all tabs, then when start typing the Web site by the name to search in the list safari gel tab that I have to force quit and that makes me problem because my wor

  • Impossible to receive pictures sent by the new version of Skype 7.26

    As suggested by the title im totally unable to send and receive images through the new version of Skype. The strange thing is I can receive photos through the Skype android app. Talk to other contacts shows that they also seem to have exactly the sam

  • Satellite Pro A300 PSAGDA won't start at all after flash Bios 1.90

    I have an A300 PSAGDA-01Y00R. I tried to Flash the bios to version 1.90. He started the process, and when I came back an hour later the cell phone was off. When you turn it on, it has nothing now. I tried removing the battery and running on sector on

  • Kernel Panic troubleshooting

    I had some intermittently kernel panics, occurring roughly twice per week on average. Kernel panics occur generally when I'm running Logic Pro X, but it is about 65% of the time. It happened before doing simple tasks, where could have Safari open onl

  • Outdoor, bike on my watching leave miles record

    Door OOutput bike is does not save my miles.  He had previously done