Copy link to clipboard
Copied
I'm trying to develop a template to incorporate a sub header but finding it dificult to allocate the space. I've created the Header in the Template by using {module_pagename}. But there seems to be no where I can add ome custom text for a sub header embedded in a template. Any suggestions?
Thanks,
CF.
Copy link to clipboard
Copied
There is no "subheader" field for BC pages. You can use {module_pagename} and that outputs the "title" field for pages into your templates or pages, but there's no field for subheader so you'll have to manually add it yourself. And, since that subheader will change on your pages your best bet is to just include it in your page. If your template code looks like:
<div id="content">
<h1>{module_pagename}</h1>
{tag_pagecontent}
</div>
Then the first line of markup for your page using that template could be:
<h2 class="subheader">My subheading for this page</h2>
<div class="entry">
Your page content here.
</div>
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more