I have 2 types :
- Mouvements (which are watches mechanisms)
- Mesures (which are mesureaments related to Mouvements - 1 to 0-1 relation)
I have a Model for displaying Mouvements, example : versteckter Link
and in the "MESURES FRANCÉCLAT" tab, I call a view to display the related Mesures.
My problem : how to insert the parameter (Id of the Mesures) in the view calling ?
I've tried this :
[types field='identifiant-mesure'][/types]
=> gives me the good id
I guess the inner shortcode (to get the value of the custom field wpcf-identifiant-mesure is not (correctly ?) executed inside the wpv-view shortcode.
I've already use this method on a previous website, without problem
=> [wpv-view name="Revues-Editeur" idediteur="[wpv-post-field name="IDEditeur"]" order="asc"]
(I've already tried this syntax on mvtfs.projets-web.net without success ).
In some cases your template builder may not support the nesting of shortcode.
I know if you're using a Toolset Content template then the shortcode below will work with no issues at all.
[wpv-view name="mesures" mesure="[wpv-post-field name='wpcf-identifiant-mesure']" order="asc"]
I see you're using an HTML block to add the shortcode. Does this template builder have a WYSIWYG editor that you can use instead of the HTML block ?