sachatrauwaen / OpenContent

Structured Content editing for DNN (Dotnetnuke)
46 stars 25 forks source link

Ability to assign a different skin for detail pages #148

Closed robert-m closed 3 years ago

robert-m commented 3 years ago

Hi guys! Is there any way to assign or serve a different skin for the details page?

Example: The main template uses the skin thats already assigned via the Page Settings (eg. "videos.ascx") but once a user clicks to view the detail.hbs page it serves a different skin (eg. "video-details.ascx")

 "templates": {
    "Main": {
      "type": "multiple",
      "title": "Videos",
      "main": {
        "template": "template.hbs"
      },
      "detail": {
        "template": "detail.hbs",
        "skin": "video-details.ascx"
      }
    }
  }
Timo-Breumelhof commented 3 years ago

How I handle this is by creating a details page and place the module on that page too.