Opening pdf in DotNetNuke - asp.net

I have a pdf file uploaded from the filemanager, this file must be shown in a new tab when a user clicks on the download button.
For now I just create the link manually, because I don't know how else I could do it.
Is there any other way to do this (for example via the settings page)?

You could add a link to the PDF in the DNN Navigation Menu by adding a new Page, but in the URL options for the page point to the PDF file, instead of an actual DNN page.

Related

How to have a pdf open when clicking on a wordpress site page title

I'm trying to set up our wordpress page to automatically display a pdf when a user clicks on the page title.
Here is the example we are trying to emulate
On the Carlmont H.S. foundation website, under the Our Supporters tab, if you click on "2015-2106 Honor Roll", it directly links to:
http://www.carlmontacademicfoundation.org/wp-content/uploads/2016/10/2015-16-Donor-Roll.pdf
Here is our website:
http://www.aragonfund.org/
If you click on donors the page opens and displays at plugin that displays the PDF. We are wanting it to just open directly.
Go to pages, add a new page, change your permlink to yourpagename.pdf
Store your pdf at your wordpress, media
at the menu link, use yourpagename.pdf link then save your menu link and publish.
Go to the page and add your pdf file as open on-page link using the HTML Constructor widget plugin.

Wordpress hyperlink to editable Excel document

I have this personal WordPress site and would like to add hyperlinks that when clicked instantly open an excel file that i would be able to edit then save my changes.
I would also help if i could do this for other programs.
Thanks

custom module in Drupal 6.26

I am working in Drupal 6.26. I am developing a custom module, in which i am i want to upload file in node creation page. I want an option to upload image, like there should be file upload component and a upload button. So when admin select a file and click on submit button file has to get saved in a folder and need to save the path in database. After upload the image thumbnail should appear with remove button. When the admin clicks on remove button the image thumbnail should disappear and file upload component has to displayed with upload button. On save of the node, the image path has to map with node. This is similar to cck file upload option. Please help me to do this. Thanks.
this would be a complex form using AHAH (AJAX) behaviour to both get the thumbnail displayed and the remove button functionality.
I would recommend starting off by studying the File upload and CCK code so you can define simple form using the Form API and then adding to it some AHAH magic.
You can get a good example of a AHAH module in Drupal 6 here

how to display a document in my aspx page

My apsx page basically displays the product description.
A user designs his own classified add and the description is displayed on an aspx page as he has designed it. To make the description more elaborate and instead of designing more components I thought that user should design an additional file (catalog of his product) and upload that at the time of designing the advert.
Now what format of file should I allow the user to create a catalog and how to show the file in the same description page? Can I use update panel? iframe?
You can ask the user to upload PDF file and use iframe to show it.
Basic example
PDF is very popular these days and most people have reader installed including plugins for their browser.
Edit: also possible to ask them for either PDF or Word file (.doc) and in case of Word document convert it to PDF on the fly.

Edit Sharepoint shared web part CSS for extra actions

Currently I have a web part with some custom CSS. This is a Document Library web part which also contains the link to "Add a new document" below.
Once I click Add new document I am taken to the upload document page. Is there any way to have the upload document section displayed on the same page or is there an easy way to custom style the upload document page for just this library only?
Well, the upload page is also a web part page which hosts a list form web part. You can add the web part to any page and add custom CSS to that page, even using Content Editor WP. The problem is that the Add new document link always points to the page that is designated as the New form page of the list, you can change this setting using SharePoint Designer in 2007 (it's even simpler in 2010).

Resources