Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Preview Link at the top of the page View modes: 
User avatar
Member
Member
benito@liquidvision.com - 7/13/2010 8:47:48 PM
   
Preview Link at the top of the page
Hi Support,

How can I prevent the 'close Preview link' at the top of the page from displaying? I've created a document type with custom form that contains a hyperlink w/c opens a popup page. When I'm logged in to CMSDesk and click that link from the editing form, it always shows that little 'preview' link at the top of the page in the popup. It's annoying to be honest. Is there a way to turn this off?

Thanks,
Benito

User avatar
Kentico Developer
Kentico Developer
Kentico_IvanaT - 7/27/2010 5:32:34 AM
   
RE:Preview Link at the top of the page
Hi Benito,

this behavior is caused by cookies. The same cookie is used in all tabs of your browser. That‘s the reason why the ‘preview ‘ link is at the top of the page. So if you open popup page in a new instance of browser or in a different browser, preview link at the top will not be displayed.

Or I would recommend you to use following code in your site´s stylesheet:

.PreviewInfo
{
display:none;
}

.PreviewInfoLink
{
display:none;
}

Best Regards,
Ivana Tomanickova

User avatar
Member
Member
benito@liquidvision.com - 7/27/2010 5:54:26 PM
   
RE:Preview Link at the top of the page
Hi Ivana,

Thank you for your solution. That works for now and hides the 'preview' link though there is still a little gray box showing at the top of the page. But I don't mind about.

Cheers,
Benito