Hide introduction text syntax

johnl

New Member
Hi, i have a list and i'm using it to several articles displaying with filters the results i want.
e.x. {fabrik view=list id=1 u1pr3_all___CAT2=competition_VW_GOLF_R_AUDI_S3 resetfilters=1 showfilters=0 layout=bootstrap-ks} showing data that has CAT2=competition_VW_GOLF_R_AUDI_S3.

I have an introduction text in list 1, but i want to hide it when CAT2=competition_VW_GOLF_R_AUDI_S3.
What is the plugin syntax for that?
 
There's no built in syntax for that.

You could do it by hand, using something like Sourcerer, to embed some code in your intro, that checks the input value ...

Code:
$input = JFactory::getApplication()->input;
if ($input->get('u1pr3_all___CAT2', '') !== 'competition_VW_GOLF_R_AUDI_S3') {
   echo <<<EOT
Your intro text here
EOT;
}

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top