ASPX templates
Version 5.x > ASPX templates > Show in navigation - not working properly View modes: 
User avatar
Member
Member
eoin-fusio - 4/30/2012 5:36:05 AM
   
Show in navigation - not working properly
Hi,

I've a main nav across the top, when you click into one of those top level nav pages you can see the subpages in the nav on the left.

Adding a new page and setting it so it doesn't show in the navigation works as expected. However, the page in question has lots of sub pages and if I set it to not appear in the nav then the subpages no longer appear in the left nav, so there doesn't appear to be a way to get to them anymore.

If I set the parent page to appear in nav then the left nav re-appears. This is weird as I've got other pages in the same site (not created by me) that appear to have the exact functionality I want. They don't appear in the main nav but when you go to them the left-size subpage all appear.

Any idea what I'm doing wrong?


User avatar
Kentico Support
Kentico Support
kentico_janh - 4/30/2012 6:40:30 AM
   
RE:Show in navigation - not working properly
Hello,

It sounds like a difference between absolute and relative path property in your left navigation web part. Could you please post an export of your web part settings (last link at the bottom of the web part's properties)?

Best regards,
Jan Hermann

User avatar
Member
Member
eoin-fusio - 4/30/2012 6:47:48 AM
   
RE:Show in navigation - not working properly
Hi,

thanks for the quick reply. I'll try and find where the web part properties are, although to be honest I didn't think I was using any web parts. In any case, I'll give it a go and will post what I find.

User avatar
Member
Member
eoin-fusio - 4/30/2012 6:50:46 AM
   
RE:Show in navigation - not working properly
hmm...ok, running out of options. Is this in the CMSDesk or Site Manager?

User avatar
Kentico Support
Kentico Support
kentico_janh - 4/30/2012 7:00:05 AM
   
RE:Show in navigation - not working properly
Hello,

Please check both of your web part properties:

CMS Desk -> Content -> <document or master page> -> Edit -> Design (tab) -> <navigation web part> -> <toothed wheel icon>


Best regards,
Jan Hermann

User avatar
Member
Member
eoin-fusio - 4/30/2012 8:12:49 AM
   
RE:Show in navigation - not working properly
I don't appear to have a design tab. Page -- Form -- Properties. Are the only ones I can see within the edit area.


User avatar
Member
Member
eoin-fusio - 4/30/2012 8:27:31 AM
   
RE:Show in navigation - not working properly
Just checking the documentation and it looks like the Design tab is for portal engine users which I don't think I am. Is this topic in the wrong forum maybe?

User avatar
Kentico Support
Kentico Support
kentico_janh - 4/30/2012 8:29:00 AM
   
RE:Show in navigation - not working properly
Hello,

Yes, I am sorry, my fault. You aren't using portal engine for developing your page templates. In your case the menu properties are right in the aspx templates in your filesystem.

Best regards,
Jan Hermann

User avatar
Member
Member
eoin-fusio - 4/30/2012 8:34:51 AM
   
RE:Show in navigation - not working properly
Hi,

no problem. I'm just getting familiar with Kentico so probably should have been clearer about portal vs template engine.

I any case I've gone to the Site Manager --Development -- Page Templates

But I can't see a properties tab for any of the templates I select.

User avatar
Kentico Support
Kentico Support
kentico_janh - 4/30/2012 8:46:15 AM
   
RE:Show in navigation - not working properly
Hello,

No, there is no properties tab, but on the General tab you can see a File name property which contains something like this:

~/CMSTemplates/CorporateSite/MyTemplateASPX.aspx


And this is a path to your filesystem, where the template is located. If you open this file, you will see a code for controls and web parts used on that template and you are looking for following web part:

<cms:cmslistmenu runat="server" ID="wM" Path="/%" ClassNames="CMS.MenuItem" MaxRelativeLevel="2" WhereCondition="MenuItemGroup <> 'footer' OR MenuItemGroup IS NULL" RenderCssClasses="True" />


Best regards,
Jan Hermann

User avatar
Member
Member
eoin-fusio - 5/2/2012 5:08:06 AM
   
RE:Show in navigation - not working properly
It turned out that the system I'm working with has propritary code added to it that was additional to the stock Kentico code, hence the problems with the nav.

Fixed it now though, thanks for all the help.

User avatar
Member
Member
vin4.net-gmail - 7/18/2012 1:30:04 PM
   
RE:Show in navigation - not working properly
Hi,

I am no getting any examples in upgrading Version 5.5R2 ASPX templates of an application into Version 6.0 portal engine templates.


Could you please guide me or show an example so that I can understand.

Thank you in advance.

Regards,
Vinod

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 7/19/2012 4:01:07 AM
   
RE:Show in navigation - not working properly
Hello.

Please refer to http://devnet.kentico.com/Forums/f57/t27765/Creating-custom-aspx-template.aspx

Best Regards,
Radek Macalik