Jump to content

Adding Models to video list


Desarrollo Web

Recommended Posts

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}}

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...