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

nevets’s picture

What is "oa", how does this relate to Drupal?

Edy1981’s picture

Hi nevets. oa= open atrium.

VM’s picture

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.

Edy1981’s picture

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.

nevets’s picture

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.