Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

JoomDOC WebDAV icon's label gone
(1 viewing) (1) Guest
Document management system (DMS) component for Joomla!

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.

TOPIC: JoomDOC WebDAV icon's label gone

JoomDOC WebDAV icon's label gone 9 years, 10 months ago #44252

I am starting to be used to the fact that with JoomDOC one is never getting bored: as soon as one problem is fixed (often by us, without Artio's support), here it comes another ready for you.
In this case I was fortunate as the malfunction was not preventing (smart) users from using my file sharing area.

I have installed JoomDOC v4 enterprise on two identical Joomla! v.2.5.20 sites now. On one I am able to view both the icon + lablel for WebDAV editing, on the second one, no matter what I do, only the icon is displayed.

I am hereby asking Artio's support to help me out.

Thank you
DL
Attachments:
The topic has been locked.

Re: JoomDOC WebDAV icon's label gone 9 years, 10 months ago #44271

  • jitr
  • OFFLINE
  • ARTIO Support
  • Posts: 1432
Hello, place here url of the page.
ARTIO Support Team
The topic has been locked.

Re: JoomDOC WebDAV icon's label gone 9 years, 10 months ago #44285

The component is accessible by registered users only. If you want to get access to the area where I've installed JoomDOC, provide me with an email where I can send it.
In the meantime, I am attaching a screenshot of it.

Thank you.
DL
Attachments:
The topic has been locked.

Re: JoomDOC WebDAV icon's label gone 9 years, 10 months ago #44291

I think I've found the error, but have no idea on how to fix it tho.
With firebug, I've inspected the webdav "Edit File" icon and found that the "<span class="j25">Edit File</span>" is contained into the strong tag. If I put the <span class="j25">Edit File</span> just after the strong tag, the Edit File label is correctly displayed.


<span id="editWebDav">
<a id="file_0" class="editWebDav" title="Edit file with WebDav" href="www.mysite.com/hcwebdav/v54h81gqoqi5idb1...esting.doc">
<strong>
DAV_testing.doc
<span class="j25">Edit File</span>
</strong>
</a>
The topic has been locked.

Re: JoomDOC WebDAV icon's label gone 9 years, 10 months ago #44293

Following the previous hints I got from firebug, I was able to track-back the files which are directly linked to the displaying of the "Edit File" pencil label (when using WebDAV).

1) mysiteroot\adminiswtrator\language\en-GB\en-GB.com_joomdoc.ini

2) mysiteroot\administrator\components\com_joomdoc\libraries\joomdoc\utilities\webdav.php

file nr.1 contains the "Edit File" label while file nr.2 contains the code (line 67-69) which is responsible of displaying the pencil icon plus (filename) and "Edit File" label

Now, I don't know why this is happening but, the code in #2-69:

$document->addCustomTag('<script id="tableRowFile" type="text/html"><a class="editWebDav" id=\'{id}\' href=\'{href}\' title=\'' . JText::_('JOOMDOC_EDIT_WEBDAV') . '\'><strong>{name}</strong><span class="j25">' . JText::_('JOOMDOC_EDIT_FILE') . '</span></a></script>');

By removing the <strong></strong> code, I was able to bring the label back but it also contains the file name:

e.g.

filename.docEdit File

I'd rather prefer "Edit File" only but if I remove {name} from the 69 line, the icon+label is not displayed at all!

So I added an extra space to file #1 "Edit File" line 94 as follows:

JOOMDOC_EDIT_FILE=" Edit File"

And the results is:

pencil icon filename.doc Edit File


Request:
In first place, I'd love to fix the html page messing up (ref. my previous post)
If no clue, either having the webdav pencil icon+"Edit File" only or advise on what to do otherwise.

Thank you
DL
The topic has been locked.

Re: JoomDOC WebDAV icon's label gone 9 years, 10 months ago #44294

Quick update:

The above procedure temporarily fixed the webdav icon displaying mismatch on the front-end.
At the back-end I now have files name printed aside the pencil icon but cell space is not adjusted accordingly resulting in text overlapping.
At the moment, I'll leave thing like that as front-end operations are more important.

Thank you
DL
The topic has been locked.
Přihlášení uživatele Prázdný