1. LAC Webadmin
  2. SP Page Builder 3.x
  3. Saturday, 08 June 2019
Hello!

Is there a way to do an OR logic for 'depends' option in the add-on configuration?

I cannot find an add-on that has a sample of using OR as logical expression.


'link_catid'=>array(
'type'=>'category',
'title'=>JText::_('COM_SPPAGEBUILDER_ADDON_ARTICLES_CATID'),
'desc'=>JText::_('COM_SPPAGEBUILDER_ADDON_ARTICLES_CATID_DESC'),
'depends'=> array(
array('resource', '=', 'article'),
array('link_articles', '=', '1')
)
),


Something like:



'depends'=> array(
array('resource', '=', 'article'), 'OR', array('link_articles', '=', '1')
)



The default behavior is AND, can I do OR? How?

Thanks,

Jackson
Responses (1)
Accepted Answer Pending Moderation
Hi there,

Thanks for your query. If you need help about the customization then we are very sorry. Please hire an freelancer to apply your process. I extremely sorry for cannot help you.

https://www.joomshaper.com/support-policy

-Thanks
  1. more than a month ago
  2. SP Page Builder 3.x
  3. # 1


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.