<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>CompositeC1Contrib</title><link>http://compositec1contrib.codeplex.com/project/feeds/rss</link><description>User contributions, hacks and optimization to Composite C1 CMS.</description><item><title>Source code checked in, #4c31794cd46c</title><link>http://compositec1contrib.codeplex.com/SourceControl/changeset/changes/4c31794cd46c</link><description>Added base UserControl class which can be inherited to get access to default C1-related data and functionality.</description><author>Pauli Østerø</author><pubDate>Tue, 23 Apr 2013 15:32:02 GMT</pubDate><guid isPermaLink="false">Source code checked in, #4c31794cd46c 20130423033202P</guid></item><item><title>Source code checked in, #be940f65fd3d</title><link>http://compositec1contrib.codeplex.com/SourceControl/changeset/changes/be940f65fd3d</link><description>Added support for filtering on Property Values when listing all instances of a specific type.</description><author>Pauli Østerø</author><pubDate>Tue, 23 Apr 2013 13:31:08 GMT</pubDate><guid isPermaLink="false">Source code checked in, #be940f65fd3d 20130423013108P</guid></item><item><title>New Post: Creating Packages</title><link>http://compositec1contrib.codeplex.com/discussions/439353</link><description>&lt;div style="line-height: normal;"&gt;Thanks for the comments.&lt;br /&gt;
&lt;/div&gt;</description><author>s093294</author><pubDate>Fri, 12 Apr 2013 19:18:40 GMT</pubDate><guid isPermaLink="false">New Post: Creating Packages 20130412071840P</guid></item><item><title>New Post: Creating Packages</title><link>http://compositec1contrib.codeplex.com/discussions/439353</link><description>&lt;div style="line-height: normal;"&gt;Hey!&lt;br /&gt;
&lt;br /&gt;
Its pretty simple creating packages that support upgrades. I've done this since day 1, but it requires you to do some manual work, and not rely on too many WYSIWYG editors, like the Package Created from Composite.&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;
You're absolutely right about the allowOverwrite attribute, this should be set to true to enable smooth upgraded. Otherwise you require the user to always uninstall the existing package first.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;
Use file based functions instead of the C1 XSLT functions. This means, at the moment, UserControls or Razor. These doesn't require any registrations in C1 and therefor doesn't contain any bloat and enables smooth upgrades without error messages like &amp;quot;this function already exists&amp;quot;.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;
Always, i can't emphasize this enough, always use static types. Dynamic types are cool for rapid prototyping, and maybe that small website you created for your grandmas birthday, but shouldn't be used in production on larger scale solutions.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;
Use the TransformXmlPackageFragmentInstaller (CompositeC1Contrib.PackageFragmentInstallers.TransformXmlPackageFragmentInstaller) when you need to make configuration changes. This follows the format from Nuget.&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;
If you follow these simple steps, you can always do smooth upgrades of both datatypes, functions and files, and is only required to write own FragmentInstaller if its very important to delete old files during an upgrade.&lt;br /&gt;
&lt;/div&gt;</description><author>burningice</author><pubDate>Mon, 08 Apr 2013 08:51:13 GMT</pubDate><guid isPermaLink="false">New Post: Creating Packages 20130408085113A</guid></item><item><title>New Post: Creating Packages</title><link>http://compositec1contrib.codeplex.com/discussions/439353</link><description>&lt;div style="line-height: normal;"&gt;I have been going over some of the C1 packages and now the packages in the this Contrib. &lt;br /&gt;
I started out having set allowOverwrite=&amp;quot;false&amp;quot; in my install.xml as thats what i saw in the packages in C1 Packages.&lt;br /&gt;
&lt;br /&gt;
When going over these, i find its set to true in most cases.&lt;br /&gt;
&lt;br /&gt;
I experiences alot of problems that i am not allowed to install my package when its already installed. Validation error saying some files already exists. Do this have something to do with the allowOverwrite being true or false?&lt;br /&gt;
&lt;br /&gt;
If i would like to update my package and need to adjust some datalayers, would the right way to go be to create my own class inhering from BasePackageFragmentInstaller to check if a old version is already installed?&lt;br /&gt;
&lt;/div&gt;</description><author>s093294</author><pubDate>Sat, 06 Apr 2013 14:06:55 GMT</pubDate><guid isPermaLink="false">New Post: Creating Packages 20130406020655P</guid></item><item><title>Source code checked in, #57a7151ed256</title><link>http://compositec1contrib.codeplex.com/SourceControl/changeset/changes/57a7151ed256</link><description>Updated MasterPage implementation for C1 4.0.&amp;#10;Refactored IContentFilters into Core so it can be used across different Function and Template Providers.</description><author>Pauli Østerø</author><pubDate>Mon, 14 Jan 2013 16:24:09 GMT</pubDate><guid isPermaLink="false">Source code checked in, #57a7151ed256 20130114042409P</guid></item><item><title>Created Issue: Problem sorting pages with ampersand [8658]</title><link>http://compositec1contrib.codeplex.com/workitem/8658</link><description>We hade a problem with the sorting plugin for pages with ampersand in the menu title.&lt;br /&gt;&lt;br /&gt;Fix&amp;#58;&lt;br /&gt;in&amp;#58; &amp;#47;Composite&amp;#47;InstalledPackeges&amp;#47;CompositeC1Contrib.Sorting&amp;#47;SortPages.aspx&lt;br /&gt;&lt;br /&gt;On line 81 use&amp;#58;&lt;br /&gt;&amp;#34;HttpUtility.HtmlEncode&amp;#40;instance.GetLabel&amp;#40;&amp;#41;&amp;#41;&amp;#34;&lt;br /&gt;&lt;br /&gt;Instead of&amp;#58;&lt;br /&gt;&amp;#34;instance.GetLabel&amp;#40;&amp;#41;&amp;#34;&lt;br /&gt;</description><author>erikwelcom</author><pubDate>Sun, 25 Nov 2012 12:52:14 GMT</pubDate><guid isPermaLink="false">Created Issue: Problem sorting pages with ampersand [8658] 20121125125214P</guid></item><item><title>New Post: Problem with installing sorting package</title><link>http://compositec1contrib.codeplex.com/discussions/403145</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Sorry... Startersite, we are the default startersite!&lt;/p&gt;
&lt;/div&gt;</description><author>erikwelcom</author><pubDate>Wed, 14 Nov 2012 14:45:24 GMT</pubDate><guid isPermaLink="false">New Post: Problem with installing sorting package 20121114024524P</guid></item><item><title>New Post: Problem with installing sorting package</title><link>http://compositec1contrib.codeplex.com/discussions/403145</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;No other packages installd.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;/div&gt;</description><author>erikwelcom</author><pubDate>Wed, 14 Nov 2012 14:44:46 GMT</pubDate><guid isPermaLink="false">New Post: Problem with installing sorting package 20121114024446P</guid></item><item><title>New Post: Problem with installing sorting package</title><link>http://compositec1contrib.codeplex.com/discussions/403145</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;which startersite are you using? have you installed other C1Contrib packages?&lt;/p&gt;
&lt;/div&gt;</description><author>burningice</author><pubDate>Wed, 14 Nov 2012 10:22:02 GMT</pubDate><guid isPermaLink="false">New Post: Problem with installing sorting package 20121114102202A</guid></item><item><title>New Post: Problem with installing sorting package</title><link>http://compositec1contrib.codeplex.com/discussions/403145</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Our first project using Composite. So this question might be stupid..&lt;/p&gt;
&lt;p&gt;But when we try to install the Contrib.Sorting plugin we get an error:&lt;/p&gt;
&lt;p&gt;&amp;quot;This install zip-filer does not contain the file&lt;br&gt;
'~\Bin\CompositeC1Contrib.Core.dll'&lt;/p&gt;
&lt;p&gt;The install zip-file does not contain the file&lt;br&gt;
'~\Bin\CompositeC1Contrib.Sorting.dll'&lt;/p&gt;
&lt;/div&gt;</description><author>erikwelcom</author><pubDate>Wed, 14 Nov 2012 09:57:56 GMT</pubDate><guid isPermaLink="false">New Post: Problem with installing sorting package 20121114095756A</guid></item><item><title>New Post: Can't install UserControlFunctions</title><link>http://compositec1contrib.codeplex.com/discussions/397569</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Using C1 3.2, I install package UserControlsFunction, but it show error&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The type or namespace name 'FunctionProvider' does not exist in the namespace 'CompositeC1Contrib' (are you missing an assembly reference?)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;How to fix it?&lt;/p&gt;
&lt;/div&gt;</description><author>dhvan85</author><pubDate>Mon, 01 Oct 2012 17:59:35 GMT</pubDate><guid isPermaLink="false">New Post: Can't install UserControlFunctions 20121001055935P</guid></item><item><title>Source code checked in, #bce3ed2614bb</title><link>http://compositec1contrib.codeplex.com/SourceControl/changeset/changes/bce3ed2614bb</link><description>Refactored lots and lots of code from DanskReturSystem into the FormBuilder&amp;#10;package.&amp;#10;The package now works with Class Based forms &amp;#40;known as system forms&amp;#41;&amp;#10;and they will also show up in the Console Tree. Class Based forms use attributes&amp;#10;to define validation rules, datasources, labels and submit actions.&amp;#10;Goal is to let editors define ie. labels, helptext and validation messages&amp;#10;regardless of a form is user- or system defined.</description><author>Pauli Østerø</author><pubDate>Mon, 27 Aug 2012 14:49:37 GMT</pubDate><guid isPermaLink="false">Source code checked in, #bce3ed2614bb 20120827024937P</guid></item><item><title>Created Issue: Can't install UserControl Functions  [8657]</title><link>http://compositec1contrib.codeplex.com/workitem/8657</link><description>1. Use a fresh install of Composite C1 3.2 &amp;#40;XSLT-based, for example&amp;#41;.&lt;br /&gt;2. Install the latest version of the UserControl Functions package &amp;#40;v. 1.4.2 as I write&amp;#41;&lt;br /&gt;&lt;br /&gt;Expected&amp;#58; The package installs OK.&lt;br /&gt;Actual&amp;#58; It fails to install with this YSOD&amp;#58;&lt;br /&gt;&lt;br /&gt;Server Error in &amp;#39;&amp;#47;&amp;#39; Application.&lt;br /&gt;Compilation Error&lt;br /&gt;Description&amp;#58; An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.&lt;br /&gt;&lt;br /&gt;Compiler Error Message&amp;#58; CS0234&amp;#58; The type or namespace name &amp;#39;FunctionProvider&amp;#39; does not exist in the namespace &amp;#39;CompositeC1Contrib&amp;#39; &amp;#40;are you missing an assembly reference&amp;#63;&amp;#41;&lt;br /&gt;&lt;br /&gt;Source Error&amp;#58;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Line 25&amp;#58;       &amp;#60;&amp;#47;controls&amp;#62;&lt;br /&gt;Line 26&amp;#58;       &amp;#60;namespaces&amp;#62;&lt;br /&gt;Line 27&amp;#58;         &amp;#60;add namespace&amp;#61;&amp;#34;CompositeC1Contrib.FunctionProvider&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;Line 28&amp;#58;       &amp;#60;&amp;#47;namespaces&amp;#62;&lt;br /&gt;Line 29&amp;#58;     &amp;#60;&amp;#47;pages&amp;#62;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Source File&amp;#58; .......&amp;#92;Web.config    Line&amp;#58; 27 &lt;br /&gt;</description><author>wysocki</author><pubDate>Mon, 18 Jun 2012 06:39:26 GMT</pubDate><guid isPermaLink="false">Created Issue: Can't install UserControl Functions  [8657] 20120618063926A</guid></item><item><title>New Post: Razor package wont install</title><link>http://compositec1contrib.codeplex.com/discussions/359576</link><description>&lt;div style="line-height: normal;"&gt;&lt;blockquote style="border: solid .1em #ccc; font-style: italic; margin: .25em 1em 0 1em; padding: 0 .25em 0 .25em;"&gt;&lt;strong&gt;burningice wrote:&lt;/strong&gt;&lt;br /&gt;
&lt;p&gt;...What i don't understand though, is why the install of RazorPackage doesn't overwrite the existing&amp;nbsp;CompositeC1Contrib.Core.dll file? Do you have an answer for that, wysocki? The are designed to be backward compatible, so an old version of MasterPages  should be able to use a never version of&amp;nbsp;CompositeC1Contrib.Core.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;@burningice&amp;nbsp;Just a "not-so-techy" guess:&lt;/p&gt;
&lt;p&gt;First, it might "use" the existing DLL (outdated) and, then, install the DLL from the package (up-to-date).&lt;/p&gt;
&lt;p&gt;I am not sure if this sequence is something currently configurable via install.xml?&lt;/p&gt;&lt;/div&gt;</description><author>wysocki</author><pubDate>Fri, 15 Jun 2012 11:08:58 GMT</pubDate><guid isPermaLink="false">New Post: Razor package wont install 20120615110858A</guid></item><item><title>New Post: Razor package wont install</title><link>http://compositec1contrib.codeplex.com/discussions/359576</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks for your effort Vitaly.&lt;/p&gt;
&lt;p&gt;I tried downloading latest masterpage package, but that fails to validate as well.&lt;/p&gt;
&lt;p&gt;But you did inspire me to try other ways to install the package:&lt;/p&gt;
&lt;p&gt;I tried uninstalling the UserControlFunctions package. After that i could install Razor without problem. However, installing the UnderControlFunctions again caused problems. Instead of crying, i restored from backup.&lt;/p&gt;
&lt;p&gt;Tried the same again, this time installing UserControlFunctions from zip file (latest version). Same result. Restore from backup.&lt;/p&gt;
&lt;p&gt;Last try:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After restore i checked if the site was still working. OK&lt;/li&gt;
&lt;li&gt;Manual override of CompositeC1Contrib.Core.dll. Site still working after an iisreset.&lt;/li&gt;
&lt;li&gt;Install Razor, no problems. Site is still up.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thank both of you for your time and help. Its nice to know there are someone out there :-)&lt;/p&gt;
&lt;p&gt;Looking forward to play with Razor in the near future. Seems like a nice mix of html and c#.&lt;/p&gt;&lt;/div&gt;</description><author>mkrarup</author><pubDate>Fri, 15 Jun 2012 11:07:49 GMT</pubDate><guid isPermaLink="false">New Post: Razor package wont install 20120615110749A</guid></item><item><title>New Post: Razor package wont install</title><link>http://compositec1contrib.codeplex.com/discussions/359576</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;ah yes.. the&amp;nbsp;&lt;span&gt;CompositeC1Contrib.Core assembly is shared between most of the Contrib-packages but is also distributed with the packages. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What i don't understand though, is why the install of RazorPackage doesn't overwrite the existing&amp;nbsp;CompositeC1Contrib.Core.dll file? Do you have an answer for that, wysocki? The are designed to be backward compatible, so an old version of MasterPages should be able to use a never version of&amp;nbsp;CompositeC1Contrib.Core.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>burningice</author><pubDate>Fri, 15 Jun 2012 10:07:29 GMT</pubDate><guid isPermaLink="false">New Post: Razor package wont install 20120615100729A</guid></item><item><title>New Post: Razor package wont install</title><link>http://compositec1contrib.codeplex.com/discussions/359576</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Follow up&lt;/p&gt;
&lt;p&gt;It seems that the &amp;quot;Contribution.CompositeC1Contrib.Renderings.MasterPage&amp;quot; package that installs with the C1 website is outdated.&lt;/p&gt;
&lt;p&gt;@mkrarup To fix the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Unistall &amp;quot;Contribution.CompositeC1Contrib.Renderings.MasterPage&amp;quot; on your website.
&lt;/li&gt;&lt;li&gt;Get the latest version of &amp;quot;Contribution.CompositeC1Contrib.Renderings.MasterPage&amp;quot; from
&lt;a href="http://compositec1contrib.codeplex.com/SourceControl/list/changesets"&gt;http://compositec1contrib.codeplex.com/SourceControl/list/changesets&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;Install this version. &lt;/li&gt;&lt;li&gt;Install the Razor Function package again. &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Hope this would help&lt;/p&gt;
&lt;p&gt;/Vitaly&lt;/p&gt;
&lt;/div&gt;</description><author>wysocki</author><pubDate>Fri, 15 Jun 2012 09:15:38 GMT</pubDate><guid isPermaLink="false">New Post: Razor package wont install 20120615091538A</guid></item><item><title>New Post: Razor package wont install</title><link>http://compositec1contrib.codeplex.com/discussions/359576</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;It's reproducible on the Master Pages based website. Logged an issue here &lt;a href="http://compositec1contrib.codeplex.com/workitem/8656"&gt;http://compositec1contrib.codeplex.com/workitem/8656&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><author>wysocki</author><pubDate>Fri, 15 Jun 2012 09:07:15 GMT</pubDate><guid isPermaLink="false">New Post: Razor package wont install 20120615090715A</guid></item><item><title>Edited Issue: Can't install the Razor Function package on the Master Pages based website [8656]</title><link>http://compositec1contrib.codeplex.com/workitem/8656</link><description>1. Install a brand new v. 3.2 website &amp;#40;via WebMatrix is OK&amp;#41;.&lt;br /&gt;2. Select the &amp;#34;ASP.NET Master Pages&amp;#34; based website in the setup wizard.&lt;br /&gt;3. When logged in to the C1 Console, install the package &amp;#34;Contribution.CompositeC1Contrib.RazorFunctions&amp;#34; &amp;#40;System &amp;#47; Packages &amp;#47; Available Packages&amp;#41;&lt;br /&gt;&lt;br /&gt;Expected&amp;#58; The package installs OK.&lt;br /&gt;Actual&amp;#58; The installation fails with the following error&amp;#58;&lt;br /&gt;&lt;br /&gt;The package did not validate&lt;br /&gt;&lt;br /&gt;Could not find install fragment type &amp;#39;CompositeC1Contrib.PackageFragmentInstallers.TransformXmlPackageFragmentInstaller, CompositeC1Contrib.Core&amp;#39;&lt;br /&gt;</description><author>wysocki</author><pubDate>Fri, 15 Jun 2012 09:06:31 GMT</pubDate><guid isPermaLink="false">Edited Issue: Can't install the Razor Function package on the Master Pages based website [8656] 20120615090631A</guid></item></channel></rss>