Custom header name does not show in ALV...

Hello Experts,
I am using custom column names for my ALV display but when I display it does not show
the title I specified. For example, one of my columns which is 'AMOUNT' has a custom name
which is 'YTD AMOUNT'. But how come it still shows 'AMOUNT' in my header? I am using
cl_salv_table for my ALV. Below is my code:
TRY.
        cl_salv_table=>factory(
          EXPORTING
            list_display = 'X'
          IMPORTING
            r_salv_table = lcl_table
          CHANGING
            t_table      = gt_output ).
      CATCH cx_salv_msg.                                "#EC NO_HANDLER
    ENDTRY.
    lcl_functions = lcl_table->get_functions( ).
*   Set all standard ALV functions
    lcl_functions->set_all( abap_true ).
    lcl_columns = lcl_table->get_columns( ).
    lcl_columns->set_optimize( abap_true ).
*   Set display to striped pattern
    lcl_display = lcl_table->get_display_settings( ).
    lcl_display->set_striped_pattern( cl_salv_display_settings=>true ).
*/Set column names
    TRY.
        lcl_column ?= lcl_columns->get_column( 'DESCRIPT' ).
        lcl_column->set_medium_text( text-h01 ).
        lcl_column->set_long_text( text-h01 ).
        lcl_column->set_output_length( '40' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'BUKRS' ).
        lcl_column->set_medium_text( text-h02 ).
        lcl_column->set_long_text( text-h02 ).
        lcl_column->set_output_length( '12' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'KHINR' ).
        lcl_column->set_medium_text( text-h03 ).
        lcl_column->set_long_text( text-h03 ).
        lcl_column->set_output_length( '17' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'KOSTL' ).
        lcl_column->set_medium_text( text-h04 ).
        lcl_column->set_long_text( text-h04 ).
        lcl_column->set_output_length( '10' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'AUART' ).
        lcl_column->set_medium_text( text-h05 ).
        lcl_column->set_long_text( text-h05 ).
        lcl_column->set_output_length( '04' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'KTEXT' ).
        lcl_column->set_medium_text( text-h06 ).
        lcl_column->set_long_text( text-h06 ).
        lcl_column->set_output_length( '20' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'AUFNR' ).
        lcl_column->set_medium_text( text-h07 ).
        lcl_column->set_long_text( text-h07 ).
        lcl_column->set_output_length( '12' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'ACTUAL' ).
        lcl_column->set_medium_text( text-h08 ).
        lcl_column->set_long_text( text-h08 ).
        lcl_column->set_output_length( '10' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'COMMIT' ).
        lcl_column->set_medium_text( text-h09 ).
        lcl_column->set_long_text( text-h09 ).
        lcl_column->set_output_length( '10' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'TOTAL' ).
        lcl_column->set_medium_text( text-h10 ).
        lcl_column->set_long_text( text-h10 ).
        lcl_column->set_output_length( '10' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'BUDGET' ).
        lcl_column->set_medium_text( text-h11 ).
        lcl_column->set_long_text( text-h11 ).
        lcl_column->set_output_length( '15' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'AMOUNT' ).
        lcl_column->set_medium_text( text-h12 ).
        lcl_column->set_long_text( text-h12 ).
        lcl_column->set_output_length( '15' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'AGE' ).
        lcl_column->set_medium_text( text-h13 ).
        lcl_column->set_long_text( text-h13 ).
        lcl_column->set_output_length( '15' ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
*/Set aggregations
    TRY.
        lcl_aggregations = lcl_table->get_aggregations( ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_aggregations->add_aggregation( 'ACTUAL' ).
      CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_aggregations->add_aggregation( 'COMMIT' ).
      CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_aggregations->add_aggregation( 'TOTAL' ).
      CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_aggregations->add_aggregation( 'BUDGET' ).
      CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_aggregations->add_aggregation( 'AMOUNT' ).
      CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_aggregations->add_aggregation( 'AGE' ).
      CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing."#EC NO_HANDLER
    ENDTRY.
*/Hide columns
    TRY.
        lcl_column ?= lcl_columns->get_column( 'SETNAME' ).
        lcl_column->set_visible( if_salv_c_bool_sap=>false ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'TXT' ).
        lcl_column->set_visible( if_salv_c_bool_sap=>false ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'BUDAT1' ).
        lcl_column->set_visible( if_salv_c_bool_sap=>false ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'COMMIT' ).
        lcl_column->set_visible( if_salv_c_bool_sap=>false ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'ACTUAL' ).
        lcl_column->set_visible( if_salv_c_bool_sap=>false ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'BUDAT2' ).
        lcl_column->set_visible( if_salv_c_bool_sap=>false ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'ASTNR' ).
        lcl_column->set_visible( if_salv_c_bool_sap=>false ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'AVAIL' ).
        lcl_column->set_visible( if_salv_c_bool_sap=>false ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'CTRDIV' ).
        lcl_column->set_visible( if_salv_c_bool_sap=>false ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    TRY.
        lcl_column ?= lcl_columns->get_column( 'CTRORD' ).
        lcl_column->set_visible( if_salv_c_bool_sap=>false ).
      CATCH cx_salv_not_found.                          "#EC NO_HANDLER
    ENDTRY.
    lcl_events2 = lcl_table->get_event( ).
    CREATE OBJECT lcl_handle_events.
    SET HANDLER lcl_handle_events->on_link_click  FOR lcl_events2.
    SET HANDLER lcl_handle_events->on_top_of_page FOR lcl_events2.
    lcl_display_settings = lcl_table->get_display_settings( ).
    lcl_table->display( ).
Also, my top of page only display if use LIST display but when I use GRID, it does not show.

Thanks anyways...

Similar Messages

  • File name does not showing the InDesign icon?

    I have got few files from my client and they said it is an InDesign CS2 version file. but the file name does not showing the InDesign icon on the file name, though I have CS2 and I have tried other version too.
    Also I could not open the file in any version.
    Can somebody help me?

    there is no screen shot...
    You must either post a link to it on another server or embed it into a post using the camera icon on the web page like this:

  • When someone messages me their contact name does not show up as how i saved them!!! does this mean someone has access to my phone?

    When I get a message from my friend, her contact name does not show up the way I saved her and I am wondering if someone has hacked my phone or something

    That is what I am trying to work through. I understand you are seeing it in Notifications, that was what I was trying to confirm. When you open the message, what is displaying on the phone, Juan? Is Notification the only place that you are seeing this name differently? And yes, if you have the name saved as John, it should display as John. How are you backing up/syncing your contacts? Are you using a supported application on the computer, or are you using a cloud service, such as iCloud? If you go into your contacts and look in the upper left corner of the application, does it list more than one source for your contacts? Do you have more than one person with the same phone number listed in contacts, similar to having two people that work at the same place? Is the Notification only displaying a first name and no last name? Do you have first names only in your contacts?

  • Custom scan box does not show scan button due to my 13" screen.  Can't reach it.  How do i fix?  Thx

    Custom scan box does not show scan button due to my 13" screen.  Can't reach it.  How do i fix?  Thx.

    Try increasing the resolution of your screen.

  • Custom Ribbon tab does not show in generic list

    Hi.
    I'm deploying the following definiton on a generic list, but the new custom tab does not show up. Anyone that can see what I have done wrong?
    Thanks!
    <Elements xmlns=”http://schemas.microsoft.com/sharepoint/“>
    <CustomAction
    Id=”Ribbon.MyTab”
    Title=”Adds a new Ribbon tab to Generic List”
    RegistrationType=”List”
    RegistrationId=”100″
    Location=”CommandUI.Ribbon.ListView”
    >
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location=”Ribbon.Tabs._children”>
    <Tab Id=”Ribbon.MyTab” Sequence=”110″ Description=”" Title=”My Tab Name”>
    <Scaling Id=”Ribbon.MyTab.Scaling”>
    <MaxSize
    Id=”Ribbon.MyTab.Scaling.MyGroup.MaxSize”
    Sequence=”15″
    GroupId=”Ribbon.MyTab.MyGroup”
    Size=”LargeMedium”/>
    </Scaling>
    <Groups Id=”Ribbon.MyTab.Groups”>
    <Group
    Id=”Ribbon.MyTab.MyGroup”
    Sequence=”15″
    Description=”"
    Title=”My Group Name”
    Template=”Ribbon.Templates.MyTab.MyGroup.CustomTemplate”>
    <Controls Id=”Ribbon.MyTab.MyGroup.Controls”>
    <Button
    Id=”Ribbon.MyTab.MyGroup.Button”
    Alt=”Ribbon.MyTab.MyGroup.Button”
    Command=”Ribbon.MyTab.MyGroup.Button_CMD”
    Image16by16=”/_layouts/images/siteIcon.png”
    Image32by32=”/_layouts/images/siteIcon.png”
    LabelText=”Button”
    Sequence=”10″
    TemplateAlias=”o1″
    ToolTipTitle=”Button”
    ToolTipDescription=”Shows a dialog” />
    </Controls>
    </Group>
    </Groups>
    </Tab>
    </CommandUIDefinition>
    <CommandUIDefinition
    Location=”Ribbon.Templates._children”>
    <GroupTemplate Id=”Ribbon.Templates.MyTab.MyGroup.CustomTemplate”>
    <Layout Title=”LargeMedium”>
    <OverflowSection Type=”OneRow” TemplateAlias=”o1″ DisplayMode=”Large”/>
    <OverflowSection Type=”ThreeRow” TemplateAlias=”o2″ DisplayMode=”Medium”/>
    </Layout>
    </GroupTemplate>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler
    Command=”Ribbon.MyTab.MyGroup.Button_CMD”
    CommandAction=”javascript: alert('Hello World');” />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>

    Hello,
    I was able to use your custom ribbon tab XML just fine.  The only thing is, the copy you provided had a bunch of illegal characters embedded in it (like reverse quotes?), I'm not sure if they're showing up in your version of the XML or not.  Anyway,
    after replacing those with straight quotes and fixing some other misc formatting, it worked fine.  I created an empty SharePoint project and added an empty element, then added your XML to the Element.xml file.  In SP, I created a new custom
    list and the "My Tab Name" tab appeared with a button that displayed "Hello World" when I clicked it. So, I recommend checking the formatting of your XML.  Just look for red squiggles in the editor and fix them.
    Regards,
    - Kemp Brown [MSFT]

  • My user name does not show in finder

    I recently had to do a re-install of OS X Yosemite on my brand new Macbook Pro due to some files being corrupt during the transfer of my aperture and iTunes librarys from my old iMac to the new Macbook. (Aperture appears to be the problem)
    After the re-install everything appeared as a new computer. After signing in to my accounts, I went to "Finder" to open my username and music file to transfer my iTunes library over.  My user name does not appear at all in the Finder sidebar. Have doing something wrong here.

    You can customize your Finder sidebar to show whatever you want. Some of the defaults (including the home folder you're talking about) are available by going to Finder menu - Preferences - Sidebar. You can add others by dragging them from the right side of the Finder window into the sidebar.
    Matt

  • In my aperture the camera file name does not show under the photo how do I get it to show

    In my aperature dislay the camera file number does not show how do I get it to show

    Where exactly is the filename missing? Aperture has plenty of places to display metadata.
    You configure and enable the display of metadata by defining Metadata presets. One place todo this is the little baggage label icon below the browser:
    Press the icon,enable the display of metadata overlays for Browser and Viewer, then press "Edit" to customize the display of the tags you want to be displayed.
    -- Léonie

  • Searching by artist name does not show songs with artists name in song title

    If i search by an artist's name in itunes, it does not display songs by a different artist that have the artist's name in the song title, such as remixes that have a parenthesis, then the searched artist's name after with no space in between, like it used to.  For example,  I searched "Munchi" (artist name), and it showed songs listing munchi as the artist, but not songs with munchi in the title.  In the old itunes, if I searched "munchi", the list of songs would include the song Chicken Lover (Munchi likes 'em fried moombahton remix), which is a song by the artist "bassanova",  but now that song and songs like that (remixes) in which the artist im searching has their name in the song title but not as the song artist, are not included.  This is a serious problem for me as it leaves out alot of songs which the searched artist has collaborated on out.  In the old itunes i would get a list of any song which had the word "munchi" in any field, whether or not the word munchi had any letters or symbols before or after it.

    this will answer your question:
    https://discussions.apple.com/thread/4577261?start=0&tstart=0

  • Custom ribbon button does not show for a Tasks list

    I created a simple app using Visual Studio 2012 to add a custom ribbon button for a tasks list. After deploying the app to the SharePoint online, the button does not appear on the ribbon. The exact same button gets displayed properly
    when added to the ribbon for a custom list.  The elements file with the location of the button gets generated, so I can't imagine it would be wrong, but just in case, this is what I have:
    <CustomAction Location="CommandUI.Ribbon"....
    <CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">...
    Any help is greatly appreciated.
    One more thing, if I add this button using SharePoint Designer 2013, the button does not get displayed either. I have a feeling it might be problem with the Tasks list?
    Thanks

    Hi Danny,
    The button needs to be displayed only for one specific list. And as I mentioned, the elements file for the ribbon button was generated by VS, here is the content:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="02aa4c3b-bb73-4dfa-989c-d63a9591dcee.RibbonCustomAction" RegistrationType="List" RegistrationId="{$ListId:Lists/Projects;}" Location="CommandUI.Ribbon" Sequence="10001" Title="Create Project Site">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">
    <Button Id="Ribbon.ListItem.Actions.RibbonCustomActionButton" Alt="Create Project Site" Sequence="100" Command="Invoke_RibbonCustomActionButtonRequest" LabelText="Create Project Site" TemplateAlias="o1" Image32by32="_layouts/15/images/placeholder32x32.png" Image16by16="_layouts/15/images/placeholder16x16.png" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="Invoke_RibbonCustomActionButtonRequest" CommandAction="~remoteAppUrl/Pages/Default.aspx?{StandardTokens}&SPListItemId={ItemId}&SPListId={ListId}"/>
    </CommandUIHandlers>
    </CommandUIExtension >
    </CustomAction>
    </Elements>
    If the same button is added for a custom (not a Tasks) list, the button shows up fine.
    Thanks

  • One of the user names does not show up on the login screen

    There are two admin accounts set up on the computer but only one of them shows up on the login screen. Any ideas why and how to change it?
    Thanks a lot.
    Tomek

    Thank you for the reply, but it does not work for me. I have no clue why.

  • Customer Account Statement Does not show SAP document number

    Hello,
    I want to have the SAP-document number on a customer-statement printed with report RFKORD11. I changed the used form now multiple times without success. If I enter the BSID-BELNR as an output parameter the system always gives me BSID-XBLNR what makes no sense to me!
    If I look into the table the field is maintained correctly and I really have no idea why the system is always taking the XBLNR-content. If it output XBLNR I am getting the XBLNR-content but not the other way round...
    Maybe it is a stupid problem but I have no idea why it works that way and I need the SAP-document number printed on the customer-statement. The other table RF140 does not offer me the document-number as a field.
    Thanks in advance for all hints and solutions!
    Regards,
    Steffen

    Hello Steffen,
    It seems to be that the field XBLNR is blank.
    This behaviour is of SAP standard design. It is the standard logic hard coded into the relevant program itself, see include RFKORI16 in SE38 for customer open items:
    IF BSID-XBLNR IS INITIAL.
      MOVE BSID-BELNR TO RF140-BELEGNUM.
    ELSE.
      MOVE BSID-XBLNR TO RF140-BELEGNUM.
    ENDIF.
    If you look at the description of the field RF140-BELEGNUM structure using transaction SE11 it is clearly mentioned that "Ref.Document Number, if available, otherwise Document Number".
    The only other option you would have would be to consider a modification of the standard.
    I hope it helped you
    Best Regards,
    Vanessa.

  • Custom property values does not show in XML forms!

    Hi All
    I have created a property in the portal which has multiple values, I have added these values in the 'Allowed Values' section. Then in my XML form I reference this property in a combo box. I have restarted the j2EE engine and opened the form and the properties are not displayed in the combo box it is blank!
    Does anyone know why?
    Thanks in advance!

    Thanks anyways...

  • Name does not show incoming calls, but only the number

    Hi, i have a BB 9300 with OS6 brand wind italia. this is my problem:
    -sometimes when my rubric contact call me i can't seeyour name, but only your telephone number. I noticed that is common when the phone is locked with password.
    I called the support, but I have not receives assistance!
    I also replaced the device, but the new one is equal.
    Please help me!!!!
    Sorry for my bad english

    It sounds as though you have content protection enabled on your address book. To disable this feature in OS6, search for "Encryption" within Options. Uncheck the "Include contacts" box.

  • Field Explorer in Crystal Reports does not show the same names as Bex Query

    Hi
    I have crystal reports, I can retrieve data from BW Bex Query. But in the field explorer it does not show the names as in the Bex query designer.
    In the Bex query designer a field will have the following technical name 0Debitor and the description is Customer.
    It shows in crystal reports in the field explorer twice as D[0DEBITOR]D and D[0DEBITOR]D. It also does not seperate key figures and characteristics.
    I would like it to display the field explorer as shown in this blog.
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Thanks in advance

    Hi,
    take a look here:
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    make sure you are using the MDX Driver and what happens is that you will see several fields per characteristic. example: one for the key, one for the description, several if modelled for the display attributes
    Ingo

  • Header.php exists but does not show up on every page.

    Hi.  I am starting from scratch with this.
    part1.
    My objective is to create a website that takes advantage of DreamweaverCC's fluid-grid-layout so that my web Site auto-flows on
    smartphones, tablets and desktops/laptops.
    file > new > fluid-grid-layout.
    By default, it says 'unnamed.css'
    I named it  testSite.css
    click okay.
    (This is the only way to begin with a fluid-grid-layout - I think).
    It opens a split view.
    On the right frame is a DIV that has this text inside.
    "Use Insert Panel for additional Fluid Grid Layout Elements. Note: All Fluid Layout tags must be contained within the "gridContainer" div tag."
    In the right frame,
    <script src="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/BuiltIn/F luid%20Grid%20Layout/respond.min.js"></script>
    </head>
    <body>
    <div class="gridContainer clearfix">
      <div id="div1" class="fluid">Use Insert Panel for additional Fluid Grid Layout Elements. Note: All Fluid Layout tags must be contained within the "gridContainer" div tag.</div>
    </div>
    </body>
    </html>
    QUESTIONS - CLARIFICATION.
    Question ????
    class = 'gridContainer clearfix"
    div id = "div1 class = "fluid"
    So all of the <div>s that I place inside of the gridContainer will all be assigned the 'class'  fluid.
    Yes ?
    And I define div ids so that I can use css styles
    Yes ?
    I understand class in Java but I do not understand it here in Dreamweaver.
    Please explain.
    part2.
    I inserted 4 <div>s into the gridContainer and assigned them specific div ids.
    div id = square1
    div id = square2
    div id = square3
    div id = square4
    I see these assignments in the code.
    But in the properties panel with HTML (not css panel) selected. 
    It shows  ID None.
    Question ????
    Why doesn't the assigned div =id  in the code show in the properties panel.
    part3a.
    index.php is my main web page.
    It has several images (the 4 different squares).
    I created a separate .html file for each square: square1.html square2.html square3.html square4.html.
    At this point, each of those pages has only one sentence.  'contents for square#N) will be on this page'
    I used the properties panel and linked the 4 images on index.php to these .html files.
    When I 'View in Safari/Firefox'  each of those images (squares) when clicked - bring me to the appropriate page.
    So I've got some of this working
    part3b.
    I know that some of you have already tried to assist with this but it is not working for me.
    I created a file called header.php
    The contents of header.php does not have any <tags> at all.
    The contents is this:
    <h1> This will be the header for all of my web pages.</h1>
    In index.php I included this in the code as such:
    <body>
    <? php require_once('header.php'); ?>     // this is line 34
    <div class="gridContainer clearfix">
      // div ids for the images etc. etc.
    </body>
    </html>
    View in Safari/Firefox
    Parse error: parse error in /Library/WebServer/Documents/dwwdSite/index.php on line 34
    I tried this.
    <? php include_once('header.php'); ?>
    <? php include('header.php'); ?>
    and I get the same exact error.
    When I 'view in Safari/Firefox'  header.php  it displays what I want:
    This will be the header for all of my web pages.
    Question ????
    What am I doing incorrectly ?
    From one of my other posts - as we got onto this topic, it was suggested that I just place the php code:
    <? php  include('header.php'); ?>
    within the index.html file exactly where I want it to show up.
    I want it to show up at the top of each page.
    Well at this point it is not showing up anywhere !!
    But if I have header.php active in Dreamweaver and 'view in safari/firefox'
    the browser does show the header.php page.
    part4.
    Question ????
    And should I include
    <? php require_once('header.php'); ?>
    at the top of each of the square.html files if I want the header to show up on each of those pages.
    I think this makes sense.
    part5.
    Question ????
    When I view testSite.css
    I understand that it has 3 different sets of selectors for each of the 3 different devices.
    But how do I 'assign'  css properties to the contents inside of header.php ?
    With header.php active/open, from the 'properties panel' I can select CSS and choose: font, size, color from there and it works
    but should I not have this included in the testSite.css ?
    Lots of questions. Hope that I explained it in an organized fashion.
    thanks again.
    Nancy O.
    Sudarshan Thiagarajan

    > So all of the <div>s that I place inside of the gridContainer will all be assigned the 'class'  fluid.
    Nope - but everything that you insert using the Insert panel will give you the opportunity to specify that it's a fluid element, which you can do by enabling the checkbox on the dialog. This means that you CAN insert a <div> that is not a fluid element. It's only the ones that you insert as a fluid element that will get that class automatically.
    >And I define div ids so that I can use css styles
    Assigning an ID to any element on the page allows you to target that element with a particular CSS rule.
    > I understand class in Java but I do not understand it here in Dreamweaver.
    > Please explain.
    There is no similarity at all. There are four ways you can identify a page element to apply a CSS rule:
    1. By tag, e.g., all paragraph tags on the page.
    2. By context, e.g., any paragraph tag that is within a <nav> element.
    3. By 'class' assignment, e.g., any element that has been given a particular "class" attribute -> <p class="foo">
    4. By ID, e.g., any element that has been given a particular "ID" attribute -> <p id="foo">
    The weight of any style (i.e., which one to use in the event of conflict) is determined by a number of characteristics of the CSS 'selector' that carries the rule.
    > Why doesn't the assigned div =id  in the code show in the properties panel.
    Assuming your code is correct, it will, e.g.,
    <div id = "square1"></div>
    <div id = "square2"></div>
    <div id = "square3"></div>
    <div id = "square4"></div>
    Try this -
    <html>
    <head></head>
    <body>
    <?php require_once('header.php'); ?>     // this is line 34
    <div class="gridContainer clearfix">
      // div ids for the images etc. etc.
    </body>
    </html>
    and I get the same exact error.
    Yes - there is no space in "<?php".
    Let's start with that.

Maybe you are looking for

  • System trace for File, JDBC adapter

    In the  JDBC Adapter Help (help.com) I see: „The adapter writes the output (STDOUT and STDERR) for the operating system command in the system trace.” Which trace is meant here? I have the same question regarding File Adapter. Thanks, Jozsef

  • TS3376 My phone is not showing up on find my iPhone.

    We've added another phone on to our iCloud and now our new phone is not showing up on find my iphone even though everything is turned on in the settings. 

  • Viz Charts: Display Unit on Axis

    Hi Friends, I am creating a Column chart using Viz charts. I am not bale to make the units displayed next to axis. For example: USD or CMs, KMs etc. How can I get that? regards Krishna

  • Java EE Service Engine: Bridging Java EE and JBI

    An excellent blog from our resident expert on how to connect JBI components with services launched on Java EE side. Take a look and give us feedback. http://weblogs.java.net/blog/binod/archive/2006/07/java_ee_service_1.html

  • Lock/power button doesn't work and phone tries to turn itself off

    So this morning i woke up and for some reason my power/lock button on my iphone 4s doesn't work, but that's not the biggest problem because there are work around's. the real weird thing is that now my phone just decides its going to shut down. It wil