Placeholders in header section of topic page?

RH 8.02
Merged WebHelp
Has anyone figured a workaround for getting placeholders (breadcrumbs, mini-TOC) into the header section of a topic page, standard or master? (The placeholder options are dimmed when selecting header or footer.) Even if I try to sneak in the HTML, RH just blows it away or keeps it with no functionality.
Have they fixed this in RH9?
Leon

Boy, what the he*& were they thinking (the Adobe people)? Why would they allow the addition of "pseudo-header" content that works just like header content, but entirely outside the documented header-body-footer construct? Instead, in the case of my example below, they're transforming the "pseudo-header" placeholders in the master page into a placeholder-header hybrid in the topic assigned to the master page.
I wouldn't mind so much if they actually documented it, instead of sticking with this in their help:
Note: You cannot insert a placeholder inside a paragraph as inline text or in headers or footers.
My testing:
In a master page, add the HTML code for two placeholders (breadcrumbs and mini-TOC) "between" the <?rh-region_end type="header" ?> and <?rh-region_start type="body" ?> tags.
Assign the master page to a topic; that topic's source file now contains a <?rh-placeholder type="header" ?> tag after the <body> tag!
Generate the output; placeholders appear in the output.
Edit the master page (change the mini-TOC label, for example, from "In This Topic" to "See These Sections").
Generate again; the change appears in the output.
So, when they say (further up in their Master Page help topic):
When you create a topic using a master page, the body content is placed in the resulting topic. If you apply a master page to an existing topic, the body content is ignored. [except for the pseudo-header content in the body, you mean]
Wow!

Similar Messages

  • How can I edit the head section of a page made from a template?

    Humm,  I made a page from a template but now I cannot modify the <head> section...  I will need to add some HTML to the head section that will be different for at least this one specific page...

    Be aware that you CANNOT use the DW UI to add an editable region to the head. A properly made DW template always contains two editable regions in the head of the template: "doctitle" and "head".  If you do not have those, then as Nancy says, you will need to add them.
    To add an editable region to the head of your template page, just copy this and paste it in to some legal place in the head of the page (like immediately above </head>).
    <!--TemplateBeginEditable name="whatever"-->
    <!--TemplateEndEditable-->
    Change the name as needed.

  • How include an extra image in page header section.

    Hi,
    I need to include a new image in the blue header section of the page. There is already one corporate branding image in that header. The requirement is to include one more image in the middle of the header section.
    Any thoughts please?
    Abdul Wahid

    Thanks keerthi,
    Though I already tested this approach. The problem with this option was that its multi linugual and the two languages are English and Arabic and both are written in opposite direction...but image remains one directional..
    smiling..
    In other thread (https://forums.oracle.com/message/11258546#11258546)I could bring two images in header by adding an image child and setting its css properties in controller. However, I want this controller to be available on all the pages so that it can bring the image on all the pages.Thats why I thought to attach the controller to the footer region. But I think new item inclusion using personalization is not working in standard footer.
    Thanks bro..

  • How to create a link in the head section of BC template?

    Can anyone please explain so that even I can understand the reason why the following script does not work as I would expect?
    I am trying to append a line of html code to the <head> section of a Page Template.
    <script type="text/javascript">
    function loadScript() {
    if(window.location.href.indexOf("fish") > -1) {
    alert("the url contains the string fish");
    var csslink = document.createElement("link");
    csslink.setAttribute("rel", "canonical");
    csslink.setAttribute("type", "text/css");
    csslink.setAttribute("href", "http://www.xyz.com/fish/herring");
    document.getElementsByTagName("head")[0].appendChild(csslink);
    window.onload = loadScript();
    </script>
    Secondly if one cannot append to the <head> can one append to the <body> ?
    Any help appreciated.
    Kind regards
    PW

    Hello peterwulf,
    Looks like you're missing a } above the widow.onload. That should fix it.
    Hope this helps,
    Chad Smith - BC Gurus

  • How to change the header and footer in the Section Breaks Next Page using OpenXML?

    I have a word document file in which I added a Section Break of Next Page, now I want to change the header and footer of that page.
    Scenario of example, I have a doc file which has four pages with headers and footers and added fifth page in the section break next page, I want to change the header and footer of the fifth page only. This is achievable manually by deselecting the Link to Previous
    button in the Word Application but I don't know how to change it using XML?
    My code that adds the new page in the section breaks is:
    class Program
    static void Main(string[] args)
    string path = @"C:\Riyaz\sample.docx";
    string strtxt = "Hello This is done by programmatically";
    OpenAndAddTextToWordDocument(path,strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    using (DocX document = DocX.Load(@"C:\Riyaz\sample.docx"))
    document.InsertSectionPageBreak();
    Paragraph p1 = document.InsertParagraph();
    p1.Append("This is new section");
    document.Save();
    Please help.

    Here is the sample for your reference:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using DocumentFormat.OpenXml;
    using DocumentFormat.OpenXml.Packaging;
    using DocumentFormat.OpenXml.Wordprocessing;
    namespace WordAddNewFooterHeader
    class Program
    static void Main(string[] args)
    string path = @"E:\Document\TestHeaderandfooter-Copy.docx";
    string strtxt = "OpenXML SDK";
    OpenAndAddTextToWordDocument(path, strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    // Open a WordprocessingDocument for editing using the filepath.
    WordprocessingDocument wordprocessingDocument = WordprocessingDocument.Open(filepath, true);
    MainDocumentPart part = wordprocessingDocument.MainDocumentPart;
    Body body = part.Document.Body;
    //create a new footer Id=rIdf2
    FooterPart footerPart2 = part.AddNewPart<FooterPart>("rIdf2");
    GenerateFooterPartContent(footerPart2);
    //create a new header Id=rIdh2
    HeaderPart headerPart2 = part.AddNewPart<HeaderPart>("rIdh2");
    GenerateHeaderPartContent(headerPart2);
    //replace the attribute of SectionProperties to add new footer and header
    SectionProperties lxml = body.GetFirstChild<SectionProperties>();
    lxml.GetFirstChild<HeaderReference>().Remove();
    lxml.GetFirstChild<FooterReference>().Remove();
    HeaderReference headerReference1 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = "rIdh2" };
    FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rIdf2" };
    lxml.Append(headerReference1);
    lxml.Append(footerReference1);
    //add the correlation of last Paragraph
    OpenXmlElement oxl = body.ChildElements.GetItem(body.ChildElements.Count - 2);
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    SectionProperties sectionProperties1 = new SectionProperties() { RsidR = oxl.GetAttribute("rsidR", oxl.NamespaceUri).Value };
    HeaderReference headerReference2 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.HeaderParts.FirstOrDefault()) };
    FooterReference footerReference2 = new FooterReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.FooterParts.FirstOrDefault()) };
    PageSize pageSize1 = new PageSize() { Width = (UInt32Value)12240U, Height = (UInt32Value)15840U };
    PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U };
    Columns columns1 = new Columns() { Space = "720" };
    DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };
    sectionProperties1.Append(headerReference2);
    sectionProperties1.Append(footerReference2);
    sectionProperties1.Append(pageSize1);
    sectionProperties1.Append(pageMargin1);
    sectionProperties1.Append(columns1);
    sectionProperties1.Append(docGrid1);
    paragraphProperties1.Append(sectionProperties1);
    oxl.InsertAt<ParagraphProperties>(paragraphProperties1, 0);
    body.InsertBefore<Paragraph>(GenerateParagraph(txt, oxl.GetAttribute("rsidRDefault", oxl.NamespaceUri).Value), body.GetFirstChild<SectionProperties>());
    part.Document.Save();
    wordprocessingDocument.Close();
    //Generate new Paragraph
    public static Paragraph GenerateParagraph(string text, string rsidR)
    Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = rsidR };
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    Tabs tabs1 = new Tabs();
    TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 5583 };
    tabs1.Append(tabStop1);
    paragraphProperties1.Append(tabs1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = text;
    run1.Append(text1);
    Run run2 = new Run();
    TabChar tabChar1 = new TabChar();
    run2.Append(tabChar1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    paragraph1.Append(run2);
    return paragraph1;
    static void GenerateHeaderPartContent(HeaderPart hpart)
    Header header1 = new Header();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Header" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    header1.Append(paragraph1);
    hpart.Header = header1;
    static void GenerateFooterPartContent(FooterPart fpart)
    Footer footer1 = new Footer();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Footer" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    footer1.Append(paragraph1);
    fpart.Footer = footer1;
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Suppress the Page Header section on a specific Section

    Hello,
    I have a single page word document I want to append to the end of a report I have, so I placed it in Report Footer b. The word document fits perfectly on a single page without any header. I tried simply supressing the Page Header on the last page but because of the length of the the word document it gets cut in half, so the 2nd to last page includes a header and forces the word document onto 2 pages (one with a header and one without). I tried supressing the Page header the last and 2nd to last page, but that results in the printing of an extra page as the word document without a header only takes up one page.
    Is there some way to supress a section based on what section is currently printing ie.
    WhilePrintingRecords;
    Section "Report Footer b"
    I am open to any suggestions on how to simply add a report footer section without a page header.
    Thanks

    Unfortunately that also suppresses on the 1st report footer section (RFa)
    I tried adding an additonal conditon
    OnLastRecord AND Pagenumber >= TotalPageCount - 1
    However, this results in the addition of an extra blank page, which changes the page count to 1+ what it should be. This may confuse some users.
    Can I specify a specific record? How would I go about doing that?

  • How to control X-UA-Compatible  tag  in page head section?

    Hello !
    We are developing WebCenter Portal applications using JDeveloper 11.1.1.5.
    All our pages are based on ADF.
    Currently, we have 2 similar projects (actually – they are two different branches of same source project).
    But the have one unexpected difference - when I check html-code of generated pages in one project I see
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html class="p_AFMaximized" dir="ltr" lang="ru"><head><meta http-equiv="X-UA-Compatible" content="*IE=8.0*"><link rel="stylesheet" charset="UTF-8" type="text/css" href="/portal/adf/styles/cache/portal-desktop-3kotcg-ltr-ie-8.0.css"> ...
    And in another:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html class="p_AFMaximized" dir="ltr" lang="ru"><head><meta http-equiv="X-UA-Compatible" content="*IE=7.0*"><link rel="stylesheet" charset="UTF-8" type="text/css" href="/portal/adf/styles/cache/portal-desktop-dkw9cq-ltr-ie-7.0.css">
    We have no ideas why one generate content="IE=7.0" and another content="IE=8.0".
    We compared all possible configuration files, but have not find any difference.
    I've googled, but found only post by Frank Nimphius that is applicable to 11.1.1.4. As far as I understand in that version ADF didn't put meta http-equiv="X-UA-Compatible" in page head section.
    The problem is that our pages looks awfully in IE7. And we don’t have to provide IE7 compatibility.
    So, my question is - why one project generate content="IE=7.0" and another – 8.0 and how to control it?
    Thank you in advance,
    Boris

    Just to prove this...
    IE8 running in INcompatibility mode, User-Agent string from the outbound header (e.g. sniffed using Fiddler):
    .......request.......
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    ......response.......
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html class="p_AFMaximized" dir="ltr" lang="en"><head><meta http-equiv="X-UA-Compatible" content="IE=8.0">
    And the same IE8 running in normal mode:
    .......request.......
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    .......response.......
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html class="p_AFMaximized" dir="ltr" lang="en"><head><meta http-equiv="X-UA-Compatible" content="IE=7.0">

  • Report header section does not print all pages

    Hi,
    I have a custom report that consists of all 3 parts. it has a header section, main section, and a trailer section.
    I have a problem in a header section that it does not print all pages. It only gives the output of the first page and the last page for the header section.
    I open the .rdf file with oracle reports 6i .
    what do i need to check please?

    Please refer the following thread:
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-dev-l/report-header-section-does-not-print-all-pages-4166062

  • Not show the header on the first page of a section

    I am writing a manual that has about 7 chapters. Each chapter is its own section. I have been able to go in and create a header for each of these sections very easily. However, it's not quite clear how to NOT show the header on the first page of the section. For example, one of my sections is called "Personal Finances", so I have that in bold a the top of the page using Header 1. Because I have that, I don't also need "Personal Finances" showing in the top right corner in the header.
    How can I make it so that it won't show on the first page of each section?
    Thanks!

    How can I make it so that it won't show on the first page of each section?
    In the "Layout Inspector" under the "Section" tab, check the "First page is different" option while one of that section's pages is active/selected/displayed. Then add or delete the header as may be needed so that first page of section does not display the header and all other pages in the section do display. (I.e., what you specifically have to do here depends on whether or not you are already on the first page of the section when you make the change to the display "switch" and whether you are starting with a blank or non-blank header.)

  • Export to MS Word: Page Header section placement

    Hi,
    I am somewhat new to Crystal Reports but I was hoping that someone here might be able to point me in the right direction. The problem I am having is when I export my report as "MS Word - Editable" my Page Header section ends up showing up before my Report Header section in the resulting rtf file.
    More specifically, in the original report I am using the Page Header section to display the column names and the Report Header section to display the report title, etc. Thus my report format is as such:
    Page 1
    [Report Title]
    [Column Names]
    [row1]
    [row2]
    Page 2
    [Column Names]
    [row1]
    [row2]
    Once I export the report to an rtf file the format is changed to:
    Page 1
    [Column Names]
    [Report Title]
    [row1]
    [row2]
    Page 2
    [Column Names]
    [row1]
    [row2]
    Is there any way I can change the rtf export to match what the original report shows i.e. the column names displaying after the Report Title? Do I need to put the column names in a different section? Thanks very much in advance for any help.
    Tom

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • After converting a page to xhtml 1.0 Transitional compliant, Dreamweaver indicates a syntax error warning in the head section

    I had authored a few pages in HTML4.0 using templates, and all was well.  I decided to convert them to xhtml 1.0 transitional. So I modified the tags to lower case and closed everything and it all validates.
    The problem is that in Dreamweaver, it is indicatinga syntac error and I can't figure out why.  The result of this is that the Template path substitution breaks, rendering the generated pages totaly munged.
    Here is the head section:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <!-- TemplateBeginEditable name="head" -->
    <title>TITLE</title>
    <meta name="Description" content="Description of page." />
    <!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="CACHE-CONTROL" content="NO-CACHE" />
    <meta name="robots" content="all follow" />
    <link rel="SHORTCUT ICON" href="favicon.ico" />
    <script src="../common/checkflash.js" language="JavaScript" type="text/JavaScript" />
    <script src="../common/runflash.js" language="JavaScript" type="text/JavaScript" />
    <script src="../common/rollover.js" language="JavaScript" type="text/JavaScript" />
    <script src="../common/weddings.js" language="JavaScript" type="text/JavaScript" />
    <script src="../common/preload-normal.js" language="JavaScript" type="text/JavaScript" />
    <link href="../common/weddings.css" rel="stylesheet" type="text/css"  />
    And here is the screen showing the error:
    Is this something simple that I have forgotton? Or is this a bug?
    ...Mike

    This seems to have been fixed by changing the format of the JS line from
    <script src="../common/checkflash.js" language="JavaScript" type="text/JavaScript" />
    to
    <script src="../common/checkflash.js" language="JavaScript" type="text/JavaScript"></script>
    Still not sure if this is proper markup that DW is screwing up, or if it's improper markup and DW has identified it, although on the wrong line
    ...Mike

  • Google tell me to insert their codes a site map in the head section before the first body section.. but where is it on my welcome page?

    Google tell me to insert their codes for a site map in the <head> section before the first <body> section.. but where in exact terms is the head & body section on my 09 iwebsite?

    It's been a while since I had to verify my sitemap with Google, but if I remember, there were two options for verification. The one I chose was an HTML file verification. That's a file that would be put in your Site Folder in GoDaddy. Google would then crawl your site to verify that way. I found that much easier than putting a file in the website itself.
    It would be a file that looks like this:  googlebe235d8cb7e91037.html
    And would live in your Site Folder on Godaddy like this:

  • Can contributablelement be used to populate a META tag in the head section?

    We're currently using UCM 10gR4 with SSPU.
    We'd like to use a contribution element to allow contributors to add text that would populate the META tags (Keywords and Description) that reside in the HEAD section for a node.
    In most cases, there is a 1-1 relationship between nodes and Content Items (placeholders).
    I've already built a solution for this using Custom Section Properties, but the preference is to allow the contributor to review/update the meta values with another contributable element. Then, the text entered can be reviewed within workflow and the element is more prominent to the contributor.
    The next best solution would be to use a metadata field to update the meta tags.
    Any suggestions?
    Thanks in Advance,
    Todd M

    bingo!!!!
    Ryan, that was it! The measly little escape characters! Now it's working like a charm, which makes my day!
    Here's the recap of the fragment, if others find it useful.
    Intent: to allow contributors to enter content that would appear in the Meta tags for a particular page. This content will also go through workflow for the appropriate approval, as well as be more prominent for the contributor to actually enter the content!
    Here's the fragment code. "Content" as it appears in the code is the defined placeholder name. MetaKey and MetaDesc are elements added to the Region Definitions (as plain text). The conditionals at the end of the fragment handle the case if these areas are blank.
    Thanks to all for your responses!
    Todd M
    <!--$currentPageNodeId=#active.nodeId-->
    <!--$ContentID=Content-->
    <!--$metaKeyword=ssIncludeXml(ContentID, "wcm:root/wcm:element[@name='MetaKey']/text()")-->
    <!--$metaDescription=ssIncludeXml(ContentID, "wcm:root/wcm:element[@name='MetaDesc']/text()")-->
    <!--$if not strEquals(metaKeyword,"")-->
    <meta name="KeyWords" content="<!--$metaKeyword-->" />
    <!--$endif-->
    <!--$if not strEquals(metaDescription,"")-->
    <meta name="Description" content="<!--$metaDescription-->" />
    <!--$endif-->

  • Removing the header and footer in Pages

    I just began to use Pages after purchasing a new ibook. In AppleWorks, headers and footers were never inserted by default. In Pages, how can I remove the header and footer in Pages so I can have more space for the body section of the document?

    I had already set page margins to zero, and I disagree with you: Headers and footers still appear with a height of approximately 1/8 inch.
    SInce I posted my previous message, I have experimented a bit. I was able to (almost but not quite) totally eliminate the header and footer by clicking into the header and footer area and reducing the font size to the absolute minimum. After having done that, the body was basically in-line with 0" on the vertical page ruler.
    Also, in my opinion, whether or not most printers do a full page bleed is irrelevant. I should be able to work with the page body without its being offset from the page ruler if I don't want to employ a header or footer.
    Rusty

  • In Pages '09, how do I remove the header from the first page of the document in a page layout document?

    Working Pages '09, I am trying to set up a multi-page document using page layout  (not a word processing document, because I'll be using lots of graphics and text boxes), with headers and footers, but no header on the first page, as this will be the title page. The layout>section pane has the 'First page is different' option  greyed out (because it's a word processor only option). Help tells me that each page is it's own section in page layout, but there is no way to have one page without a header and all the others with, as far as I can tell. Am I completely missing something or is there a way around this?
    Also, I want to do this again for additional chapters in the document (or else, I believe, be forced to manually start page numbering for each chapter in a new document).
    Cheers.

    Hi, Barry. I don't know why this solution didn't work for me :-\ Does it matter that my page numbers are in the footer and not the header? When I follow your direction, the pages do get numbered differently. My problem occurs with the last step.
    1. Open the Inspector. (Check!)
    2. Click the Layout button (second from left). (Check!)
    3. Click Section. (Check!)
    4. Make the two settings shown: (Check!)
    5. Go to Page 1 and delete the contents of the Header. (When I do this, the content for all footers is deleted...)
    I really appreciate your insight.

Maybe you are looking for