Advertisement
Guest User

Untitled

a guest
Jul 24th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.82 KB | None | 0 0
  1. Error message on editing newly created "Home" page based on the presentation:pages/home template.
  2. ===
  3. Error while rendering [/Home] with template [presentation:pages/home] for URI [/Home.html?mgnlPreview=false&mgnlChannel=desktop]:
  4. RenderException: No template script defined for the template definition [info.magnolia.rendering.template.configured.ConfiguredTemplateDefinition@2439a1df[id=presentation:pages/home,name=home,renderType=site,description=<null>,title=<null>,templateScript=<null>,autoGeneration=info.magnolia.rendering.template.configured.ConfiguredAutoGeneration@501b686d[content={},generatorClass=<null>]]]
  5.  
  6. c:\mgnl\light-modules\presentation\templates\pages\main.yaml
  7. ===
  8. dialog: mte:pages/pageProperties
  9. class: info.magnolia.module.site.templates.PrototypeTemplateDefinition
  10.  
  11. templateScript: /presentation/templates/pages/main.ftl
  12. renderType: site
  13. type: feature
  14.  
  15. cssFiles:
  16.   prettyPhoto:
  17.     addFingerPrint: true
  18.     link: /.resources/theme/prettyPhoto.css
  19.     media: all
  20.   form:
  21.     addFingerPrint: true
  22.     link: /.resources/theme/form.css
  23.     media: all
  24.   nivo-slider:
  25.     addFingerPrint: true
  26.     link: /.resources/theme/nivo-slider.css
  27.     media: all
  28.   nav:
  29.     addFingerPrint: true
  30.     link: /.resources/theme/nivo-slider.css
  31.     media: all
  32.   style:
  33.     addFingerPrint: true
  34.     link: /.resources/theme/style.css
  35.     media: all
  36.  
  37. jsFiles:
  38.   - link: /.resources/theme/js/jquery.js
  39.     addFingerPrint: true
  40.   - link: /.resources/theme/js/jquery.nivo.slider.js
  41.     addFingerPrint: true
  42.   - link: /.resources/theme/js/jquery.prettyPhoto.js
  43.     addFingerPrint: true
  44.   - link: /.resources/theme/js/script.js
  45.     addFingerPrint: true
  46.  
  47. areas:
  48.   slider:
  49.     availableComponents:
  50.       slider:
  51.         id: presentation:components/slider
  52.   content:
  53.     availableComponents:
  54. #      content-services:
  55. #        id: presentation:components/content-services
  56. #      content-team:
  57. #        id: presentation:components/content-team
  58.       richtext:
  59.         id: presentation:components/richtext
  60.   footer1:
  61.     editable: false
  62.     type: noComponent
  63.     availableComponents:
  64.       footer-section:
  65.         id: presentation:components/footer-section
  66.   footer2:
  67.     editable: false
  68.     type: noComponent
  69.     availableComponents:
  70.       footer-section:
  71.         id: presentation:components/footer-section
  72.   footer3:
  73.     editable: false
  74.     type: noComponent
  75.     availableComponents:
  76.       footer-section:
  77.         id: presentation:components/footer-section
  78.  
  79. c:\mgnl\light-modules\presentation\templates\pages\
  80. ===
  81.  
  82. c:\mgnl\light-modules\presentation\templates\pages\home.yaml
  83. ===
  84. renderType: site
  85. areas:
  86.   footer1:
  87.     editable: true
  88.   footer2:
  89.     editable: true
  90.   footer3:
  91.     editable: true
  92.   content:
  93.     availableComponents:
  94.       content-sidebar:
  95.         id: presentation:components/content-sidebar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement