Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I Need HELP!!! I am completely lost. I need to create 5 separate landing pages that have a title and pdf. I don't want the file to have to be manually downloaded. I want it to appear when the person goes to the page. I also do not want to have the pages show up in navigation. I also need 5 separate URLs for each page.
Can you provide your Umbraco structure?
What version are you using ?
Thanks for responding Alex. I am new and my designer left so I have no ideas about structure....the version is Umbraco version 7.2.8 assembly: 1.0.5675.23466
can your landingpages already store pdfs?
If not, you can add a new Document-Type inheriting all Properties of Landingpage and add a Property to store the PDFs (choose Propertytype MediaPicker).
Then you change the Template file of the Document-Type. You could use something like this to output your PDFs:
<embed src="@Umbraco.Media(Umbraco.Field("pdf").ToString()).Url" width="500" height="375" type='application/pdf'>
At last just create 5 pages of that Type and add your PDFs.
About the URLs:
Do you need five Urls leading to each of the Pages or one URL each? What form do you want them to have?
Thanks so much...I need 5 URLs
Thats actually very easy:
Go to your Documenttype and create a new Property with the alias "umbracoUrlAlias" and of type text string.
Lets say your URL ist something like this:
Go to your content and add additional paths to the newly created field like this:
/secondname, /path/somepath/newname2, /path/newname3, /newname4, /completlydiffrentpath/name
Your Content will now be additionally availible under these URLS:
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted