ASPX templates
Version 5.x > ASPX templates > News does not render on live site View modes: 
User avatar
Member
Member
myaron-ptd.co - 3/9/2011 10:33:19 AM
   
News does not render on live site
I Installed v5.5 for testing and on a new aspx site that I created I added the news control.

In the CMS Desk preview I can see the news well but under the Live Site and also outside the CMS Desk I don't see the news at all and I'm getting only the caption (Latest news)

I installed the corporate aspx template and its working fine there but I didn't found any difference between the two pages.

Also - Is it possible that the news will be shown in one line only with the Summary ?

Thanks


User avatar
Kentico Support
Kentico Support
kentico_radekm - 3/9/2011 11:03:52 AM
   
RE:News does not render on live site
Hello.

By "News control" you mean some News web part (which one?) or new document of cms.news document type, please? If document - are you using workflow? If you mean some News web part, could you please check that all properties (Path, Document types, Transformation) are set properly? Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
myaron-ptd.co - 3/9/2011 12:25:55 PM
   
RE:News does not render on live site
I'm using the news web part, you can see the code below.

Everything is working fine and I can see the news well in the CMS Desk edit and preview modes but in the Live Site mode and also outside Kentico environment I don't see the news at all.



<%@ Register Src="~/CMSWebParts/Viewers/Effects/ScrollingText.ascx" TagName="ScrollingNews" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="plcMain" Runat="Server">

<cms:WebPartContainer ID="wpcScrollingNews" runat="server" ContainerName="BlackBox"
ContainerTitle="Latest news">
<uc1:ScrollingNews runat="server" ID="ScrollingNews" Path="/News/%" ClassNames="CMS.News"
SelectTopN="10" TransformationName="CMS.News.NewsPreviewWithSummary" JsMoveTime="1000"
JsStopTime="5000" DivWidth="700" DivHeight="115"
OrderBy="NewsReleaseDate DESC" EnableViewState="false" />
</cms:WebPartContainer>
</asp:Content>




User avatar
Kentico Support
Kentico Support
kentico_radekm - 3/16/2011 2:25:17 AM
   
RE:News does not render on live site
Hello.

Can you check/confirm that given page, containing this web part, and given news items are published? Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
myaron-ptd.co - 3/16/2011 6:02:52 AM
   
RE:News does not render on live site
I found that JavaScript code that the page is using causing this problem.
I will check which part of it and I will let you know.

Thanks for the help