How i will add new link in masthead iview

Hi,
i want to add  a new link in masthead iview,
e.g. i want to add aboutus link .
so what could be the code/procedure for header.jsp.
Please help .
Thanks
Sanjay

Hi Sanjay,
-The three main files in the masthead are HeaderiView.jsp,LogInRedirect.jsp and LogOffConfirmMsg.jsp
-The HeaderiView contains the masthead users see when they are in the portal.
-Once you added your link to the HeaderiView.jsp,upload the par file.
-Once the par file is uploaded to the portal,you need to create a masthead iview based on this par file.
-Then this iView will be used for masthead on the framework page.
-create a folder in portal catalog-right click the folder->create a iView from par->select your own masthead iView->choose next->choose default component  and click next->Enter the properties like-iView name,iView ID,prefix,Save as -iView and click next>save.
Here is the important step :
Add the iView to the framework page,then only it will be visible to the end users.
Browse the ramework page being used by the portal in the portal catalog
Right click on he page->edit->Page Layout->Select masthead iView on the framework page and click remove.
now iViews(Right click)->Widgets_masthead->Add iView to page->Delta Link->Position the masthead.->Logoff and logon to the portal.
It should work fine for you now I guess.
Thank you.
Regards,
Karthick

Similar Messages

  • Add new link on Quick Launch using visual studio

    Hi,
    How can I add new link on quick launch using visual studio?
    I saw many link about developing quick launch or top link bar.
    But they are using visual webpart to develop this function and can add
    when the user add this webpart. How can I add automatically when I deploy the project.
    Thanks in advance!
    Best Regards, wendy

    using System;
    using System.Web.UI;
    using System.Linq;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Navigation;
    namespace SPQuickLaunchAddItemWebPart.VisualWebPart1
    public partial class VisualWebPart1UserControl : UserControl
    protected void Page_Load(object sender, EventArgs e)
    CleanUpQuickLaunch(“My Header”);
    AddQuickLaunchItem(“My Header”, “http://www.google.com/q=stuff”, “My Link Here”, “http://www.google.com”);
    CleanUpTopNavigationBar(“My Header”);
    AddTopNavigationBarItem(“My Header”, “http://www.google.com/q=stuff”, “My Link Here”, “http://www.google.com”);
    AddTopNavigationBarItem(“My Header”, “http://www.google.com/q=stuff”, “My Link Here1″, “http://www.google.com”);
    public static void CleanUpQuickLaunch(string header)
    using (SPSite site = SPContext.Current.Site)
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPNavigationNodeCollection quickLaunch = web.Navigation.QuickLaunch;
    // try to get quick launch header
    SPNavigationNode nodeHeader = quickLaunch.Cast<SPNavigationNode>().Where(n => n.Title == header).FirstOrDefault();
    //if header not found remove it
    if (nodeHeader != null)
    quickLaunch.Delete(nodeHeader);
    public static void CleanUpTopNavigationBar(string header)
    using (SPSite site = SPContext.Current.Site)
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPNavigationNodeCollection topNavigation = web.Navigation.TopNavigationBar;
    // try to get quick launch header
    SPNavigationNode nodeHeader = topNavigation.Cast<SPNavigationNode>().Where(n => n.Title == header).FirstOrDefault();
    //if header not found remove it
    if (nodeHeader != null)
    topNavigation.Delete(nodeHeader);
    public static void AddQuickLaunchItem(string header, string headerURL, string item, string url)
    using (SPSite site = SPContext.Current.Site)
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPNavigationNodeCollection quickLaunch = web.Navigation.QuickLaunch;
    // try to get quick launch header
    SPNavigationNode nodeHeader = quickLaunch.Cast<SPNavigationNode>().Where(n => n.Title == header).FirstOrDefault();
    //if header not found create it
    if (nodeHeader == null)
    nodeHeader = quickLaunch.AddAsFirst(new SPNavigationNode(header, headerURL, true));
    nodeHeader.Update();
    //try to get node item under header
    SPNavigationNode nodeItem = nodeHeader.Children.Cast<SPNavigationNode>().Where(n => n.Title == item).FirstOrDefault();
    //If item not found under heading then create it
    if (nodeItem == null)
    nodeItem = nodeHeader.Children.AddAsLast(new SPNavigationNode(item, url, true));
    else
    nodeItem.Url = url;
    nodeItem.Update();
    nodeHeader.Update();
    public static void AddTopNavigationBarItem(string header, string headerURL, string item, string url)
    using (SPSite site = SPContext.Current.Site)
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPNavigationNodeCollection topNavBar = web.Navigation.TopNavigationBar;
    // try to get quick launch header
    SPNavigationNode nodeHeader = topNavBar.Cast<SPNavigationNode>().Where(n => n.Title == header).FirstOrDefault();
    //if header not found create it
    if (nodeHeader == null)
    nodeHeader = topNavBar.AddAsFirst(new SPNavigationNode(header, headerURL, true));
    nodeHeader.Update();
    //try to get node item under header
    SPNavigationNode nodeItem = nodeHeader.Children.Cast<SPNavigationNode>().Where(n => n.Title == item).FirstOrDefault();
    //If item not found under heading then create it
    if (nodeItem == null)
    nodeItem = nodeHeader.Children.AddAsLast(new SPNavigationNode(item, url, true));
    else
    nodeItem.Url = url;
    nodeItem.Update();
    nodeHeader.Update();
    above code demonstrate how to add node inside the quick launch and top navigation.
    you can also follow the below link.
    http://myspexp.com/2012/04/30/adding-items-to-your-quick-launch-or-top-navigation-programmatically/
    Hiren Patel | Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • HT1351 We had 2 computers: his itunes library on one, and mine on the other. We got rid of both of those and got a new computer.  I put music on the new computer.  My ipod songs are not on itunes.  Will I erase them if I sync?  How do I add new music?

    We had 2 computers: his itunes library on one, and mine on the other. We got rid of both of those and got a new computer.  I put new music on the new computer.  My ipod songs are not on itunes on the new computer.  Will I erase them if I sync?  How do I add new music?

    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • How do I add a link for a file that can be downloaded

    I'm sure that there's a very simple answer to this, and I
    can't believe that I don't know it.
    How can I add a link to a file that will then be dowloaded by
    the user?
    Thanks

    Zip the file. Link to it. Upload it.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Si Fi" <[email protected]> wrote in message
    news:e73jd6$i3m$[email protected]..
    > I'm sure that there's a very simple answer to this, and
    I can't believe
    > that I don't know it.
    >
    > How can I add a link to a file that will then be
    dowloaded by the user?
    >
    > Thanks

  • How can I add new content in iDVD to a DVD-RW disc which has ample remaining free space? After preparing the new video for burning and clicking on Burn to iDVD, I get a window saying the disc's already recorded and that I can either Erase or Eject.

    How can I add new content in iDVD to a DVD-RW disc with a video previously successfully recorded on it? (The disc has ample remaining free space.)
    After preparing the new video for burning and clicking in the File menu on Burn to iDVD, I get a window saying the disc's already recorded and that I can either Erase or Eject. My assumption has been that iDVD would automatically find the free space and continue with the new recording from there. I'd be grateful if anyone can shine light on this.

    There are, but not with a DVD written as a movie disk. It must be closed when completed, or it doesn't work.
    Apple's built in Burn utility also automatically closes any data CD, DVD or Blu-ray disk you burn. Doesn't matter how much space is unused, you can't use it. You'd have to use a more advanced disk creation app, such as Toast Titanium. I then have the option of choosing to write the data as a session:
    I can keep doing this until the disk is full. If I've written five sessions to the disk, when I put it in the drive, five CD/DVD icons will appear on the desktop since the OS will treat each session as if they are separate physical disks. At any point you choose Write Disk when writing a group of data, that means you're closing the disk, and again can't add anything after that. So if I had written two sessions, and the third was Write Disk, it's over. I can't put anything else on that disk.

  • How can i add new tab in Business Partner

    hi every body,
    Present i am working on SAP CRM 3.0 version. i need to add new tab in BP.  Here EEWB not available. How can i add new tab?

    Hi  babu,
    you can add new tab in Buisness partner with the help of screen configaration functionality,in screen configaration u select first bp role (sold to party or retailer etc) and click on process screen sequence  and again click on overview and u will get fields right side of the screen, there u will see the field "new screen" click on that and add description for new tab and click on continue,save the document
    now u will again create a bp with modified bp role u will see changes means u will see new tab page on perticular bp role
    i hope this is helpful
    Rewards points if helpful
    Thanks&regards
    kishore kumar

  • How do I add new fonts I've downloaded to Microsoft Word? It's in my font book but not usable on MW., How do I add new fonts I've downloaded to Microsoft Word? It's in my font book but not usable on MW.

    How do I add new fonts I've downloaded to Microsoft Word? It's in my font book but not usable on MW.,

    Typical issue with Font Book.
    Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until you see a progress bar towards the bottom of the screen. You can let go of the Shift key at that point.
    OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally. This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode.

  • How Do I add new fields to Repeating Frames in existing Report

    Hi,
    How do I add new fields to Repeating Frames in existing Report. The Report has 2 GRPFR, 1 HDR and 2 Repeating Frames. I would like to add a new field(column) to inner most repeating frame. I added the new golumn to QUERY and GROUPs in Data Model. After adding the new column to inner most Repeating Frame in Layout Model, the Layout model is losing all other frame and it is showing only the modified one.
    How do I add new column to repeating frames without disturbeing other frames.
    Any hellp will be appreciated!!!!!!!!!!!.
    I am using Oracle Reports 6i.
    Thanks,
    Ravi.

    you must work in your layour editor
    expand your repeating frames do it more big
    for add your new items or field. after you inserted or add, can you put more little your repeating.
    too can you to do one copy of one field in your repeating frame and assign it in his source your new item in your data model.
    normally i begin with the principal frame and go one by one internally.

  • I have one playlist on iphone4. how can i add new playlist without deleting old one. i do not have old playlist in itunes any more.

    I have one playlist on iphone4. how can i add new playlist without deleting old one. i do not have old playlist in itunes any more.When i try to sync iphone with itunes it says that this action will remove my old playlist and all songs.

    "it says that this action will remove my old playlist and all songs."
    Are you connecting to a different iTunes library than you normally connect to?  That will erase the songs and playlists since the iPhone can't be connected to multiple libraries even if it is in manual sync mode.
    If you no longer have access to the original library that your iPhone calls 'home', then the only way to save the playlist (and the songs on your iPhone) would be to use a 3rd party application to extract your iPhone contents to this new iTunes library you're trying to connect to.

  • How can I add new songs and videos...?

    How can I add new songs and videos to my ipod without syncing as it wants to wipe out the ipod and replace all the existing media?

    On the ipod itself?  If so how?
    I've tried checking on box by the sync music to deselect "Entire music library", but get the  message about "Are sure.... All existing content on the iPod will be removed and replaced...".  However, I don't want to do that as there is music on my ipod I don't want to loose, got it from a previous computer that crashed and could not be recovered.

  • How can I Add new LookAndFel to IDE

    How can I Add new LookAndFel to IDE "JDeveloper 10g" ?
    (to the combo box in the Tool->Preferences->LookAndFeel ).

    Here is how you can add new L&Fs to the drop down list. (Instructions are for Linux , as I use Linux, but they will work for Windows too)
    Add the L&F jar to <path to JRE>/lib/ext (or <path to JDK>/jre/lib/ext). Then create swing.properties (if it does not already exist) in <path to JRE>/lib (or in jdk...) with following lines:
    swing.installedlafs = motif,windows,metal,mac,plastic
    swing.installedlaf.motif.name = CDE/Motif
    swing.installedlaf.motif.class = com.sun.java.swing.plaf.motif.MotifLookAndFeel
    swing.installedlaf.windows.name = Windows
    swing.installedlaf.windows.class = com.sun.java.swing.plaf.windows.WindowsLookAndFeel
    swing.installedlaf.metal.name = Metal
    swing.installedlaf.metal.class = javax.swing.plaf.metal.MetalLookAndFeel
    swing.installedlaf.mac.name = Mac
    swing.installedlaf.mac.class = com.sun.java.swing.plaf.mac.MacLookAndFeel
    swing.installedlaf.plastic.name = Plastic
    swing.installedlaf.plastic.class = com.jgoodies.plaf.plastic.PlasticLookAndFeel
    swing.defaultlaf=com.jgoodies.plaf.plastic.PlasticLookAndFeel
    Note that I retained default example L&Fs that normally come with the JDK/JRE (depending on the platfom) and added PlasticLookAndFeel as additional PLAF (Pluggable Look And Feel).
    Now it should be possible to choose Plastic L&F in not only JDeveloper but also other Swing apps that you want to use.
    Please let me know if this works and also if you have any questions.
    - Ganesh

  • How can i add new identity in file option of menu bar

    ''locking as a duplicate - https://support.mozilla.com/en-US/questions/869755''
    how can i add new identity option in file option of menu bar

    There are, but not with a DVD written as a movie disk. It must be closed when completed, or it doesn't work.
    Apple's built in Burn utility also automatically closes any data CD, DVD or Blu-ray disk you burn. Doesn't matter how much space is unused, you can't use it. You'd have to use a more advanced disk creation app, such as Toast Titanium. I then have the option of choosing to write the data as a session:
    I can keep doing this until the disk is full. If I've written five sessions to the disk, when I put it in the drive, five CD/DVD icons will appear on the desktop since the OS will treat each session as if they are separate physical disks. At any point you choose Write Disk when writing a group of data, that means you're closing the disk, and again can't add anything after that. So if I had written two sessions, and the third was Write Disk, it's over. I can't put anything else on that disk.

  • I have problem with my contacts.  I can't send message if the contact didn't send me a message before.  How can I add new address?

    i have problem with my contacts.  I can't send message if the contact didn't send me a message before.  How can I add new address?

    Hi tizac,
    You will want to add them to your Contacts. 
    There's a "+" button at the bottom of the contact list on the left to add a contact.
    If you need to add the email address or phone number to an existing contact, there's an Edit button at the bottom of the contact info (on the right).
    Once you have the contact email address or phone number you want to message to, scroll all the way down to the bottom of their information and there are options to:
    Send Message               FaceTime
    Share Contact             Add to Favorites
    Of course choose "Send Message" to send an iMessage to them and you will start a new chat.  You will be given the options of how to contact them, via phone number (if they are on an iPhone) or email (if they are on an iPod touch or iPad).   They do need to be signed up for iMessage or it won't allow you to send.
    ivan

  • Ability to add new links on Business Catalyst online editing

    It would be really great if the office staff had the possibility to add new links via the "Edit" option in Business Catalyst. PLEASE add this function in the near future. It would greatly improve our productivity.

    You can edit/modify site contents and then upload to BC, while uploading to BC you can either use the existing site if you already have published the site or you can go with a new trial site.
    If you are referring to replacement of any site in BC with new contents then the same process for site update will work. I am missing out something or you are looking for something else , then please correct me.
    Thanks,
    Sanjit

  • How do I add new songs to playcenter music library??? Save a headache teach me the

    How can I add new songs to the playcenter music library without adding all the same ones over again? Also is there a way to seperate the new songs I just added so that I don't have to scroll through all the songs just to find where all the new ones I added on are? Gotta be an easier way! Can I also import songs directly into a playlist I made? Save a headache please help

    For starters, you might be better to switch to MediaSource, this is the replacement for PlayCentre.
    MediaSource has a "Media Sniffer" program that will monitor for new files and add them to the library.
    As far as I know there's no way to check for new songs, except perhaps the smart playlist function does this (micromouse will be able to confirm I'm sure).

Maybe you are looking for