This project is read-only.

Projector Alternates

Topics: Core
Mar 15, 2012 at 4:14 AM


Does anyone know how to implement Alternates for a projector view?. We have a need for providing the ability to add edit buttons to a projector result set, so that users can edit any content item displayed.



Mar 15, 2012 at 5:50 AM
Edited Mar 15, 2012 at 5:50 AM

You can do this without using an alternate view by using a layout with custom properties and the Rewrite Output feature. You can output an edit link for the content item using the {Content.EditUrl} token.

Mar 15, 2012 at 5:51 PM

You could provide a different Display Type in the Layout's options. Then the alternate will be YOURCONTENTTYPE.YOURDISPLAYTYPE.cshtml

Jun 3, 2012 at 11:29 AM

yes but you have to add the projector part to your custom contenttype. then you are able to create a alternate based on it's contenttype. Unfortunatelly the projector part has not the attachable extension attached so you have to do this through migrations.