×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: DocMan ....

DocMan .... 15 years 6 months ago #1124

  • werner
  • werner's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi,

I have a J1.5.7, DocMan 1.4.0 rc3 and your Comment3.26. The comments work fine on content items but after following alains tutorial (other component settings and adding a new com_docman there) I still have no comments in docMan... I included all sections so there should be something ....

Did I miss something, do I need some hacking or ....

I attached the General settings of the docman ... maybe it helps (just in small size due to your limit)


thx werner

DocMan .... 15 years 6 months ago #1139

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hi there!
It is not so easy :)
The developers of docman have to put the following code in there template:
<div class="dm_description" style="text-align:right;">
<?php
	global $option, $mosConfig_absolute_path;
	require_once("$mosConfig_absolute_path/administrator/components/com_comment/plugin/$option/josc_com_docman_item.php");
?>
</div>

Since this code is not there you have put it yourself there. Open the following file:
components/com_docman/themes/default/templates/documents/document.tpl.php

and add the above lines in the end of it.

This should make the comments to appear!

Greetings!
Daniel

DocMan .... 15 years 6 months ago #1165

  • werner
  • werner's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Thx for the code - works fine in IE but in Firefox 3.0.3 the form just flashes and that's it ..... no insert or anything ...

DocMan .... 15 years 6 months ago #1168

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, you are right. It is also not working for me. I will get back to you when we solve the problem.

DocMan .... 15 years 2 months ago #2473

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey there! This is the code that will go in 4.0 can you please test with joomal 1.5(it will work only on 1.5). It is working for me. com_docman.zip
  • Page:
  • 1
Time to create page: 0.147 seconds