All About SharePoint SharePoint 2010 and MOSS 2007 Resource Website

15Jul/1014

How to build a scrolling marquee of blog postings from a sub-site.

How to build a scrolling marquee of blog postings from a sub-site.

  1. Using SharePoint Designer, open a Web Part page and view the Data Source Library (from the Task Panes menu).
  2. Select "Connect to another library..." from the bottom of the Task Pane
  3. Add the full URL for your blog sub site
  4. Expand the blog site and highlight the Posts list.
  5. Select "Show Data" from the drop down menu of the Posts list
  6. You should now be in the Data Source Details pane. Select "Insert Selected Fields as..." - "Multiple Item View..."
  7. In the Data View that has just been added to the page, select the Common Tasks menu ( > button in the top right of the web part)
  8. Set the View to the simple list, filter and sort as required.
  9. Add the following code into the Code View after the <xsl:template name="dvt_1.body"> line
    <marquee onmouseover="this.stop();" onmouseout="this.start();" truespeed="" scrollamount="1" scrollDelay="30" direction="left" valign="middle">
  10. Add the following line between the </xsl:for-each> and the closing dvt_body template tag.
    </marquee>
  11. Replace the contents of the <xsl:template name="dvt_1.rowview">
    template with
    <span><xsl:value-of select="ddwrt:FormatDateTime(string(@Created),1033 ,'dd-MMM-yy ')" /> - <a href="{@FileDirRef}/viewpost.aspx?id={@ID}"><xsl:value-of select="@Title" /></a> | </span>
  12. Save the page and view it in the browser

Comments (14) Trackbacks (0)
  1. Great information! I’ve been looking for something like this for a while now. Thanks!

  2. Good dispatch and this fill someone in on helped me alot in my college assignement. Thanks you for your information.

  3. it was very interesting to read themossblog.com
    I want to quote your post in my blog. It can?
    And you et an account on Twitter?

  4. I definitely agree with the whole thing. Took me a while to read but it was well worth it. Im gonna read through a few other posts on this site and see if theres anything else thats good like this

  5. Amiable fill someone in on and this mail helped me alot in my college assignement. Say thank you you on your information.

  6. Good brief and this enter helped me alot.Thanks you as your information.

  7. hi!This was a really outstanding website!
    I come from itlay, I was luck to seek your topic in bing
    Also I obtain much in your blog really thanks very much i will come again

  8. I got the following error

    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.

  9. If you have followed all the instructions, you should n’t get any errors. Can you please provide more details to the problem.

  10. Hi,

    Have a great information…on marquee hire.I definitely agree with the whole thing.This is really an awesum website. i like it and i grabbed much from this blog.

  11. How can I use this for a data view webpart? unfortunately, the Marquee tag seems to be crashing the web part. I am using SP 2007 btw.

  12. I face with this error:
    SharePoint Designer cannot render the XSLT in this Data View. Try to undo your changes or re-insert the Data View.Failed setting processor stylesheet : 0×80004005 : Keyword xsl:param may not be used here.
    Can you help me beacuse I need it!?

  13. Wonderful post – I was looking for a similar article. Thanks for sharing this article to your reader. You give very nice information about


Leave a comment

(required)

No trackbacks yet.