Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Browsing all 2540 articles
Browse latest View live

New Post: XSLT function only renders in preview in the console

It is doable - you first need to create a new C1 Function that expose the value of PageRenderer.RenderingReason and then include this in your XSLT. Your new function you can make as a C# Function. See...

View Article


Released: Composite C1 5.2 (Sep 06, 2016)

Get it on GitHub: Download here: https://github.com/Orckestra/C1-CMS/releases/tag/5.2

View Article


Updated Release: Composite C1 5.2 (Sep 06, 2016)

Get it on GitHub:Download here: https://github.com/Orckestra/C1-CMS/releases/tag/5.2

View Article

New Post: Function names

@TheRocket786, @burningice Show your interest here https://github.com/Orckestra/C1-CMS/issues/229

View Article

New Post: XSLT function only renders in preview in the console

OK, Does anyone by any chance have a simple example of an inline C# function that exposes the RenderingReason value. I'm quite fucked when it comes to C# :-/ Is there any documentation on how to...

View Article


New Post: XSLT function only renders in preview in the console

Add Inline C# Function Name: PageRequestReasonNamespace: Composite.Web.Request (click "Finish") Paste in code below and save.using System; using Composite.Core.WebClient.Renderings.Page; namespace...

View Article

New Post: XSLT function only renders in preview in the console

It does help a lot, Only 1 thing: If I insert the function in the xslt ( <f:function xmlns:f="http://www.composite.net/ns/function/1.0" name="Composite.Web.Request.PageRequestReason" /> ) it...

View Article

New Post: XSLT function only renders in preview in the console

In your XSLT add a call to the PageRequestReason function as an input to your XSLT (i.e. add the call on the "Functions" tab) - then you get the info in the bog ol' XML document your XSLT is working on.

View Article


New Post: XSLT function only renders in preview in the console

Yes of course, thanx alot, You da man mawtex!!

View Article


New Post: Question: Adding custom selectors in datatypes to display multiple...

I have two datatypes…The first “Subjects” datatype has three fields: Id, SubjectLevel (data reference), SubjectName (string 64 – used as title field in lists). The SubjectLevel field has one of two...

View Article

New Post: Question: Adding custom selectors in datatypes to display multiple...

Sounds like you could save yourself a lot of headache by handling it in C#Make a static method that returns a Dictionary<string, string>In the method, make sure that the Key of every entry is the...

View Article

New Post: Disable Auto Sorting in DataIdMultiselector and custom...

After updating to Composite C1 5.0, all multiselector widgets start to sort their values automatically. Previously there was no such sorting and several multiselectors (String.Selector with custom...

View Article

New Post: Disable Auto Sorting in DataIdMultiselector and custom...

It's been reported and now it seems to be fixed in one of the branches. Please see here: https://github.com/Orckestra/CMS-Foundation/issues/186

View Article


New Post: Permissions on CompositionContainerElements

Is it possible to set granular permissions on CompositionContainerElements? I'd like to provide editors their own Tab where they can tweak certain properties of a site but Users should not see it. Thanks,

View Article

New Post: Question: Adding custom selectors in datatypes to display multiple...

Thanks burningice. That works better! However, when I have a larger number of results to return, how can I:Reduce the load? I've tried inserting a join in the foreach statement, but that didn't work....

View Article


New Post: Question: Adding custom selectors in datatypes to display multiple...

It should be doable to do a join like thisvar allSubjects = connection.Get<University.Subjects>(); var allEducationLevels = connection.Get<University.EducationLevels>(); var joined = from...

View Article

New Post: How to compile .less files locally and upload only the css files on...

I'm getting an error "Compiling less caused a scripting host error. fs.js:666 So, .less files can not be compiled on my live site, I'm using shared hosting, and node.exe doesn't have permission to read...

View Article


New Post: Question: Adding custom selectors in datatypes to display multiple...

Thanks burningice. I've got that working now.

View Article

New Post: Make a Web Application by default: Website project is outdated

I'd also like to see this become a WAP instead of a WSP because of the problems of trying to get a WSP to build via VSTS CI. It doesn't seem as if WSPs lend themselves to CI very well. Does anyone have...

View Article

New Post: Help. The Package Did Not Validate.

I'm getting this error when I try to install Composite.News:The package did not validate The interface type 'Composite.News.NewsItem' is already exists in the system The package was previously...

View Article
Browsing all 2540 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>