New Post: Execute other functions -- lifecycle
I had a feeling there was more there but the reason i didn't bother exploring it more was because of the lifecycle. From my experiments the child functions are always executed first and the parent's...
View ArticleNew Post: Execute other functions -- lifecycle
OK so i took a look at your source and learnt a lot! But I still don't think what i want is possible because the difference between our approaches, from what i can tell, is that I am using a...
View ArticleNew Post: Execute other functions -- lifecycle
Yeah, that is a problem... One approach is to copy all the code of...
View ArticleNew Post: Execute other functions -- lifecycle
Agreed. I thought about that but then my solution becomes brittle and maintenance would be difficult in case the core product changes. Abusing session state is an acceptable workaround for me right now...
View ArticleNew Post: Execute other functions -- lifecycle
Looking at the history of the mentioned files, they haven't changes for two and three years so i wouldn't worry too much about that :) I would prob. look at HttpContext.Current.Items instead of Session...
View ArticleReleased: Composite C1 5.1 (Aug 17, 2016)
Get it on GitHub: Download here: https://github.com/Orckestra/C1-CMS/releases/tag/v5.1
View ArticleUpdated Release: Composite C1 5.1 (Aug 17, 2016)
Get it on GitHub:Download here: https://github.com/Orckestra/C1-CMS/releases/tag/v5.1
View ArticleNew Post: Composite C1 5.1 available
We are currently working on a project were we are going to need a selector which takes item from a hierarichical list. We were delighted when we saw the release notes from Composite C1 5.1 where a...
View ArticleNew Post: Creating MasterLayout.cshtml
I agree with janus this doesn't work. If you follow the documentation and remove the @inherits the editor will complain about the template not being derived from RazorPageTemplate. The screenshot in...
View ArticleNew Post: @Markup vs. InjectContainerElements
When would I use Layout.Helper.InjectContainerElements instead of just using @Markup in Razor page templates?
View ArticleNew Post: @Markup vs. InjectContainerElements
The standard way is to emit using @Markup - the Layout.Helper.InjectContainerElements function ship with some of the starter sites and works in conjunction with the bootstrap based templates, examining...
View ArticleNew Post: Creating MasterLayout.cshtml
Suggesting creating a Master Layout as a Razor template originally might not have been a good idea here. My bad. One should follow the steps above that start with words "Alternatively..." and create it...
View ArticleNew Post: ISSUU Player not available
hi, I'm looking to include the ISSUU player, but I can't find it under Available packages > Composite.Media
View ArticleNew Post: ISSUU Player not available
Hi! Unfortunately, the package is no longer available. We've just removed its page from the Add-On market, too. Sorry for the inconvenience.
View ArticleNew Post: ISSUU Player not available
@Deltaworks you can find the code for the package at https://github.com/Orckestra/C1-Packages/tree/master/Composite.Media.IssuuPlayer - we haven't spent time trying to fix it, but perhaps you want to...
View ArticleNew Post: Function names
I regret how i named some of my functions and how i organized them. For the most part they are all being used by a number of users so changing them now would break their sites. Is there an easy way or...
View ArticleNew Post: Function names
You can let the old function take the same parameters and simply execute the new, passing all parameters. Ala@Html.C1().Function(... new function name ..., ... all parameters ...)
View ArticleNew Post: Function names
Sorry i should have been more specific. The name changes need to be consumer facing. So if they used to use "FunctionFoo" they would now see "FunctionBar". Right now i'm thinking via permissions i...
View ArticleNew Post: XSLT function only renders in preview in the console
Hi Is it possible to make a xslt-function that only renders whatever it is assigned to do inside the C1 console in the preview tab? Meaning wrapping the code in a xslt:if statement where the value is...
View Article