Site structure
Version 4.x > Site structure > Urgent: How to open specific page in CMS Desk just after login View modes: 
User avatar
Member
Member
Anuj - 10/20/2009 4:50:49 AM
   
Urgent: How to open specific page in CMS Desk just after login
Hi,

Whenever I am logging in CMS Desk it is showing Master page for editing by default. I will have to move to some other page when by selecting it for editing.

But I need that It should display that page in CMS Desk from where I am moving to CMS Desk. So I could make changes directly in that page.

It will reduce my working time.

If anyone has a proper solution on this point. So please help me.

Thanks in advance.....

Anuj

User avatar
Member
Member
Anuj - 10/20/2009 4:56:09 AM
   
RE:Urgent: How to open specific page in CMS Desk just after login
In my last post I forgot to specify that I am using Kentico CMS 4.1 free edition and I am using Visual Studio 2008 with .NET Framework 3.5 for editing.

So please make sure that the solution will work properly in this environment.

Thank You
Anuj

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 10/22/2009 7:10:44 AM
   
RE:Urgent: How to open specific page in CMS Desk just after login
Hello,

You can ensure this in ~\CMSPages\logon.aspx.cs file in Login1_LoggedIn method. You can redirect user to URL like the one bellow (i.e. the node is specified by its node id in query string):
http://localhost/MartinD-4.1-01-CS/CMSDesk/default.aspx?section=content&action=edit&nodeid=6&culture=en-US

You can see proper URL e.g. in address bar of your browser after you click on particular document in 'CMS Desk -> My Desk -> Recent documents' section.

Best Regards,

Martin Dobsicek