How to hide Application page header depending on REQUEST value

Hi All:
APEX 4.0
I have created an APEX application (authentication is public) using Theme 20. This application has Page Header section. Below is the body definition from "One Level Tabs" page template used for this applicaiton.
<div id="t20PageHeader"">
<table border="0" cellpadding="0" cellspacing="0" summary="">
<tr>
<td id="t20Logo" valign="top">#LOGO#<br />#REGION_POSITION_06#</td>
<td id="t20HeaderMiddle" valign="top" width="100%">#REGION_POSITION_07#<br /></td>
<td id="t20NavBar" valign="top">Welcome &APP_USER. #NAVIGATION_BAR#<br />#REGION_POSITION_08#</td>
</tr>
</table>
<div id="t20Tabs" class="tablight">#TAB_CELLS#</div>
</div>
<div id="t20BreadCrumbsLeft">#REGION_POSITION_01#</div>
In our CRM application, we have create an iframe to show this apex application using this URL:
http://ke4000dev.xxx.com:8040/pls/apex/f?p=BIEXPRESS:1::*CRM*
As you can see the REQUEST = CRM
I need implement the following in this APEX:
If Request = 'CRM' then
hide Page header
else
show Page header
end if;
Can you suggest a solution for doing this?
Basically when this APEX application is displayed in our CRM iframe, we want to get rid of logo (part of page header) to save some space.
Thanks in advance!
Edited by: Kevin Zhang on Oct 4, 2012 11:41 AM
Edited by: Kevin Zhang on Oct 4, 2012 11:59 AM

Create a Dynamic Action:
When
Event: Page Load
Condition: -No Condition -
True Actions
Action: Hide
Selection Type: jQuery Selector
Affected Elements: #t20PageHeader
Condition
Condition Type: Request = Expression 1
Expression 1: CRM

Similar Messages

  • How to change the page header?

    Hi,
    I just installed and started using Plumtree 6.0 a month ago, and we are still in a trial phase for our company's portal.
    I want to change the default page header to replace Plumtree logo to my company's logo. I thought I can change it in the style sheet, but I didn't find where to change in the cssmill folder. I found an artical in edocs.bea.com saying I can modify the header by using ALI Publisher, but I don't know what's the right way to do it and faster.
    Can someone guide me how to change the page header?
    Thank you. (if this is not the correct forum to post the question, please let me know which forum should I go)

    Depends on what you want to do. Personally, I'd do a header portlet and not touch the Plumtree/BEA logos. They're likely to be overwritten when the product receives updates.
    This may seem like a lot of steps, but really - it goes quickly
    ** Think through what you want to display. If all you want to do is replace the image, but you wan to keep the overall layout style then you can create a simple replacement header
    Step 1 - create a header portlet
    =======================
    If you're using Publisher...
    =====
    * Create a new portlet - choose the Header portlet template
    * Upload your image / change the header in the rich text editor
    If you're not using Publisher
    =====
    * Personally, static HTML will do just fine - create a folder and html file called something like "mybanner/mybanner.htm" on your remote portlet server
    * Plop in an image (you'll want to swipe some adaptive tags for community and page name - can always stick those in later)
    * Create a new remote portlet web service that references this HTML page
    * Create a portlet from the web service - make sure the type is "header"
    Step 2 - turn it on
    =======================
    * Create a new experience definition (or modify default - I usually create a new one so you can move it between environments)
    * In the experience definition's "header / footer" settings area, tell the header to load from the new header portlet you created
    * If you created a custom experience definition, modify your experience rules to load this experience defiintion according to whatever parameters you think make sense (just be careful you don't knock out your login page - we usually use security groups to just say "hey - the user is logged in and is, in fact, a member of this portal - that'll still let your login pages load)
    Done
    May seem like a lot of work, but really it's just a series of simple steps. Advantage here is you can vary things as you see fit and also just feel safe that the next time Plumtree/BEA updates those imageserver files you'll be good to go. From there you can get as fancy schmancy as you like using adaptive tags, etc. Heck - make it a .NET app if you want and do some crazy personalization or something. Embed stock tickers, important news alerts, whatever.
    That help at all?
    Thanks,
    Eric

  • How to change the page Header background colour in a Theme

    Hello,
    I want to know how to change the page header background colour. If you are in the Editor I don't find a property where to change it.
    If you are in the Theme Editor in the header bar I want to change stands <b>Theme Editor</b>. This (in my case blue colored bar) I want to change in another color.

    Hello Radhika,
    thanks for your answer. Where do I find the option for the pageheader in System Administration>Portal Display>Theme Editor ->IView Trays exactly?
    The pageheader is a picture, which must be uploaded for the web dynpro. Why should any webdynpro element in the ivew tray. There is no relationship between these two parts.
    I have not found any option to change the web dynpro pageheader. Could there any extra theme editor for webdynpro?
    Thanks.
    Olaf

  • Crystal 6.0 : How to hide the Page footer and Page Header of the Main Report on the Sub report.

    Post Author: pranay
    CA Forum: Crystal Reports
    Hi ,
    I have a Main report and a Sub report .  When a subreport spans across multiple pages , the page header and page footer of the main report gets displayed along with it . I want to hide the Page Footer and Page Header of the main report when a sub report is displayed . Is there any way it could be acheived in Crystal Report 6.0.

    I am assuming you are talking about the JSControl dropdown menu navigation. The easiest way to hide Community pages is to disable the Below Banner View for that navigation scheme, although it also disables the Subcommunties, Related Communities and Go up to Parent Community links. If you still want these in below the banner menu you could not display Community Pages in the "In this Community" tab and only leave the "Community Members and Knowledge Directly" link in there.
    You would think that it would be better to remove the "In this Community" tab althogether but it is tricky to remove it due to the fact that there needs to be a default horizontal menu displayed all the time. Not all Communities will have a Subcommunities or Related Communities tab so these communities would not display any below banner menus at all if there is no "In this Community" tab, which could be confusing.

  • How to hide the page ribbon and quichlaunch for non admin users

    HI
    1 ) how to hide the ribbon in a page in sharepoint 2010 for non administrator users  
    2) how to hide quicklaunch also for non admin users
    in quick lanuch i want to hide links for all site content also.
    i used Document Center Template to create my web application.
    adil

    HI
    i did not get how i use this control 
    <Sharepoint:SPSecurityTrimmedControl
    runat="server"
    PermissionsString="FullMask">
    2
      <div>
    3
        <SharePoint:SPLinkButton
    id="idNavLinkViewAll"
    runat="server"
    NavigateUrl="~site/_layouts/viewlsts.aspx"
    Text="<%$Resources:wss,quiklnch_allcontent%>" AccessKey="<%$Resources:wss,quiklnch_allcontent_AK%>"/>
    4
      </div>
    5
    </SharePoint:SPSecurityTrimmedControl>
    adil

  • How to alter the page header in mode_show_help?

    How can I change the page header on the page that gets opened by calling mode_show_help? I'd like to have the help pages maintain the consistancy of the look of the portal.
    thanks,
    adam

    Hi!
    You have to define more header objects.
    You can use conditions, which object appears. You can use a flag variable for this: gv_header_flag.
    Based on this gv_header_flag, you can tell the Smartform, which header to print.
    And you have to fill gv_header_flag with correct values in some ABAP code, entered into your Smartform, before you print your header.
    Regards
    Tamá

  • How to make a page header

    how to make a page header

    Lynn,
    Numbers 3 currently doesn't have page headers.
    However, there are some workarounds that can achieve the effect of having headers (though, for footers, you're limited to page number).  See this in Print Preview:
    You can set up extra Header Rows in your table and have them repeat on each printed page. The Table Name only shows on the first printed page, so you may want to uncheck Table Name before printing:
    See this thread for an example of how this workaround worked for one user.
    SG

  • How to hide applications with out having to type command+option+H?

    How can you hide applications with out having to type command+option+H?

    Click the middle bubble/button.  The app will "move" in the dock to the far right next to the trashcan.

  • How to set a page header and footer of an excel file i'm creating

    Hello !
    SORRY MY ENGLISH is very BAD.
    I tried to set page header and footer in Excel sheet with ABAP  ole
    DATA : BEGIN OF enter,
    x(1) TYPE x VALUE '0D',
    END OF enter.
    DATA : format(255) TYPE c.
    FORM set_page_sheet.
    CALL METHOD OF excel 'ActiveSheet' = sheet.
    CALL METHOD OF sheet 'PageSetup' = pagesetup.
    SET PROPERTY OF pagesetup 'Orientation' = xllandscape.
    SET PROPERTY OF pagesetup 'PrintTitleRows' = '$9:$12'.
    CLEAR format.
    ERROR
    CONCATENATE 'PAGESHEET' enter-x 'PAGE &P/&N' INTO format.
    ERROR
    SET PROPERTY OF pagesetup 'RightHeader' = format.
    CLEAR format.
    CONCATENATE ' Text 1 ' enter-x 'Text 2'
    enter-x 'Text 3 ' INTO format.
    SET PROPERTY OF pagesetup 'RightFooter' = format.
    FREE OBJECT pagesetup.
    ENDFORM. " set_page_sheet
    Activate report -
    ERROR - The enter-x must by data type c or another then data type x
    Thanks for answer.

    Try to define ENTER this way & try
    class cl_abap_char_utilities definition load.
    DATA : BEGIN OF enter,
    x type c value cl_abap_char_utilities=>cr_lf,
    END OF enter.
    PS : I am not 100% sure about this.

  • How to hide the table header if no data present

    Hi
    I need to hide the table header if no data present. Table has 5 column. if no any clolumn has data then this table section should not be display.
    i am using <?if:count(Installation_Event_S19)= 0?> but this is not work for me.
    Could you please help me out.
    Thanks
    Indrajeet Kumar

    Hi Priya,
    Thank you very much !!! its work fine.
    Thanks
    Indrajeet Kumar

  • How to include the page header in smartforms

    Hi,the text element of the type include text is placed in the main page in header.
    this text element extending to several pages.
    The user wants to include page header only  on pages where this element displays.
    EX:in the page they are 5 elements include text will appear from 3rd page.
    then they want to display the page header only from 3rd page.
    IS it possible?
    Message was edited by:
            hymavathi bomma

    Hi!
    You have to define more header objects.
    You can use conditions, which object appears. You can use a flag variable for this: gv_header_flag.
    Based on this gv_header_flag, you can tell the Smartform, which header to print.
    And you have to fill gv_header_flag with correct values in some ABAP code, entered into your Smartform, before you print your header.
    Regards
    Tamá

  • How to change last page header under TOP-OF-PAGE in a report

    hi,
    there are 20 pages in the report for which same header is diplayed for 20 pages by using follow.
    TOP-OF-PAGE.
    PERFORM write_doc_header.
    now the requirement is to change the last page heading. for this i've another perform statement.
    so plz let me know the syntax sh be to place this perform statment.
    plz let me know tht am i thinking right by luking at below??
    TOP-OF-PAGE.
    if sy-index = last page.
    perform lastpage_header.
    else
    PERFORM write_doc_header.
    endif.

    Hi,
    Use:
    TOP-OF-PAGE.
    IF SY-PAGNO = 20.               " sy-pagno will give you th current pagno
    Perform LAST_PAGE_HEADER.
    ESLE.
    Perform LIST_HEADER.
    ENDIF.
    hopr this resolves your issue.
    Regards,
    Gurpreet

  • How to hide the page links of a community on the 5.0.2 portal?

    We have a community with a dozen of pages. In Plumtree 4.5, we used to edit myportal.asp page to turn the page links off (hide them for that community) and forced user to navigate through our gadgets.
    Is there an easy way to hide the page navigations on top of a community in 5.0.2 portal?

    I am assuming you are talking about the JSControl dropdown menu navigation. The easiest way to hide Community pages is to disable the Below Banner View for that navigation scheme, although it also disables the Subcommunties, Related Communities and Go up to Parent Community links. If you still want these in below the banner menu you could not display Community Pages in the "In this Community" tab and only leave the "Community Members and Knowledge Directly" link in there.
    You would think that it would be better to remove the "In this Community" tab althogether but it is tricky to remove it due to the fact that there needs to be a default horizontal menu displayed all the time. Not all Communities will have a Subcommunities or Related Communities tab so these communities would not display any below banner menus at all if there is no "In this Community" tab, which could be confusing.

  • How to hide standard page links on oaf page

    hello buddies,
    on the oaf page header section we have links like: "Navigator" , "Favorites" , "Home" , "Logout" , "Preferences" ..etc
    also, we have some links on the footer section like : "Privacy Statement" , "Home" , "Logout" , "Preferences" and copy right.
    I want to remove all these links on my custom page except for "Home" and "Logout" is this possible?
    please advise.
    Thanking you all to find some time to read my post!
    Jenny

    Hi,
    May be you need to remove the the links from the global Menu, ICX_STANDARD_GLOBAL_MENU or the related global menu in that page.
    See one of my old thead
    Re: adding a new link in global button bar
    and the blog
    http://apps2fusion.com/at/kv/321-oa-framework-copyright-privacy
    might be helpful.
    Thanks,
    With regards,
    Kali.
    OSSi.

  • How to Hide advance button in input list of values Popup

    I am using input List Of Values component to select value from search Pop up, in that popup i need only basic search only , i am unable to hide advance button... plase tell me how to hide this advance option

    I haven't tried this, but check
    How to remove basic/advanced button in inputListOfValues search dialog
    This does not have complete solution, but might give you some lead.

Maybe you are looking for