does some page template / doc type exist where I can reference an existing page?
i.e. Create new page "my reference copy" and then I select an existing page which content should be displayed on the newly created "my reference copy" page.
Do you only want that page to exist so you can call that page by its url? If so, just add a property on your "base" page of type text string (alias=umbracoUrlAlias) and add any url you'd like. For example, say you've got a page
No, I want a second page somewhere in the navigation hierarchy display the content of another page. The second page should be displayed in the Navigation too. The contents of the page should just reference the page I choose.
"Reference" Page?
Hi,
does some page template / doc type exist where I can reference an existing page?
i.e. Create new page "my reference copy" and then I select an existing page which content should be displayed on the newly created "my reference copy" page.
Thanks
Maximilian,
Do you only want that page to exist so you can call that page by its url? If so, just add a property on your "base" page of type text string (alias=umbracoUrlAlias) and add any url you'd like. For example, say you've got a page
http://www.domain.com/contact
and you wanted this to be also available as
http://www.domain.com/contact-us
just add contact-us as the value of the property and both urls will render the same "base" apge.
Does that help?
Cheers,
/Dirk
Thank you Dirk,
No, I want a second page somewhere in the navigation hierarchy display the content of another page. The second page should be displayed in the Navigation too. The contents of the page should just reference the page I choose.
Hi Max ,
Try out the following
1.Create new Document type say call "displayOtherPagesContent" or what ever suits create a template
2. On this new document type add the datatype "Content Picker" and give it an alias for example displayPageContent
3. In your "displayOtherpagesContent" template drop in the following razor in the contentplaceholder
<umbraco:Macro runat="server" language="cshtml">
@Model.NodeById(Model.displayPageContent).bodyText
</umbraco:Macro>
3. Create a new page in your content section , select the existing page content you wish to display from "Content picker"
4. Preview , publish page and you will see the content in this page from page you selected in content picker
This assume that page have property called bodyText where content is stored.
Hope that sets you on right path
is working on a reply...