Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Edy1981 on
Hello everybody. I just wanted to know if is there a way to link to a network file or share directories in oa in my home page. I don't know if maybe there is a module that allows me to do that, cause I was thinking to edit the oa-home-default.tpl.php and make it manually. But is there a way through oa?
Thanks a lot for all the help I've received till today.
Comments
What is "oa", how does this
What is "oa", how does this relate to Drupal?
Hi nevets. oa= open atrium.
Hi nevets. oa= open atrium.
=-=
If the file isn't part of the theme hard coding into a theme file should be avoided.
you can utilize relative urls within content to link to files. However, depending on what you are trying to accomplish in the long run (it's not clear), you may want to use a filefield to upload the file within content.
Hi VMII. we have a shared
Hi VMII. we have a shared network public folder for all the departments. It was implemented in the same server that is hosting open atrium. What we want is to have a link to that folder in our home page. It doesn't matter to open it in the same web navigator, it can be opened in the windows explorer, like for example when you click on start/mycomputer. I don't know if I am been clear.
Thanks a lot.
The link part is easy, just
The link part is easy, just you the path of the folder. But it is may not work at all, since the folder may not be accessible from the web. And even if the folder is accessible, the link may not behave the way you want.
You may need a custom module that provides a menu entry where the callback reads the directory and provides a file listing.