Shared Content - ASPX Master Page

Alonso Gonzalez asked on September 14, 2017 07:18

How can I edit the shared content between my pages under a aspx master template file ?

I have followed the steps here

But after adding a custom template page below my master page I can not see how to edit the shared areas I have in my master page ( for example the header and the footer )

Correct Answer

Trevor Fayas answered on September 15, 2017 02:24

you can't edit header footer using aspx. the master page is coded, one of the reasons Kentico doesn't recommend it.

I would go purely portal method, no reason to use aspx really.

make a portal master page, add your header/footer, and in the "middle" just add a page placeholder web part, vuala!

0 votesVote for this answer Unmark Correct answer

Recent Answers


Prashant Verma answered on September 14, 2017 08:20 (last edited on September 14, 2017 08:20)

Hi Alonso,

Can you please brief about which type of editing you want?

if you looking for site editing or edit the content placed inside editable webparts, editable image webpart or some other configurable webparts. You need to add those webpart in your custom page template.

You can take reference for custom page template layout editing Reference link

Let me know if any other help I can do.

Thanks

0 votesVote for this answer Mark as a Correct answer

Alonso Gonzalez answered on September 14, 2017 08:42

Hi Prashant.

I have a header/footer CMSWebPartZones in my ASPX master page, I want to be able to edit it from the pages application master page design tab, so the changes can be able to all the child pages that uses a aspx template with the MasterPageFile="~/Custom/Templates/Root.Master"

0 votesVote for this answer Mark as a Correct answer

Prashant Verma answered on September 14, 2017 12:29

Hi Alonso,

It seems your child pages aren't inheriting the master page template settings.

Check this document for your reference .

aa

set page nesting on your child pages.

0 votesVote for this answer Mark as a Correct answer

Alonso Gonzalez answered on September 14, 2017 16:37

This isn't visible when I select a page template from my custom aspx page templates. Any idea why ?

0 votesVote for this answer Mark as a Correct answer

Prashant Verma answered on September 14, 2017 18:54 (last edited on September 14, 2017 18:55)

Which kentico version you are using, for other kentico version it show like inherit master template. Yes one more thing you need to take care your custom page template which you are using for child pages should not checked the property of master page template or it should not be a master page.

0 votesVote for this answer Mark as a Correct answer

Alonso Gonzalez answered on September 14, 2017 19:11

Im using kentico 10.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.