removing/changing default list text if list is empty?

Posted on 2010-01-05
Last Modified: 2012-05-08
As we know if we have a calendar or announcement web part on a page and there are no events or announcements we'll see a message along the lines of:

----"There are currently no active announcements. To add a new announcement, click "Add new announcement" below. "

----"There are currently no upcoming events. To add a new event, click "Add new event" below"

If one wanted to be anal about it, and in this case we do, Is there a way to change or remove these messages?

Thanks in advance.

Question by:crmsharepoint
    LVL 1

    Author Comment

    By the way - I could've sworn that I once saw somewhere in my journeys through the 12 hive, an xml file that had this.  

    Our main problem is with the phrase "to add a new event, click 'add new event'".  Reason why it's a problem is that we do not display the summary toolbar.  Mind you, I usually just populate the list with an event and bingo the problem goes away.  

    However, in this case the test department is not happy with it.
    LVL 12

    Assisted Solution

    the issue may be if you change it in the xml it might be a global change.
    LVL 51

    Assisted Solution

    You should be able to change the XML for that specific web part on each page.  Changes to the global XML are risky and if you do it manually an upgrade to the Sharepoint farm can wipe out your changes.  To do global changes properly you have to create a WSP (Sharepoint Deployment Solution) which is somewhat arduous.
    LVL 19

    Accepted Solution

    As Ted says, changing anything Global will mess up things once you deploy a service pack/cumulative update.
    If you want to change text, the "easier" way to do it is to create a custom masterpage, add a jQuery script to it that replace the text.
    Replacing text with jquery
    Enabling jQuery on SharePoint

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
    I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now