I'm busy writing a sitecore solution for managing a news site. I have a NewsArticleLayout (used to display a NewsArticle article), with a NewsArticleMailPlaceholder, which I want to use to display a form where the user can enter a name and email address where the link to the news article should be sent.
The NewsArticleLayout page already has a NewsArticleSublayout with phNewsArticle entries, which currently correctly displays the data associated with the news article.
When I try to associate a form with this placeholder, it seems to me that I can reference placeholders in sublayers, not layouts, so I created MailNewsArticleSublayout and placed the phMailNewsArticle placeholder on it. Then I told the form to display in the NewsArticleLayout, using MailNewsArticleSublayout and the phMailNewsArticle placeholder.
However, when I view the page, my form does not appear. I made a full publication of my entire Sitecore content tree, nothing seems to have fixed it.
I even added a phEmail placeholder to the NewsArticleSublayout and linked it to the details of the form layout, but it also doesn't display anything.
Have I configured my form layout correctly? Is something missing here?
source
share