All questions about EDocman extension

Call to undefined method Joomla\CMS\Document\HtmlDocument::registerAndUseStyle()

  • Markward Kufleitner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 1 day ago - 1 week 1 day ago #173880 by Markward Kufleitner
Joomla! 5.3.3

eDocman 3.0 editors-xtd Plugin throws above error in line 94 of edocman.php at trying to edit an article in backend.
Code:
$doc->registerAndUseStyle('edocman.editor.style', Uri::root().'plugins/editors-xtd/edocman/css/style.css');

I worked around it by exchanging above line with:
Code:
$doc->addStyleSheet(Uri::root().'plugins/editors-xtd/edocman/css/style.css');

Please fix this error in the next eDocman release.

Thanks

Markward    
Last edit: 1 week 1 day ago by Markward Kufleitner.

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #173881 by Dang Thuc Dam
Hi Markward,
The mention issue has been resolved in Edocman 3.0
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Markward Kufleitner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 1 day ago #173882 by Markward Kufleitner
As I mentioned, I already use eDocman 3.0, so the issue isn't resolved for me.

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #173883 by Dang Thuc Dam
Hi,
I see, but could you please upgrade it again?
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Markward Kufleitner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 1 day ago #173884 by Markward Kufleitner
Error is gone, after I manually installed the eDocman 3.0 package.

Can you say, why it didn't work after normally upgrading to eDocman 3.0?

Kind regards and thanks for your help

Markward

Please Log in or Create an account to join the conversation.

More
1 week 1 day ago #173886 by Dang Thuc Dam
That was a minor issue, and we have just fixed it and updated Edocman to version 3.0.
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Dang Thuc Dam