Powered by open link directory

Powered by open link directory

I need to let users of an application open a folder by clicking a link inside a web page. The path of the folder is on the network and can be accessed from everywhere. I’m probably sure there is no easy way to do this, but maybe I’m mistaken?

7 Answers 7

Do you want to open a shared folder in Windows Explorer? You need to use a file: link, but there are caveats:

  • Internet Explorer will work if the link is a converted UNC path ( file://server/share/folder/ ).
  • Firefox will work if the link is in its own mangled form using five slashes ( file://///server/share/folder ) and the user has disabled the security restriction on file: links in a page served over HTTP. Thankfully IE also accepts the mangled link form.
  • Opera, Safari and Chrome can not be convinced to open a file: link in a page served over HTTP.

The URL file://[servername]/[sharename] should open an explorer window to the shared folder on the network.

make sure your folder permissions are set so that a directory listing is allowed then just point your anchor to that folder using chmod 701 (that might be risky though) for example

make sure that you have no index.html any index file on that directory

Using file:///// just doesn’t work if security settings are set to even a moderate level.

If you just want users to be able to download/view files* located on a network or share you can set up a Virtual Directory in IIS. On the Properties tab make sure the "A share located on another computer" is selected and the "Connect as. " is an account that can see the network location.

Читайте также:  Можно ли пользоваться телефоном если вздулась батарея

Link to the virtual directory from your webpage (e.g. http://yoursite/yourvirtualdir/) and this will open up a view of the directory in the web browser.

*You can allow write permissions on the virtual directory to allow users to add files but not tried it and assume network permissions would override this setting.

Does not work in Chrome, but this other answers suggests a solution via a plugin:

You can also copy the link address and paste it in a new window to get around the security. This works in chrome and firefox but you may have to add slashes in firefox.

A bit late to the party, but I had to solve this for myself recently, though slightly different, it might still help someone with similar circumstances to my own.

I’m using xampp on a laptop to run a purely local website app on windows. (A very specific environment I know). In this instance, I use a html link to a php file and run:

This opens a local Windows explorer window.

Popular Categories

My Account

Latest Links

Home — Add Link Exchange

Welcome to Add Link Exchange! We are a free High PR SEO website directory filled with links to interesting websites. Add your website to increase it’s ranking in the search engines.

All our directories and categories are filled with interesting, relevant websites and manually approved, so you will only find quality links.

All links are dofollow and online, all offline are removed.

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Читайте также:  Как включить оповещение в одноклассниках на телефон

Description

Open Directory Links (ODLinks) help you to build a websites directory and allow your site visitors to submit links by themselves and enabling visitors to search for a website.

This plugin is under active development. If you experience problems, please first make sure you have the latest version installed.
Feature requests, bug reports and comments can be submitted here.

Upgrade

You will need to make the Smarty cache folders writeable (chmod 777):

Notes

I hope you enjoy using Odlinks.

Thank you
Mohammad Forgani

History

To Do

Arbitrary section

A brief Markdown Example

Installation

  • Unzip the downloaded file and upload the odlinks folder to your WordPress plugins folder (/wp-content/plugins/)
  • Log into your WordPress admin panel
  • So go ahead and activate the plugin, which should appear in the list of installed plug-ins.

The activation process add a new menu with the name “ODLinks” to the navigation bar in your WordPress admin site.
* “ODLinks” will now be displayed in your admin panel.

  • For first step instructions, go to Options “Settings” under ODLinks menu.

You will need to make the Smarty cache and template_c folders writable (chmod 777):
Use your FTP client to change its permissions to 777.
* odlinks/includes/Smarty/cache
* odlinks/includes/Smarty/templates_c

Once you have changed the folder permissions, return to your browser, and refresh it.
Now you can submit your settings. After submission, installer process will create the tables automatically.

For your information, after submitting the settings a new page will be created with the title [[ODLINKS]].
This title will be also added to the content of pages automatically.
Do NOT remove the page. The plugin work correctly with this page ID.
Please, you should keep the default title [[ODLINKS]] of page to make it to work…

Читайте также:  App store как поменять язык на русский

To uninstall and deactivate the plugin, please go to Options “uninstall” under ODLinks menu.

  • Creating/Editing a category and subcategory
  • Before deploying, you should create and set-up the categories and subcategories for your Website.
  • Go aheead and choose “Categories” from the ODLinks drop down menu and insert the category name and category description and then submit it.
  • You can insert the subcategories by clicking on ‘Add Category’ and choosing any category name from the list in parent category. If you select root as parent category, then you create a main category.
  • Create a subcategory is mandatory and required!

Depending on the “Permalink Settings” it’s possible for some pages that the categories urls are not accessible.
To fix this problem you should go to update the .htaccess file which is existed under WordPress top directory.

Normally if you click on categories you will get something like this:
/odlinks/?_action=main& >

If instead of the “/odlinks/” something else is placed for example “/97-revision-v1/”
you can update your the .htaccess file as follows:

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteRule ^97-revision-v1/?([^/])?/?(.)$ /index.php?pagename=odlinks=$1=$2 [QSA,L,R,NS]
RewriteCond % !-f
RewriteCond %
!-d
RewriteRule . /index.php [L]

https://www.youtube.com/watch?v=PSrZpBrGaYo
This guide will show you the step by step process for first installation/configuring

How can we display the latest xx ads in the sidebar?

Ссылка на основную публикацию
Adblock detector