Custom CreatePublishingPageDialog in SharePoint? No problem!

Let’s imagine that we have multiple types of articles with multiple page layouts and we want to call Add a page dialog for each of them.

The problem is in SharePoint OOTB CreatePublishingPageDialog.aspx page which is called when you choose Add a page from Site Actions menu. Read the rest