Desarrollo Web Posted April 27, 2022 Share Posted April 27, 2022 Hi, we are trying to add the model names to the video lists. For the Index we have ticket the option show_models_info for the Block video index. We see the variable shows now when we look at it with the admin bar. And we see that in the Admin Page that show_models_info shows. But not when displaying the videos. So we've gone to the block include_list_videos_block_common and tried to add it by code. But when we try to add another foreach (it's an array) inside the code it stops showing videos. We've tried something like {{foreach item="i" from=$item name="models"} {{$i.models}} {{/foreach}} And {{foreach item="i" from=$data name="models"} {{$i.models}} {{/foreach}} Quote Link to comment Share on other sites More sharing options...
Tech Support Posted April 27, 2022 Share Posted April 27, 2022 Please check this post, it has the exact code that you can use to display models for each video: Quote Link to comment Share on other sites More sharing options...
Desarrollo Web Posted April 28, 2022 Author Share Posted April 28, 2022 On 4/27/2022 at 3:36 PM, Tech Support said: Please check this post, it has the exact code that you can use to display models for each video: Excellent, this worked, thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.