search result customization

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-01-2013 08:21 PM
Hi Guys,
Is it possible to bring up check-boxes next to each search result and Doc lib action menu in the search result page of alfresco.
If yes then how do i do it?
Thank u in advanceā¦!!
Is it possible to bring up check-boxes next to each search result and Doc lib action menu in the search result page of alfresco.
If yes then how do i do it?
Thank u in advanceā¦!!
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-02-2013 01:19 AM
Yes, you could do that. Search results are drawn by a YUI datatable. Check out the file <ROOT>/share/components/search/search.js. There is a datatable instantiation there, look for
I would add a third column, something like
Or set a custom formatter there ,and add some behavior to it, an action click or whatever you need.
var columnDefinitionsā
. It's an array of two columns that draw search results - one for an icon, another for data. There are also two functions just above it that render the individual cells.I would add a third column, something like
{key: "nodeRef", label: "Select", formatter: YAHOO.widget.DataTable.formatCheckbox}ā
.Or set a custom formatter there ,and add some behavior to it, an action click or whatever you need.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-06-2013 08:30 PM
thank u!!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-06-2013 08:35 PM
but what about doc lib action menu "Selected Item menu"!?
