Re: Applying CSS classes based on page ID

2013-01-31 Thread Daniel Petroff
You could just create an additional placeholder to determine the id or class value and pull that through using rendertag. So for example create an option list called opt_Class, then use: >Page 1 The option list could have something like this: Page 1 >>> id="on1" Page 2 >>> id="on2" Page 3 >>> id="

Re: Publishing Draft pages

2013-01-31 Thread Marky T
Sorry just hijacking the thread :). Is it correct that the 'publish unreleased pages' checkbox only publishes pages that are in Workflow and NOT actual draft content that hasn't been submitted at all yet? We want our admins to be able to publish unreleased content to our QA system but they are

Re: Publishing Draft pages

2013-01-31 Thread Gavin Cope
That's correct, a page needs to have entered workflow to publish using that option. Prior to that, it is considered exactly what the name suggests, an author only draft that can't be published. Cheers, Gavin On 31 January 2013 21:26, Marky T wrote: > Sorry just hijacking the thread :). Is it

Re: Applying CSS classes based on page ID

2013-01-31 Thread Jian Huang
Hi guys, Elements.GetElement is known to cause performance and memory issues on the MS system when used too often. It is best to avoid it. Instead of using <%!! Context:CurrentPage.Elements.GetElement(opt_Class).GetHtml() !!%> You can simply use the placeholder as it is <%opt_Class%> On Thurs

Re: Applying CSS classes based on page ID

2013-01-31 Thread Hilmar Bunjes
Hi, > Elements.GetElement is known to cause performance and memory issues on the > MS system when used too often. It is best to avoid it. > > Instead of using > <%!! Context:CurrentPage.Elements.GetElement(opt_Class).GetHtml() !!%> > > You can simply use the placeholder as it is > <%opt_Class%>

Re: Setting up a new V.11 on Windows Server 2008 R2

2013-01-31 Thread Hilmar Bunjes
> I had the same problem of losing user GUIDS when moving RedDot to new > servers - especially an issue if users have thing s saved in draft as they > become set to 'unknown user'. > To get around the problem and assuming that the user names from LDAP are > unique I wrote some code to: > > Ex

Re: Applying CSS classes based on page ID

2013-01-31 Thread Jian Huang
Good suggestions. I thought he was until I saw a placeholder <%anc_page1%> in his sample code On Thursday, January 31, 2013 11:10:01 AM UTC-5, Hilmar Bunjes wrote: > > Hi, > >> Elements.GetElement is known to cause performance and memory issues on >> the MS system when used too often. It is be

Re: Setting up a new V.11 on Windows Server 2008 R2

2013-01-31 Thread Jian Huang
Alternatively, the other recently discovered method, which do not require database access. I will create a more format blog post later Problem with LDAP user is that GUID changes upon user creation. How to keep it the same >From server manager, you can backup administrative settings.