2007-09-17

Modifying the Asset Picker Dialog in SharePoint 2007 - AssetPortalBrowser

We needed to make som minor changes to the Asset Picker Dialog for selecting images to be used in, for example, in an html editor field. The place to do this is in the file [12-hive]/template/layouts/AssetPortalBrowser.aspx. In this file you find a reference to the PublishingInt:SMObjectList web control. It has several parameters that my be changed:

  • SortExpression. On wich field you want the images sorted.
  • SortDirection. The ordering - must be either "ASC" or "DESC" - case sensitive!
  • ListViewName. Name of the default view, for example, "All documents". The default is the thumbnail view.
  • ThumbnailColumns. Number of columns in the thumbnail view.
  • ThumbnailRows. Numver of rows in the thunmbnail view.
  • PageSize. Number of documents/images to display on each page in the grid view
  • and some others ...

I would like to change the icons and texts in the toolbar as well, but I haven't figured out how to do this... yet ... Any suggestions?

No comments: