Just confused as to how & where to put the code.
Watched the videos on umbraco.tv and read various other sites, and it's all done through Visual Studio.
Does this mean the site has to be built & published via Visual Studio in the first place?
Our site (7.3.0) was installed direct on the server from http://umbraco.com/download, how would I go about using events in this situation?
You'll need to create some .cs files to contain your code yes. You can stick that in the App_Code folder to avoid the need for compiling in Visual Studio if needs be.
Umbraco events, where does the code go?
Hi.
First time looking at using some Umbraco events, particularly ContentService events.
I understand all about events, and how to subscribe to them, as in this documentation https://our.umbraco.org/documentation/Getting-Started/Code/Subscribing-To-Events/
Just confused as to how & where to put the code. Watched the videos on umbraco.tv and read various other sites, and it's all done through Visual Studio. Does this mean the site has to be built & published via Visual Studio in the first place?
Our site (7.3.0) was installed direct on the server from http://umbraco.com/download, how would I go about using events in this situation?
Thanks, Mike
Hi Mike,
You'll need to create some .cs files to contain your code yes. You can stick that in the App_Code folder to avoid the need for compiling in Visual Studio if needs be.
Thanks David,
I'll give that a go first, see how it goes.
Cheers
is working on a reply...