Hello,
I need to display phocagallery plugin in a CF v7 form.
In an html code, with run joomla plugin enabled, the following litteral code is working :
However, what I need is to retrieve the category id with a read database (I'm ok with this), and put it in the plugin code.
Which syntax should I use please ?
Html code in backend :
Result :
I need to display phocagallery plugin in a CF v7 form.
In an html code, with run joomla plugin enabled, the following litteral code is working :
{phocagallery view=category|categoryid=1030}
However, what I need is to retrieve the category id with a read database (I'm ok with this), and put it in the plugin code.
{var:rd_infos.sortie.phocacat_id}
returns 1030, but {phocagallery view=category|categoryid={var:rd_infos.sortie.phocacat_id}}
is not working (returns a "}").
{var:photos}
returns the plugin code with the catid but is not "transformed" when put in html code
Which syntax should I use please ?
Html code in backend :
<p>{phocagallery view=category|categoryid=1030}</p>
<p>hello</p>
<p>{phocagallery view=category|categoryid={var:rd_infos.sortie.phocacat_id}}</p>
<p>hello</p>
<p>{var:photos}</p>
Result :
