Template freezes im sitefinity 6.1

Posted by Community Admin on 04-Aug-2018 06:53

Template freezes im sitefinity 6.1

All Replies

Posted by Community Admin on 27-Nov-2013 00:00

Hey, I am creating a template in sitefinity new project and its working for sometime then automatically get frozon. I did not used javascript on that page means obviously it is not a problem with javascript. I am using NO THEMES as it does not require

Posted by Community Admin on 29-Nov-2013 00:00

Hi Mohammad,

This behavior is strange. We need to try and identify what is causing it. In order for us to do so, please specify what you are doing with your template. Is the template build on a master page or with Sitefinity's template editor? What placeHolders do you have on the template? Do you have any layout controls that execute certain logic behind them? Do you have any placeHolders in your <head> tag? What do you do in order to get the template to freeze?

Regards,
Ivan D. Dimitrov
Telerik

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 03-Jan-2014 00:00

Yes, template is build on Master Page. I am using the place holders for some sitefinity widgets and static html. I do not have any layout control you asked for. Yes, I have placeHolder in <head> tag for logo and login control. I just use that masterPage to create a template as directed on sitefinity forum, it runs fine on local machine but on live it dont allow me to edit as it gets frozen.
Thank you.

Posted by Community Admin on 03-Jan-2014 00:00

Hello Mohammad,

You seem to have answered your own question in this response. Default convention dictates that you can only have scripts, metadata and links to external files in your page's <head> tag. Placing ASP.Net controls such as Sitefinity widgets in the <head> will cause your page editor to break or freeze as you like to put it.

I do not know why this behavior is only present on your live environment only, but it should be constant every time you place a widget in the placeHolder located in the <head>. What you can do to fix this behavior is the following:

  1. Publish the page from Pages->locate the page ->Actions-> Publish.
  2. Go to Actions->Template.
  3. Remove the current template by selecting No Template and clicking OK.
  4. At this point all of your controls will not have placeHolders so you will notice them being transparent and not having proper positioning.
  5. Delete the widgets that were placed in the <head> tag.
  6. Restore your template to the page.
  7. Delete the placeHolder that is in the <head> and refrain from placing such there in the future.
This will fix your current issue with the frozen page.

I hope this helps. Contact me if you have additional questions.

Regards,
Ivan D. Dimitrov
Telerik
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed