umbraco7

How to show umbraco multiple media picker images on page with a macro

冷暖自知 提交于 2019-12-01 00:42:53
Hello stackoverflow people hope you can help me with maybe a simple question, but couldn't find a solution elsewhere and I have just been working with umbraco for a week now and have never used the mvc part before so all is new for me. So the big problem is how I make a macro to show these images I choose from the multiple media picker the macro should just end with showing. <img src="img1.gif" height="50" width="50"> <img src="img2.gif" height="50" width="50"> And so on depending on how many images there is. (the size is just an exempel) I tryed somthing like this @var selectedMedia3 =

Working with non-Umbraco data in MVC and Umbraco project?

巧了我就是萌 提交于 2019-11-30 20:51:15
I am working on a project that has MVC 4 and the Umbraco CMS installed. I apologise - being newbie, my question may be weird. My question is: how do I work with types which I don't want to manage through Umbraco back office?Rather, it will be simple data coming and being stored in SQL Server. Specifically I want to ask: Can I create a controller in MVC and bypass Umbraco? What controllers should be inherited from? Should they be standard MVC Controller, SurfaceController or RenderMvcController ? Again, it will not be an Umbraco document type or data. Will views be inherited from

How to show umbraco multiple media picker images on page with a macro

纵饮孤独 提交于 2019-11-30 19:08:55
问题 Hello stackoverflow people hope you can help me with maybe a simple question, but couldn't find a solution elsewhere and I have just been working with umbraco for a week now and have never used the mvc part before so all is new for me. So the big problem is how I make a macro to show these images I choose from the multiple media picker the macro should just end with showing. <img src="img1.gif" height="50" width="50"> <img src="img2.gif" height="50" width="50"> And so on depending on how many

Umbraco 7 Update Umbraco Routes

本小妞迷上赌 提交于 2019-11-30 05:32:20
I am trying to create an Umbraco 7 MVC application. In doing so, I want to be able to create custom controllers that manage data behind the scenes. Through my research, I found using the SurfaceController was the most successful. However, the route adds "/umbraco/surface/" to the page. For example, my Test Controller and View would look like "/umbraco/surface/Test". Is there a way to manage these routes and have it simply go to "/Test" without adding the Umbraco route to it? Any guidance on how to create custom controllers within Umbraco 7 would be helpful! this is what I have achieved in my

Umbraco 7 Update Umbraco Routes

杀马特。学长 韩版系。学妹 提交于 2019-11-29 05:41:26
问题 I am trying to create an Umbraco 7 MVC application. In doing so, I want to be able to create custom controllers that manage data behind the scenes. Through my research, I found using the SurfaceController was the most successful. However, the route adds "/umbraco/surface/" to the page. For example, my Test Controller and View would look like "/umbraco/surface/Test". Is there a way to manage these routes and have it simply go to "/Test" without adding the Umbraco route to it? Any guidance on