DOCman 1.4 unable to download document directly from search - Joomla! Forum - community, help and support
hi
i have docman 1.4 component installed on site. when run search document name on frontend, search results links not allow me download actual document. annoying, need manually navigate category download document searching for.
looking @ source code of page, appears docman not including href of document path, when rendering search results
page url: index.php?option=com_docman&task=search_result&itemid=64
however if navigate actual category document resides, href appears;
page url: index.php?option=com_docman&task=cat_view&gid=45&itemid=64
i have tried looking @ the code, cannot understand how add (downloadlink) href search results rendered screen
any ideas?
i have docman 1.4 component installed on site. when run search document name on frontend, search results links not allow me download actual document. annoying, need manually navigate category download document searching for.
looking @ source code of page, appears docman not including href of document path, when rendering search results
page url: index.php?option=com_docman&task=search_result&itemid=64
code: select all
<a class="dm_name">instructions delete incorrect client record <script language="javascript" type="text/javascript">
<!-- <![cdata[
function showtooltip109() {
return overlib('<div id=dm_tooltip><table summary=todo cellspacing=0><caption>details for<em> instructions delete incorrect client record</em></caption><col id=prop /><col id=val /><thead><tr><td>property</td><td>value</td></tr></thead><tbody><tr><td>name</td><td>instructions delete incorrect client record</td></tr><tr><td>description</td><td></td></tr><tr><td>filename</dt><td>instructions delete incorrect client record.doc</td></tr><tr><td>filesize</dt><td>187.5 kb</td></tr><tr><td>filetype</td><td>doc  (mime typeapplication/msword)</td></tr><tr><td>creator</td><td>admin</td></tr><tr><td>created on:</td><td>09/23/2008 14:47</td></tr><tr><td>viewers</td><td>everybody</td></tr><tr><td>maintained by</td><td>editor</td></tr><tr><td>hits</td><td>22hits</td></tr><tr><td>last updated on</td><td>07/12/2011 17:14</td></tr><tr><td>homepage</td><td></td></tr></tbody></table></div>', caption, '', above, right, width, 320);
}
// ]]> -->
</script>
<span class="dm_link_tooltip" onmouseover="javascript:showtooltip109()" onmouseout="return nd();"><img src="http://intranet/components/com_docman/themes/default/images/icons/16x16/tooltip.png" alt=""/></span>
</a>
however if navigate actual category document resides, href appears;
page url: index.php?option=com_docman&task=cat_view&gid=45&itemid=64
code: select all
<a class="dm_name" href="http://intranet/index.php?option=com_docman&task=doc_download&gid=109&itemid=64">instructions delete incorrect client record <script language="javascript" type="text/javascript">
<!-- <![cdata[
function showtooltip109() {
return overlib('<div id=dm_tooltip><table summary=todo cellspacing=0><caption>details for<em> instructions delete incorrect client record</em></caption><col id=prop /><col id=val /><thead><tr><td>property</td><td>value</td></tr></thead><tbody><tr><td>name</td><td>instructions delete incorrect client record</td></tr><tr><td>description</td><td></td></tr><tr><td>filename</dt><td>instructions delete incorrect client record.doc</td></tr><tr><td>filesize</dt><td>187.5 kb</td></tr><tr><td>filetype</td><td>doc  (mime typeapplication/msword)</td></tr><tr><td>creator</td><td>admin</td></tr><tr><td>created on:</td><td>09/23/2008 14:47</td></tr><tr><td>viewers</td><td>everybody</td></tr><tr><td>maintained by</td><td>editor</td></tr><tr><td>hits</td><td>22hits</td></tr><tr><td>last updated on</td><td>07/12/2011 17:14</td></tr><tr><td>homepage</td><td></td></tr></tbody></table></div>', caption, '', above, right, width, 320);
}
// ]]> -->
</script>
<span class="dm_link_tooltip" onmouseover="javascript:showtooltip109()" onmouseout="return nd();"><img src="http://intranet/components/com_docman/themes/default/images/icons/16x16/tooltip.png" alt=""></span>
</a>
i have tried looking @ the code, cannot understand how add (downloadlink) href search results rendered screen
any ideas?
Comments
Post a Comment