New Post: Programmatic datatype creation
Thank you, mawtext, producing the tree definition worked perfectly!
View ArticleNew Post: Composite C1 - Localize News Articles Using News Module
I'm new to Composite C1, and am just starting to research into this powerful ASP.NET based CMS. How do I created a localized news module in Composite C1? Adding a new language in the C1 control panel...
View ArticleNew Post: Composite C1 - Localize News Articles Using News Module
Hi!In the Data perspective, expand Page data folders.Select Composite.News.NewsItem.On the toolbar, click Enable Localization. Follow the wizard's steps. Note. The button "Enable Localization" will...
View ArticleNew Post: Programmatically read the type of a property in a datatype
try following code: var dataTypeDescriptor = DynamicTypeManager.GetDataTypeDescriptor(typeof (IPage)); foreach( var field in dataTypeDescriptor.Fields) { if (!field.Inherited) { OutPut(field.Name + " "...
View ArticleNew Post: Programmatically read the type of a property in a datatype
Thx napernik for your reply! I now have the following code in my razor function file:@using CompositeC1Contrib.RazorFunctions; @using CompositeC1Contrib.RazorFunctions.FunctionProvider; @using...
View ArticleNew Post: Programmatically read the type of a property in a datatype
Yes, this line should do: @using Composite.Data.DynamicTypes; And of couse, OutPut - is something i use locally, in your case that would be@: @field.Name @field.InstanceType ... @: Max length...
View ArticleNew Post: Programmatically read the type of a property in a datatype
Thx! It worked for IPage! Can I do the same for a dynamic type called e.g. Books with properties such as ISBN, Title, Author etc.??
View ArticleNew Post: Programmatically read the type of a property in a datatype
Got it! simply replaced IPage with the dynamictype in question, e.g. Template.Books and it worked. Now, I just have to create jQuery mobile form elements on the fly depending on the type of the...
View ArticleNew Post: Importing images programmatically
I need to import a good number of images into composite. Since they all have caption info and are linked to other entities that I also need to import, I need to do this programmatically. The below adds...
View ArticleCreated Issue: Should LanguageSwitcher.cshtml use these methods instead? [1615]
(I do not know which thread this should go on but....)Reference: App_Data\Razor\composite\Navigation\LanguageSwitcher.cshtmlCurrently it uses the references from CompositeC1WebPage, but this can result...
View ArticleNew Post: Importing images programmatically
look at this:http://compositec1.codeplex.com/discussions/263638
View ArticleCreated Issue: An unfortunate error has occurred [1616]
Hi,I have downloaded the Composite C1 - Open Source ASP.NET CMS from compositec1.codeplex.com. Unziping the rar file I have run the with vs 10. In starup option one by one I have stacked on Create...
View ArticleNew Post: MS SQL Query
I have Composite C1 under HTML version and try to create new sql function I gave my connection string like so :"71.18.135.39, 1531";Initial Catalog=DataBase;User ID=DBO;Password=xxxxxxxxxx I then wrote...
View ArticleNew Post: Programmatically read the type of a property in a datatype
Ok. So now I can iterate through the properties and their types of a datattype. I use it for generating corresponding form elements. However, it does not give me access to information added to the form...
View ArticleNew Post: MS SQL Query
I guess you should use "Data Source=71.18.135.39,1531;Initial Catalog=DataBase;User ID=DBO;Password=xxxxxxxxxx;" Please check, for example, here for connection string formats:...
View ArticleNew Post: Item open in console?
mawtex, Thnx, got a lot further. The FormsWorkflow class (that I inherit my workflow from) provides access to most required data. the ActionLockingFacade provide a static method 'IsLocked' so i know...
View ArticleNew Post: Event Calender - RSS Feed
Hi, I'm using the event calendar package and need the possibility to publish the events as rss feed. Does someone has an idea ? Thorsten
View Article