Does anyone know of a good way to assign a Publication Package to just one page on a list or is this impossible?
The problem I'm trying to solve is to have one page, a payment form, published as secure but all other pages on the list publishing as normal. So if I have this setup:
[Section contents page]
- [About Section]
- [FAQs on Seciton]
- [Another normal page]
- [Payment Form]
I'd just like [Payment Form] to be published securly and all the other insecurely.
At the moment the only way I can do this is to add an extra layer to give me a new sub-list that I can attach the secure PubPackage and the play with adding redirects and other things, buts it's really ugly.
Cheers!
Hi Chris,
I have a solution that would would for you.
Create a content class that has code like this
<html>
<head>
<title></title><meta http-equiv="refresh" content="0;URL='<%lst_navigation%>'"></html>
</head>
<body>
</body>
Note: you can add in more HTML later to make it SmartEdit friend. Ensure lst_navigation has insert path and file name only enabled. Make sure this content class is a master page.
Now, create and connect a page instance of this content class to wherever lst_navigation you can. Then, under the lst_navigation of the previously created page, create and connect the page you really want, and attach the publication package you want.
Now all your pages are part of navigation manager. However, when you prefer your secured page, you will see a navigation page a level above "sticking out", which is the redirect page. I can tell all the complicated ways to code navigation manager to do conditional level skips and everything but that's not my style. My goal is to provide the easiest and most maintainable solution. So here it is.
In the content class of your secure page (I hope the secure page is the last page in the SmartTree branch, and it has it's own content class)
Use this code for your left navigation
<%!! Navigation:OutputArea(Left Navigation, Bool:False, Context:CurrentMasterPage.MainLink.OwnerPage.Id, Bool:False) !!%>
This will make the left navigation display as if it is called and rendered from the secured page's parent page. Of course, when web users click on the secured page's parent page URL from the left navigation, they will be redirected to the right URL of the secured page.
I hope I made sense. I typed this in a rush.
Best,
-Jian
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/rRl3wczrg94J.--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To post to this group, send email to reddot-c...@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.