I don't think this is a current feature of the module, but something I'm interested in doing is having two different "view" tabs on my nodes. One would display the node in the normal site theme, one would display it in the admin theme. Any ideas how I might be able to accomplish this? I'm a developer, so I might be up for building this feature myself and contributing it back. Any tips? ...or reasons that this would be a terrible idea? Any help would be appreciated.

CommentFileSizeAuthor
#2 course_admin_view.png211.56 KBattheshow
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

davyvdb’s picture

Category: support » feature
Status: Active » Postponed (maintainer needs more info)

What's the use case for this? If we add this, I think we should make it more generic, not only on nodes, but also on term pages, paths, ...

attheshow’s picture

FileSize
211.56 KB

My use case is that the node view is displayed differently to internal users to external users. For instance, I have a content type called a "course" and then i have other content types that are associated by node reference (course notes, course revisions, etc.). I'm currently using views with an argument to display those views on the regular node view. That then gives the internal users easy access to go to those associated nodes from the primary course node page.

However, when a non-authenticated user views the page, the default view would need to be in my non-admin theme and they would see a different view of the node. I've attached a screenshot of my current view when using the intended admin theme as the default theme.

davyvdb’s picture

Title: Admin Theme "View" Tab » Switch to "administration theme" hovering link
Status: Postponed (maintainer needs more info) » Active

I've been thinking a bit more about this and a more general approach could be to create a hovering link (or something else) that appears on all pages. Clicking the link would show the same page but using the administration theme.

justy’s picture

Issue summary: View changes
Status: Active » Closed (outdated)