×

Notice

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

TOPIC: Docman on Joomla 1.0.15

Docman on Joomla 1.0.15 15 years 2 months ago #6458

  • massimo
  • massimo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
how to install plugin for docman on J1.0.15?
I installed joomlacomment.3.12c but I don't know how to install plugin(mambot) for docman, can you help me please?
Thank you in advance,
Massimo

Docman on Joomla 1.0.15 15 years 2 months ago #6460

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
watch this:
compojoom.com/media/tutorials/PLUGINDocman_newentry.htm

and include the following things:
<!-- START joomlacomment INSERT -->
<div style="float:left;" align="left">
<?php
	global $option;
	require_once(JPATH_SITE."/administrator/components/com_comment/plugin/$option/josc_com_docman_doc.php");
?>
</div>
<div class="clr"></div>
<!-- END OF joomlacomment INSERT -->
 
* at the end of the following file :
* components/com_docman/themes/.../templates/documents/document.tpl.php
<!-- START joomlacomment INSERT -->
<div class="dm_description" style="text-align:right;">
<?php
	global $option;
	require(JPATH_SITE."/administrator/components/com_comment/plugin/$option/josc_com_docman_item.php");
?>
</div>
<!-- END OF joomlacomment INSERT -->
 
* at the end of the following file :
* components/com_docman/themes/.../templates/documents/list_item.tpl.php

Docman on Joomla 1.0.15 15 years 2 months ago #6469

  • massimo
  • massimo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Thank you for your fast reply,
I think have to install version 3.2 that have menu for docman component or (other components).
I will and inform you of the result.

Docman on Joomla 1.0.15 15 years 2 months ago #6487

  • massimo
  • massimo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hi Daniel,
I followed your suggestion and installed 3.26 version,
I modified the two files like you wrote, but at the moment I receive this error in docman.
start error:
DocumentsDate added
Order by : Name | Date | Hits [ Ascendant ]
file icon test file commentnew! 09/02/2009 Hits: 4
testing comment files

* Download
* Details


Notice: Use of undefined constant JPATH_SITE - assumed 'JPATH_SITE' in C:\Program Files\EasyPHP 3.0\www\isse\components\com_docman\themes\default\templates\documents\list_item.tpl.php on line 166

Warning: require(JPATH_SITE/administrator/components/com_comment/plugin/com_docman/josc_com_docman_item.php) [function.require]: failed to open stream: No such file or directory in C:\Program Files\EasyPHP 3.0\www\isse\components\com_docman\themes\default\templates\documents\list_item.tpl.php on line 166

Fatal error: require() [function.require]: Failed opening required 'JPATH_SITE/administrator/components/com_comment/plugin/com_docman/josc_com_docman_item.php' (include_path='.;C:\PROGRA~1\EASYPH~1.0\\php\includes') in C:\Program Files\EasyPHP 3.0\www\isse\components\com_docman\themes\default\templates\documents\list_item.tpl.php on line 166
end error
Please can you suggest what I can do to resolve the problem?
Thank you for your attention,
Massimo

Docman on Joomla 1.0.15 15 years 2 months ago #6494

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You were using Joomla 1.0 ? The code I gave you is for 1.5
change it to this one
 
<!-- START joomlacomment INSERT -->
<div style="float:left;" align="left">
<?php
	global $option, $mosConfig_absolute_path;
	require_once("$mosConfig_absolute_path/administrator/components/com_comment/plugin/$option/josc_com_docman_doc.php");
?>
</div>
<div class="clr"></div>
<!-- END OF joomlacomment INSERT -->

and
<!-- START joomlacomment INSERT -->
<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>
<!-- END OF joomlacomment INSERT -->

Docman on Joomla 1.0.15 15 years 2 months ago #6497

  • massimo
  • massimo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Great! Thank you so much Daniel, it is working well.
So, JoomlaComment is really usefull and well done!
Thank you again for your help!
Massimo

Docman on Joomla 1.0.15 15 years 2 months ago #6498

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Haha, If you think that JoomlaComment is usefull wait to see BiggieSmalls

Docman on Joomla 1.0.15 15 years 2 months ago #6499

  • massimo
  • massimo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Great! Thank you so much Daniel, it is working well.
So, JoomlaComment is really usefull and well done!
Thank you again for your help!
Massimo

Docman on Joomla 1.0.15 15 years 2 months ago #6500

  • massimo
  • massimo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Hi Daniel, just a question about docman plugin working:

is it normal that (in docman) it let me comment only the first file of the directory?
or is it to setup to somewhere?

Thank you for your attention.

Docman on Joomla 1.0.15 15 years 2 months ago #6509

  • massimo
  • massimo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
here is a sample [img]

Docman on Joomla 1.0.15 15 years 2 months ago #6510

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Massimo. When you add new files to a directory, then you are only able to comment on the new files?

Docman on Joomla 1.0.15 15 years 2 months ago #6511

  • massimo
  • massimo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
No Daniel, I can comment only the first file of the directory, in the other there is not the link to comment.

Docman on Joomla 1.0.15 15 years 2 months ago #6512

  • massimo
  • massimo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Ok, but if I go to detail button I can comment...
the files are without readmore and number of comment(link)

Docman on Joomla 1.0.15 15 years 2 months ago #6513

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ah you see the write comment button only once, aha.

But the extension is working when you go to details view?

Docman on Joomla 1.0.15 15 years 2 months ago #6514

  • massimo
  • massimo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
yes it works ! without "write comment link", but with details view I can write comment.

Docman on Joomla 1.0.15 15 years 1 month ago #7225

  • Hitarth
  • Hitarth's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
First of all thanks for this great component.

Yes i too can comment in all files but see the Write comment (0 Comments) only on first file while i am seeing the list -

e.g. hitarthjani.com/index.php?option=com_doc...iew&gid=45&Itemid=42

But i am able to comment when i see individual file details..

e.g. hitarthjani.com/index.php?option=com_doc...ils&gid=27&Itemid=42

Everything else just works like a charm :)
  • Page:
  • 1
Time to create page: 0.149 seconds