Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > News, templates, and inheritence. View modes: 
User avatar
Member
Member
rne - 8/7/2013 3:46:21 PM
   
News, templates, and inheritence.
I'm trying to get the following to work (which should be easy, but seems mindbogglingly difficult at the moment):

I'm working with a new portal site. Part of my document tree looks like this:

- News & Events (uses my Interior template)
--- News (uses my News template)
----- 2013 (a folder, which inherits its parent, "News")
------- News article 1 (A CMS.News item, which inherits its parent "News". Page template is inherited correctly, too (News template is selected and grayed out).


Now I have the following issue. The "News" page lists all of my news items correctly. However, when I click one of the news articles, they all inherit the wrong template, the interior template, which is used by "News & Events".
If I change the template for "News & Events" to the News template, the news articles are displayed correctly.

Can anyone tell me what I am missing here? I've never come across this with any of the ASPX template sites I've built, and all portal sites I've built all had the "News" section (with a listing of news articles) as one of the main documents and were never located deeper than [Site] / News (and articles below this) (and not [Site] / News & Events / News / etc. like I'm dealing with now).

User avatar
Member
Member
rne - 8/7/2013 3:53:52 PM
   
RE:News, templates, and inheritence.
Also, I can get a news item to show correctly when I go to the properties and change the "Inherit content" option to only the "News" page (and not page template settings).

My issue seems a lot like this topic now that I've read it; http://devnet.kentico.com/Forums/f65/t39193/Odd-behavior-from-News-Page.aspx

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/8/2013 1:02:00 AM
   
RE:News, templates, and inheritence.
Hello,

The issues look exactly the same for me :-)

Would it be possible to send us the site export or access to the CMS so we can check it directly there? There is something wrong set in the visual inheritance or in the web parts settings - but there are many possibilities so it would be faster to check it right ahead instead of guessing one by one.

Or, have you checked the sample Corporate site? In what way is your setup different?

Thank you.

Best regards,
Juraj Ondrus

User avatar
Member
Member
rne - 8/8/2013 8:21:38 AM
   
RE:News, templates, and inheritence.
Awesome.

Anywhere where I can send you any login information, so you can access it?

User avatar
Member
Member
Roy - 8/8/2013 8:37:53 AM
   
RE:News, templates, and inheritence.
Alright. This seems to have been fixed on our end.

Looks like I had the inheritence settings set up on the wrong side.

I initially had the PAGE set to "Inherit only masterpage", which caused the issues I was experiencing.

After changing this back to the default setting "Use page template setting" and updating the TEMPLATE to used "Inherit only masterpage", the news items started showing up correctly.

Looks like we were a little confused with the inheritence settings and what to configure where.

Resolved!