Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
issue connected with this forum topic
http://our.umbraco.org/forum/using/ui-questions/37016-embeded-video-datatype?p=0
I use UMP Vimeo provider to create 'enbedded video data type'
as I wrote in that topic,
this works only, when I edit my MVC template and save it, using umbraco template editor.
but:
1. I have to insert umbraco fpage field, using the editor. after that my code looks
@Umbraco.Field("myVimeoVideo")
<umbraco:Macro field="myVimeoVideo" Alias="umpVimeoVideo" runat="server"></umbraco:Macro>
2. when I save my template, it is being converted into .aspx page
also tried to use @Umbraco.RenderMacro()
@{
var macro1= umbraco.macro.GetMacro("umpVimeoVideo");
var dict=new Dictionary<string, object>();
dict.Add("field", Model.Content.GetPropertyValue("myVimeoVideo"));
}
@Umbraco.RenderMacro("umpVimeoVideo",dict)
@Umbraco.RenderMacro("umpVimeoVideo", new { field = Model.Content.GetPropertyValue("myVimeoVideo") })
but in all cases RenderMacro returns empty mvcString
does UMP Vimeo provider support mvc 3 Razor?
or it is a bug?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Vimeo provider and Umbraco 4.11 (MVC)
issue connected with this forum topic
http://our.umbraco.org/forum/using/ui-questions/37016-embeded-video-datatype?p=0
I use UMP Vimeo provider to create 'enbedded video data type'
as I wrote in that topic,
this works only, when I edit my MVC template and save it, using umbraco template editor.
but:
1. I have to insert umbraco fpage field, using the editor. after that my code looks
@Umbraco.Field("myVimeoVideo")
<umbraco:Macro field="myVimeoVideo" Alias="umpVimeoVideo" runat="server"></umbraco:Macro>
2. when I save my template, it is being converted into .aspx page
also tried to use @Umbraco.RenderMacro()
@{
var macro1= umbraco.macro.GetMacro("umpVimeoVideo");
var dict=new Dictionary<string, object>();
dict.Add("field", Model.Content.GetPropertyValue("myVimeoVideo"));
}
@Umbraco.RenderMacro("umpVimeoVideo",dict)
@Umbraco.RenderMacro("umpVimeoVideo", new { field = Model.Content.GetPropertyValue("myVimeoVideo") })
but in all cases RenderMacro returns empty mvcString
does UMP Vimeo provider support mvc 3 Razor?
or it is a bug?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.