TAG: cms

Software Engineer. Stuff and nonsense. The usually short ramblings of Chris McKee.

Dear Umbraco… I Can Haz Content?!

Basic mission; code not my own. Create an advert type; consisting of URL and Image. Additional requirement created setting the type of advert (using uComponents) An AdvertContainer (Doc Type) With two 'types' of advert (i.e. 3rdparty/mpu) ThirdParty contains JS (no image/URL) MPU contains Image/URL var nodes = GetMultiNodeSelection(1101, "adverts"); Foists off into some god awful linq abuse… private IEnumerable<IContent> GetMultiNodeSelection(int id, string property) { var node = _contentService.GetById(id)…