Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Inline code not working View modes: 
User avatar
Member
Member
wukimus-hotmail - 12/4/2013 8:17:26 AM
   
Inline code not working
The following code use to work on all my pages to display the name of the current document

<%= CMS.CMSHelper.CMSContext.CurrentDocument.DocumentName.ToString() %>

For some reason this no longer works. Any suggestions?

Regards

User avatar
Member
Member
wukimus-hotmail - 12/4/2013 8:28:48 AM
   
RE:Inline code not working
I am thinking one of the developers accidentally turn off something in site manager

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 12/4/2013 9:29:21 AM
   
RE:Inline code not working
Hello,

So if I understand you correctly, your issue is solved now? Could you please confirm that?

Best regards,
Martin Danko

User avatar
Member
Member
wukimus-hotmail - 12/4/2013 11:09:39 AM
   
RE:Inline code not working
No its not. I was just wondering if it was some configuration issue that caused it to stop working suddenly

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 12/5/2013 7:34:45 AM
   
RE:Inline code not working
Hi,

Has something chanded in your configuration? Have you applied one of the latest hotfixes?
Which exact hotfix are you running at the moment?

Best regards,
Martin Danko

User avatar
Member
Member
wukimus-hotmail - 12/10/2013 7:13:47 AM
   
RE:Inline code not working
hey. i am not sure if another user changed something in the configuration. How do i check which hotfix i am running

Regards

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 12/8/2013 8:48:50 PM
   
RE:Inline code not working
wukimus-hotmail wrote: The following code use to work on all my pages to display the name of the current document

<%= CMS.CMSHelper.CMSContext.CurrentDocument.DocumentName.ToString() %>

For some reason this no longer works. Any suggestions?

Regards
Where is this used? Transformation? Webpart property value? Template page? Layout?

User avatar
Member
Member
wukimus-hotmail - 12/10/2013 7:12:02 AM
   
RE:Inline code not working
it was used in a page layout