Serghei Posted December 5, 2020 Share Posted December 5, 2020 Hello. How to show Custom Field on video view page? From "Customization" for example: Identifier = Custom 2 and Field name = Link. I have this field on adding new video page, but there is no such field on video view page... can someone help me whit this please! Thankyou Quote Link to comment Share on other sites More sharing options...
Tech Support Posted December 6, 2020 Share Posted December 6, 2020 You can show it using this inside video_view block: {{$data.custom1}} And if you want to show in on View Video page (parent page of the video_view block), you can do it like this: {{$storage.video_view_video_view.custom1}} 1 Quote Link to comment Share on other sites More sharing options...
Serghei Posted December 6, 2020 Author Share Posted December 6, 2020 Thank you! Quote Link to comment Share on other sites More sharing options...
Serghei Posted December 6, 2020 Author Share Posted December 6, 2020 I whant to add it like a button, How to show it like a Button on view video page? Thank you Guys you are the best Quote Link to comment Share on other sites More sharing options...
Serghei Posted December 6, 2020 Author Share Posted December 6, 2020 and how to hide it if there is no text into the Custom Fields? thanks Quote Link to comment Share on other sites More sharing options...
Tech Support Posted December 7, 2020 Share Posted December 7, 2020 It is the matter of where you put this code inside video_view block template. It should be somewhere under <div class="tabs-menu"> In order to show it only if there is any value, please use simple {{if}} statement: {{if $data.custom1}} ... render {{$data.custom1}} {{if}} 1 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.