FirstlyIwant to knowifthere isadeveloper modeinumbraco.ieamodethatallows you to testand viewtheresultbeforepublishing it.Thisispossiblein content section by savingthecontentandnot to publishandview it with"Preview" button,but forthedevelopersectionwhen Ichange(forexample)atemplate, and Iwant tosee thecontentwithout publishing it, theproblemis thatwhen Iclick"save" itwillchangefor members.sohow do the developerto changeand preview beforeitsreleasetoeveryone.
secondlyforcshtml in template isthere adebugtool?Examplefor thiscode
if Imake amistake(I write"where" insteadof"Where")it does not work,how tofind and debugthisthing.
Finally (ouuuf :D ), I think this is simple but I don't find the solution.it's how to fillaDropdown or a Dropdown multiple?...Icreate adocumenttype"DocTypeName" with a property "color"dropdown multiple, and when I instantiatethe documenttype it give me an empty dropdown multiple ,thenhowtofill it.?
You should really post different questions in different posts, but to answer this:
"Finally (ouuuf :D ), I think this is simple but I don't find the solution.it's how to fillaDropdown or a Dropdown multiple?...Icreate adocumenttype"DocTypeName" with a property "color"dropdown multiple, and when I instantiatethe documenttype it give me an empty dropdown multiple ,thenhowtofill it.?"
You add /edit the values in the datatype, go to Developer - Datatypes - add a drop down (or edit one that is already there) you can then add/edit values.
You can have as many datatypes as you like (so you can have as many drop downs as you like etc.)
Developper mode
Hi,
I've some questions.
Firstly I want to know if there is a developer mode in umbraco. ie a mode that allows you to test and view the result before publishing it. This is possible in content section by saving the content and not to publish and view it with "Preview" button, but for the developer section when I change (for example) a template, and I want to see the content without publishing it, the problem is that when I click "save" it will change for members. so how do the developer to change and preview before its release to everyone.
secondly for cshtml in template is there a debug tool? Example for this code
if I make a mistake (I write "where" instead of "Where") it does not work, how to find and debug this thing.
Finally (ouuuf :D ), I think this is simple but I don't find the solution.it's how to fill a Dropdown or a Dropdown multiple?... I create a document type "DocTypeName" with a property "color" dropdown multiple, and when I instantiate the document type it give me an empty dropdown multiple , then how to fill it.?
Tank you very much for your help :)
Hi,
There is no preview mode for the templates.
It is more normal (for me at least) to have a development environment, once you're happy with the changes you promote them to your live site.
Having a development environment allows you to debug too, I suggest you look at WebMatrix (free) there's a good intro video here
http://umbraco.com/help-and-support/video-tutorials/getting-started/working-with-webmatrix
Rich
You should really post different questions in different posts, but to answer this:
"Finally (ouuuf :D ), I think this is simple but I don't find the solution.it's how to fill a Dropdown or a Dropdown multiple?... I create a document type"DocTypeName" with a property "color" dropdown multiple, and when I instantiate the document type it give me an empty dropdown multiple , then howto fill it.?"
You add /edit the values in the datatype, go to Developer - Datatypes - add a drop down (or edit one that is already there) you can then add/edit values.
You can have as many datatypes as you like (so you can have as many drop downs as you like etc.)
Rich
Thank you Rich, it's so helpful ^^,
is working on a reply...