1
Vote

Detail url in Context

description

I noticed that the detailUrl in the context (data) does not take the set detailUrl in the manifest into account.

I have this in my manifest: "detailUrl": "{{Title}}",
And the detailurl = "http://dnn7dev.local/dae-milan-2017/milan/id/1075", it;s missing the Title.. :-)

comments

sachatrauwaen wrote Apr 3 at 3:15 PM

Hi Timo,

It work for me.

Can you send me your manifest ?

Timo_Design wrote Apr 3 at 4:34 PM

Hmm, the links in the list are correct..

<a href="http://dnn7dev.local/dae-milan-2017/milan/id/1076/what-is-design-without-photography">

But when I click it it reverts to:

http://dnn7dev.local/dae-milan-2017/milan/id/1076

(DNN 7.3.4)

Weird.

Manifest:

{
"editWitoutPostback": true,
"index": true,

"detailMetaTitle": "{{Title}}",
"detailMetaDescription": "{{convertHtmlToText Text}}",
"detailUrl": "{{Title}}",
"detailMeta": "{{#if Banner.url}}<meta property=\"og:image\" content=\"https://dnn7dev.local{{Banner.url}}\" />{{/if}}<meta property=\"og:type\" content=\"article\" /><meta property=\"og:title\" content=\"{{Title}}\"/>",

"templates": {
"list": {
  "type": "multiple",
  "title": "List",
  "clientSideData": true,
  "main": {
    "template": "list.hbs",
    "partialTemplates": {
      "item": {
        "template": "listItem.hbs",
        "clientside": true
      }
    },
    "schemaInTemplate": true,
    "optionsInTemplate": true,
    "additionalDataInTemplate": true
  },
  "detail": {
    "template": "detail.hbs",
    "schemaInTemplate": true,
    "optionsInTemplate": true,
    "additionalDataInTemplate": true
  }
}
},
"additionalData": {
"Topics": {
  "title": "Topics",
  "storageKey": "Topics",
  "modelKey": "Topics"
},
"Buttons": {
  "title": "Buttons",
  "storageKey": "Buttons",
  "modelKey": "Buttons"
},
"Stream": {
  "title": "Stream",
  "storageKey": "Stream",
  "modelKey": "Stream"
}
},
"dataSource": "DaeBroadcastDataSource"
}


but when I click them they revert to