RubberDoc keeps your Docs in a row

Due to the large number of responses here we have closed the comments and opened a new support page.

RubberDoc for Joomla! 1.5

RubberDoc is an easy to use document manager extension for the Joomla! CMS 1.5 and higher. For the time being we have started this blog post to answer your questions about the Joomla! RubberDoc Extension and read your wonderful feedbacks.

Please Feel free to improve the code

The source code is released under the GPL license, so feel free to read through it and improve it if you liked and in that case please give us a copy too. You will get credit for your contribution on the “About” section of the component.

Credits

RubberDoc is a collaborative project done by:

If you find this extension useful, we would really appreciate it if you leave positive ratings and reviews here on this page[tags]rubberdoc, joomla, extension, document, asset management, content management[/tags]

96 thoughts on “RubberDoc keeps your Docs in a row”

  1. Ok

    Uninstalled, reinstalled com and mod

    Then created directory documents in my root (where it was before)

    What file attributes does this dir need, i gave it 777

    Now when i go to Manage Documents i get a warning

    Please create a writable directory in the Joomla root and name it “”

    ?

  2. I found it

    If i clicked new then the warning displayed

    Please create a writable directory in the Joomla root and name it “rubberdoc”

    Whereas in the manage documents it didnt tell me that just “”

    Made rubberdoc and gave it 660 and seems to work ok now.

    Does that mean i dont need the documents folder now, presume this has changed to rubberdoc ?

  3. Hi Rastin

    Uninstalled old component and installed lattest com_rubberdoc_v_0.9.4.zip.

    Uploaded 2 .pdf files and embeded them in an article with the code:

    {docs category=”ehsq”}.

    I was not prompted to create any ‘documents’ or ‘rubberdoc’ directory in the root.

    Launched the site, again on OS X with Safari 3.1.1

    Selected the link to the .pdf file.

    Result:

    Did not open for viewing. File downloaded as a .html file. When you browse to the file and open it it is totally corrupted.

    When done with Firefox 2.0.0.13, the file opens corrupted also.

    Any ideas?

    Thanks a million

    Robbie

  4. Where are the download links? I went to the Joomla Extensions website and I don’t see anything. Any help please? Thanks!

  5. Please ignore my last comment about not being able to find the download link–I found it.

    I’m having a problem with the module. I’ve published the module and when I click on a document, I get a Joomla 500 error. I am using Joomla 1.5.3 with SEF enabled. Here’s a link to my site. On the right-hand side, please click on the Latest Documents tab. http://www.houstonda.org/

    Thanks!

  6. I have created a menu item under main menu that points to a single doc

    All good here but when i move the item to another menu it shows on the site fine, but in admin when i go to that menu its not there ?

  7. Well i am having real problems.

    092 seemed to work fine, i have now gone to 094 and my problem above still exists, i inserted a pdf as a menu item in an existing menu, this works on the site but in admin, menu manager the pdf is not there – infact the other 3 links are not there either ?

    So i created a new menu added a test menu item to a single pdf, this shos in admin and on the site but the menu link on the site is the actual pdf hyperlink underlined rather than a menu item and is too far too the left ?

  8. “@jef – Unfortunately we could never get rubberdoc working with the .html appended to urls. Any suggestions to fix the issue?”

    Do I need to disable SEF then for it to work? Any ideas when you will be able to get it to work with SEF URLs? Thanks!

  9. I also just noticed that if i put

    {docs}mytext{/docs} within a document that does not work either ? Whereas it did before with v 092 ?

  10. @jef – no you don’t have to switch off the SEF, only the html suffix. Try this and see if it works:

    Global Configuration > Site > “Add suffix to URLs” and set it to “no”

  11. @Rastin – Yeah, that worked. I’m using Artio SEF component and I simply just changed the extension to php. Works like a charm now! Thanks!

    Also, on the menu item, I set “Filter” to hide; but, when I browse the files under a category, I can still filter the documents by description, date, etc. Is that a bug? Thanks!

  12. @jeff – awesome!

    The “filter” is only going to show/hide the filter search box on the Category view of documents.

    Would love to see the extension working on your site once it is ready. please post us a link.

  13. @Rastin

    Thanks that bug fix sorted out my single pdf not showing

    What about my other post about the menus ? Is it a bug or something else ?

  14. @dave – You’re welcome. The menu item issue is a bug and we still haven’t had the chance to fix it. We maintain the GPL projects on our free time, unless a client hires us to fix issues or custom develop a solution.

  15. Hi all,

    Just a further update on my problem, i uninstalled rubberdoc again and deleted the rubberdoc folder in the root directory that was still there from the previous install and still contained the previous uploaded files.

    Next, I again installed the new rubberdoc, created a new rubberdoc folder in root as prompted and uploaded two .pdf files. Went to the live site and selected the first file, it automatically downloaded as ‘docname.pdf.html and opens full of corrupted characters.

    I made sure I followed the earlier fix of

    Global Configuration > Site > “Add suffix to URLs” and set it to “no”.

    Couldn’t even suggest any ideas to fix this, sorry.

    Robbie

  16. Let me guess you are using Safari right? I think there is a bug in Safari that makes it download files in “filename.pdf.html” format. Change the extension of the downloaded files to “filename.pdf” and then try opening it.

  17. @Rastin

    Thanks, at least i know its a bug and not some problem i have caused or a template issue!

    Do you have a page for know bugs / issues ?

  18. This looks like an excellent component. I think its popular because it clearly fits the Joomla! mold, and isn’t as complex as a product such as DocMan. Its also officially 1.5 Native, which is drawing some attention.

    Feature suggestion, the ability to upload (or at least reference) a thumbnail image to associate with the download. The image could be assigned on the same screen that the description is updated. It could then be displayed next to the download in the download list.

  19. Hello, I am having the same problem referenced above, as “docname.pdf.html and opens full of corrupted characters.” I am using the most recent .04 version of RubberDoc. This was an issue in all earlier versions to my experience. I am using Firefox not Safari. This issue doesn’t appear in IE7 and the applications seems to work fine in that browser now, though I think it did not before (can’t quite recall).

    Changing the file name extension once downloaded is not very convenient and shouldn’t be necessary. I am still hopeful I can use RubberDoc in my applications but until the download bug that appends .html at the end of the file name is resolved for Firefox the application isn’t quite ready. I also checked Global Configuration to be sure that “Add suffix to URLs” and set it to “no”.

    Is there some fix for this I am missing? Thanks for any assistance, this is overall looking really cool.

  20. I really like a lot about RubberDoc – great work!!

    The one thing with which I have a problem for my intended use is that the document title is a link, even if there’s no file associated with it.

    Because of the ease of managing documents, I was hoping to use RubberDoc as a sort of bibliography component… the problem is, we don’t have downloadable copies of all of the publications we want to list. This means that a number of the items in our list end up having links that lead to a 404 error. 🙁

    So, feature request: please consider making the download link only active IF there is actually a document file to download associated with the entry.

    Thanks!

  21. Hi Scott! that is indeed a great point. If there are no files attached, no links should be displayed, and the fix is quite easy too. We’ll take care of that in the next release.

    Thank you!

    🙂

  22. I have been working on deploying a new version of my personal webpage using Joomla to make management easier.

    Awesome addition, just what I was looking for, and I love how easy it is to embed the files into articles and still have them available from the downloads section.

    One content component modification I am considering putting in place is the ability to have a single download page for all my categories, it might allow people with small sites to utilize the download section feature without having to make visitors click through section after section.

    I made some modifications to the components/com_rubberdoc/views/category/tmpl/default_items.php and added a function at the top:

    function formatfilesize($size)
    {
    $nsize = $size * .0009765625;
    $filesize = round($nsize,2).” KB”;
    if ($nsize > 1024) {
    $nsize *= .0009765625;
    $filesize = round($nsize,2).” MB”;
    }
    if ($nsize > 1024) {
    $nsize *= .0009765625;
    $filesize = round($nsize,2).” GB”;
    }
    return $filesize;
    }

    Then I modified the line for displaying the file size to use:

    file_size); ?>

    I also modified the language file: language/en-GB/en-GB.com_rubberdoc.ini to have FILESIZE=Size instead of FILESIZE=Size MB

    That way the file size is dynamic to the content and it still sorts properly, etc.

  23. Hi all,

    @Richard, @Rastin,

    I can confirm that this is also a bug in Firefox 2.0.0.13. When choosing the option to open the file, it opens corrupted.

    Changing the .pdf.html extension to .pdf also works but would aggree with richard that it is not convenient (but would not have been as blunt about it 🙂 ).

    Further, on IE6, which a large amount of people in Ireland are still running on XP, the file can be downloaded fine and opens ine, but if you choose to not download and just open, it gives the following:

    ‘There was an error opening this document. The file cannot be found.’

    Rastin, i can send you a link and log in details for my site privately if you wish.

    Talk soon,

    Robbie

  24. Just getting started here. I’ve installed “com_rubberdoc_v_0.9.4.zip”. What do I do with the other two zip files (html.zip & mod_rubberdoc.zip) and how are they used?

    I’ve also applied the 094 simple bug patch for July 8 (the July 3 one was already in the version that I downloaded I think). Two notes on this:

    The single and double quotes in the code on your website were turned into curly quotes so I got an error about an unexpected “:”. Changing them back to straight quotes in the php file got rid of the error.

    Applying the patched patch 🙂 corrected the problem of Safari adding .html to the end of a PDF file for me. As a sidebar, I have the same problem downloading attachments from email when using Charter’s webmail interface which I think is from OpenWave Systems. Fortunately, I don’t do that very often.

    BTW, thanks for the component. I haven’t gotten very far with it yet, but it looks pretty slick!

    Tim

  25. Hi, me again!

    Here’s an odd one: I set up my first article with three document links within a single doc tag. The paragraph of text before the links is fine. The list with the links is fine. The paragraph after the links however is still indented.

    I’ve tried this in Safari and Firefox on OSX. Both behave the same except that Safari has more vertical space before the trailing paragraph.

    Looking at the source it seems that the list is not closed. It appears to be closed with rather than .

    You can see an example on my front page: http://www.rochesterfsc.org/joomla15. Here is the code for that section:

    OK, now we’re going to throw in some download docs. If you want them, come and get them.

    JPSE Summer 2008 Registration
    Junior Club Summer 2008 Registration
    JC Hockey Summer 2008

    It doesn’t look like the list is being closed properly. And now some more dummy test. Free digital books are now available online from the Rochester Public Library! You can download, and then enjoy digital books–even take them with you–without being connected to the Internet. Click here to download one today.

  26. Oops, it appears that the code in the last post got sucked up into the html. You can check the source on my website if you want but is basically it looks like the list is closed with ul instead of /ul.

    T.

  27. You were right Tim, thank you so much! that’s what happens when dyslexics do programing 😉

    I have fixed the code for the next release

  28. Hi there all you Rubberdoc-aholics,

    Applied the patch from July 8th regarding changing the view.raw.php file.

    I edited it with all the code in the patch fix:

    $doc =& JFactory::getDocument();
    $doc->setMimeEncoding( $mime );
    $doc->setModifiedDate( $data->get(’modified’) );
    $doc->render();

    header(’Content-Disposition: attachment; filename=”‘.$fileName.’” ‘);
    header(’Content-Length: ‘. $fileSize);

    and replaced the old view.raw.php file.

    Went to one of my docs (in Safari and firefox and IE6) and got the following error:

    Parse error: syntax error, unexpected ‘:’ in /home/madeinei/domains/madeineire.com/public_html/lotus/components/com_rubberdoc/views/doc/view.raw.php on line 57

    Any ideas? Will this continue in the 0.9.5 release?

    Robbie

  29. Robbie . . .

    Same thing happened to me. The webpage did a smart quotes replacement. Change any curly quotes in the code (double and single) back to their straight quote cousins.

    This did fix the Safari download (*.pdf.html) issue for me.

    T.

  30. Hi Rastin,

    One more thing . . . I’ve installed “com_rubberdoc_v_0.9.4.zip”. What do I do with the other two zip files (html.zip & mod_rubberdoc.zip) and how are they used?

  31. Hi –

    Is there any way to increase the maximum filesize that RubberDoc handles? I have several very large presentations that need to be hosted. Thanks,

    Len

  32. Can the rubberdoc categories be translated trough any language component like say… joomfish.

  33. HI Tim and all,

    Replaced the quote symbols as advised but got the following errors:

    Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in /home/madeinei/domains/madeineire.com/public_html/lotus/components/com_rubberdoc/views/doc/view.raw.php on line 60

    This occurred on Safari, Firefox and IE6.

    Am I the only one who can’t get this app working???? 🙁

    MAn i hope i get it goin soon. Need to finish my site pronto.

    Cheers, Robbie

Comments are closed.