New Post: Reusing content from one web page in another
napernik wrote:If you're planning to have multiple languages on the site, it has sense to save the language information as well.Thanks for that. I'm glad to know that I'm doing this in the right way.We...
View ArticleNew Post: Reusing content from one web page in another
Yes - page ID's do not change with language. Here is how you can check the language of a URL: CultureInfo culture = PageUrls.ParseUrl(URL).LocalizationScope;And here is how you would be explicit about...
View ArticleNew Post: Data Usage
s093294 wrote:I noticed that in the log viewer it wrote a line around once a sec. But again, thats maybe 50bytes pr sec. Nothing near the numbers i experience right now.If you have "writebacks" enabled...
View ArticleNew Post: Data Usage
It writes this line every sec or so. If the intention is to write every time it syncs something back to the blob.(yes write back is enabled). Then that might account for it. But why would it write...
View ArticleNew Post: Event subscriptions - best practices
OK. It worked. the code: [ApplicationStartup]publicclass TestStartupEvents {static TestStartupEvents() {//RegisterEvents();return; }publicstaticvoid OnBeforeInitialize() {//RegisterEvents();return;...
View ArticleNew Post: Data Usage
>> I cant find the location of the xml file to disable the logging?/App_Data/Composite/Composite.config
View ArticleNew Post: Event subscriptions - best practices
Application start in global.asax run before the data system is initialized so this would only work if you place your code after our unit code there. I'd suggest that you use our ApplicationStartup...
View ArticleNew Post: Event subscriptions - best practices
About the OnNew event - you shouldn't manipulate your cache on this one. OnNew gets fired when DataConnection.New<T>() is called and you can set things like default value on properties before the...
View ArticleNew Post: Data Usage
Please post about you experience - you findings sure sound like we can improve either product or documentation.
View ArticleNew Post: Data Usage
Thank you. And yes that was exactly the case.Question is now. Can i apply a quick fix for now to lowering the costs.And an easy solution to the problem would be to add a zip compression such the log...
View ArticleNew Post: Data Usage
@s093294 are you running a std. Composite C1 or do you also have custom code which would have disk activity?
View ArticleNew Post: Data Usage
No custom code. Only a std Composite C1 site that i have added two sites to. So 1 deployment with 3 sites.
View ArticleNew Post: Data Usage
I can't come up with a quick fix (like a config switch), but we will address this asap.
View ArticleNew Post: News Package - grouping data items
Currently my news datafolder is getting larger as it is grouping items by day. How can I change the grouping from by day to by (year, month, day). For example:-2013 --January---2013-01-10 - 2012...
View ArticleNew Post: News Package - grouping data items
Tree Definitions! See http://docs.composite.net/Console/Tree-Definitions-Primer
View ArticleReopened Issue: Can't delete data B when referencing foreign data A [1306]
<p>I have two datatypes</p><p> </p><p>A and B</p><p> </p><p>B has a foreign key reference to A with settings AllowCascadeDeletes...
View ArticleNew Post: Reusing content from one web page in another
Thanks. I'll only be cloning pages within the same language site, so I doubt I'll need the CultureInfo at the moment... but it's useful to know that it's there.I've just spent the afternoon "in the...
View ArticleCommented Issue: Can't delete data B when referencing foreign data A [1306]
I have two datatypesA and BB has a foreign key reference to A with settings AllowCascadeDeletes = false, NullReferenceValue = null, NullableString = trueWhen deleting an instance of B which has...
View ArticleNew Post: News Package - grouping data items
Thanks. Great instructions. I was able to group them by year and month, but unable to get it to group by another level. Is the following example possible?Example:News Entries -2012 (1st level...
View ArticleNew Post: News Package - grouping data items
Well, thought I had it. The news records are display under Website Items and I can open the records by using the add or edit window, but when I try to save I get a message ( "NewsItems" has been...
View Article