|
Member
|
kyle.dahlgren-66fcu
-
4/2/2013 7:48:36 AM
Problem with shared sites template
|
|
|
Member
|
kyle.dahlgren-66fcu
-
4/2/2013 7:55:21 AM
RE:Problem with shared sites template
Here's an additional screenshot for the template document settings:
|
|
|
Kentico Legend
|
Brenden Kehren
-
4/2/2013 8:17:51 AM
RE:Problem with shared sites template
On your second site, do you have a stylesheet setup with the same class names that are in your current template? If not, it is most likely the cause of your problem.
|
|
|
Member
|
kyle.dahlgren-66fcu
-
4/2/2013 8:55:44 AM
RE:Problem with shared sites template
The template does not contain any class names. The other puzzling part of this problem is that I have another shared template that I'm using on the primary site that I set to bring over to the secondary site, and it's working. It's on a different page than what I'm using the problem template on, but it's working on both sites.
|
|
|
Member
|
kyle.dahlgren-66fcu
-
4/2/2013 9:32:03 AM
RE:Problem with shared sites template
I continued to play with this and found a funny little thing. The folder that contains the secondary site pages had the template set to Empty Master Page. The documents under it did not inherit from the parent, they used the template I thought had a problem. I changed the template for the folder that houses the secondary site pages to just the Empty template and magically the shared template content is now coming through on the secondary site pages. This seems a little buggy to me. It shouldn't matter what the folder template was set to; as long as the template for the page inside was using it's own template, the page template content should show up. Should I post this find to the bug reports thread?
|
|
|
Kentico Support
|
kentico_filipl
-
4/2/2013 9:53:50 AM
RE:Problem with shared sites template
Hello Kyle,
If you choose not to inherit page template from parent, there also comes up an Inherit content option which was probably set incorrectly and it caused unexpected behaviour.
Anyway, I am glad you were able to find the root of your problem and solve it by yourself.
Best regards, Filip Ligac
|
|
|
Member
|
kyle.dahlgren-66fcu
-
4/2/2013 12:12:45 PM
RE:Problem with shared sites template
The Inherit Content option was set to Use Page Template Settings, which on the template itself is set to Inherit Master Page Only. This should not have affected the secondary page. As I mentioned before, I had another shared template for a different page that was working just fine on both sites. Even if the page thought it should be inheriting the Empty Master Page template from the folder, there should have been something on the design tab because that Empty Master Page Template has webpart zones in the layout. Those were not showing up. The design was blank as was the page tab. It still seems like this is a bug with the template.
|
|
|
Kentico Support
|
kentico_jurajo
-
4/2/2013 3:11:48 PM
RE:Problem with shared sites template
Hi, Could you please clarify your Visual inheritance settings for given page template? Is there anything to be inherited from the master page of given site? Best regards, Juraj Ondrus
|
|
|
Member
|
kyle.dahlgren-66fcu
-
4/3/2013 7:33:07 AM
RE:Problem with shared sites template
Yes, the inheritance level for the template is set to inherit master page only. On the master page for the site there are several webpart zones containing webparts to be inherited, including a header and footer. None of these were showing on the pages that were using the shared template until I changed the template of the folder that contained the pages to the Empty page template. The pages were completely blank until I changed the folder template. Also the inheritance for the pages was set to use template settings which is set to inherit master page only. I didn't change that setting for this work, it is still set to use template settings for the pages. I only changed the folder template, which is why this doesn't make sense because the pages were not set to inherit from the parent.
|
|
|
Kentico Support
|
kentico_filipl
-
4/5/2013 2:55:54 AM
RE:Problem with shared sites template
Hello Kyle,
I have tried to reproduce the issue by creating a folder, setting a template for it and creating a new page under this folder with different template from the parent folder but the template settings for this page were applied correctly, i.e. I did not get empty page but standard web part zones for used template. The template settings were also set to Inherit only master page. I have tested it on the latest hotfix 7.0.28.
Could you write which hotfix version you are using so we can inspect this strange behaviour?
Best regards, Filip Ligac
|
|
|
Member
|
kyle.dahlgren-66fcu
-
4/23/2013 1:57:48 PM
RE:Problem with shared sites template
Yes, we are on version 7.0.17 of Kentico.
|
|
|
Kentico Support
|
kentico_filipl
-
4/24/2013 7:16:28 AM
RE:Problem with shared sites template
Hello Kyle,
I have tried the same steps I have mentioned in the post above for the hotfix 7.0.17 but got the same results. Could you confirm I am reproducing the issue correctly? If not, could you describe it step by step?
Thank you in advance.
Best regards, Filip Ligac
|
|