Fieldtype

Developer
Supported

Catchall

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Vector Media Group

     

You must be logged in to post.

Conditionals Broken

General

vinay
vinay

The following conditonal break in catchall

{portfolio}      
      {if 
"{item_3}{url}{/item_3}" != ""}
        adas
      {
/if}
{
/portfolio} 

I have the following fields in {portfolio} - item_1, item_2, item_3, item_4, item_5.

mahuti
# 1
Developer
mahuti

You’ll probably need to get the value of that before trying to use a conditional… just based on the order in which conditionals are parsed.

{portfolio}     
  {embed
="some_template_group/some_template" item_3="{item_3}"}
{
/portfolio}


some_template_group
/some_template

{if 
"{embed:item_3}" != ""}
  adas
{
/if} 
vinay
# 2
vinay

I see. Got it. I was actually following what was given here : http://barrettnewton.com/forums/viewthread/2045/#11539

Guess i probably have to use stash module.