Sisimizi's Download Folder - Open In New Window
Permalink
I would like to be able to click the file and have it open in a new window (still in the browser). I am using Sisimizi's download folder to list PDF meeting minutes. I appreciate anyone who could send me in the correct direction.
Thank You very much Sascha! I could have spent a long time trying to figure out what file and where to add the HTML code. Four line edits and it is working great.
I am trying out this block.
I uploaded some files.
I see the files.
When I click on a file I get:
Page Not Found
No page could be found at this address.
Any suggestions?
I uploaded some files.
I see the files.
When I click on a file I get:
Page Not Found
No page could be found at this address.
Any suggestions?
im guessing you did not add the files
This is my 1st attempt at a golf website.
http://www.ughly.com/dto/
Click on the Download tab and pick a file.
http://www.ughly.com/dto/
Click on the Download tab and pick a file.
Try adding the mod_rewrite code to the .htaccess file in the main directory. If you don't have one just use notepad to create a text file with the following code then save it as .htaccess without the .txt extension and don't forget the period before the h.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
Hi ughly,
you do not need to use modrewrite for that, you can change that from block configuration page using the "Substitute URL" field.
But I guess the problem is something different. Where did you upload the files for your downloads (to which folder) ?
Your files link tohttp://www.ughly.com/dto/index.php/downloads/downloads/Golf_Truisms... - you probably did create a folder "downloads" within your c5 installation folder for that. In this case your website "downloads" cannot have the same page name. Try changing the name for download folder then. Don't forget to change it on the block configuration, too. ;)
If that's not the problem please let me know where exactly you placed the download folder (you can do that by private message if you prefer to keep it non public).
you do not need to use modrewrite for that, you can change that from block configuration page using the "Substitute URL" field.
But I guess the problem is something different. Where did you upload the files for your downloads (to which folder) ?
Your files link tohttp://www.ughly.com/dto/index.php/downloads/downloads/Golf_Truisms... - you probably did create a folder "downloads" within your c5 installation folder for that. In this case your website "downloads" cannot have the same page name. Try changing the name for download folder then. Don't forget to change it on the block configuration, too. ;)
If that's not the problem please let me know where exactly you placed the download folder (you can do that by private message if you prefer to keep it non public).
Or use one of the attached view.php files and simply replace the original one. I've included files for the 1.0 version and 2.0 beta (available on the marketplace forums as attachment in this post:http://www.concrete5.org/marketplace/addons/download_folder/support... )
I will add this function as an option on the next version ;)