Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Modern Sitemap and Footer View modes: 
User avatar
Member
Member
rafik4000-hotmail - 3/10/2011 12:04:28 AM
   
Modern Sitemap and Footer
hi,

I would like to add a Site map in the footer but vertical and I don't find a way to make it vertical.

To make you understand what I mean, here is a picture of an example:

User image

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 3/14/2011 3:03:29 AM
   
RE:Modern Sitemap and Footer
Hello,

The Sitemap webpart produces the unordered list in its HTML layout, so you can style it using CSS stylesheets as per your needs. However, you might want to amend the HTML so that there are the headings of the major sections of your page. This could be achieved via the RenderedHTML property of the sitemap control - you will use standard ASP.NET methods to parse it. Such approach is discussed here: http://devnet.kentico.com/Forums.aspx?forumid=36&threadid=7311 (there is described the CSS List Menu, however the principle is the same).

On the other hand, you could try to use 4 repeaters for this purpose and display just appropriate section of the web within each of them. This has a big advantage, you don't need to mess with HTML parsing, since you can define appropriate layout directly in the transformation.

Hope this sheds some light and you'll be able to achieve your aim.

Best regards
Ondrej Vasil