.NET CMS
.NET CMS > .NET CMS online support forum > Forum of online support > Configuration

News feed in left bar

Author
Date & Time
RSS Message Operations
Anne Yeiser
notdefinite
art@fastzone.com
Anne Y

Is it possible to put the news feed that displays last in the left bar at the first position or 2nd position? Thank you.
Andrea Bruno
male
customercare@officialguide.info
Webmaster

.NET provides the master page. On this page you can decide the order of rendering of the common elements, and what appears in the sidebars:
http://msdn.microsoft.com/en-us/library/vstudio/wt...

Master pages allow you to create a consistent look and behavior for all the pages (or group of pages) in your web application.

A master page provides a template for other pages, with shared layout and functionality. The master page defines placeholders for the content, which can be overridden by content pages. The output result is a combination of the master page and the content page.

The content pages contain the content you want to display.

When users request the content page, ASP.NET merges the pages to produce output that combines the layout of the master page with the content of the content page.

If you open the "masterpage.master.vb", you can find this Sub: SetElements (here you can move the code elements and create a different rendering order).

To work with RSS feeds I created a module named app_code/FeedsRssManager.vb, this module contains all of the commands for working with RSS, I have not had time to write the documentation, but it is quite intuitive.

The CMS provides an index of RSS content set by the Setup inside the page $YOUR-DOMAIN$/default.aspx?Sw=2. These contents I have preferred to separate them from the default home page for not having a heavy load.


Now in chat
© 2024 http://cmsaspnet.com/.NET CMS 5.31