Expand my Community achievements bar.

daros
daros
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hello @webdev91, AEM is shortening the image src path on publish environment, you can confirm that by looking at Day CQ Link checker Transformer on the OSGI configs. You need to match those rule with a rewrite or a mapping, project archetype will already include them: https://github.com/adobe/aem-pr...

    Type

    Questions

    Views

    4.5K

    Like

    1

    Replies

    0
  • I made it work! you need to change the URL root meta property on customheaderlibs to use the getRootUrl ( I was wondering what it was for ) from your custom model:  This is the default using spa core Page model<meta property="cq:pagemodel_root_url" data-sly-use.page="com.adobe.aem.spa.projec...

    Type

    Questions

    Views

    2.7K

    Likes

    5

    Replies

    4
  • @bipinchandra92 In that example i had set Structure Depth to 0, in spa template policy. Here's what it looks like when set to 1: { "title": "English", ":itemsOrder": [], ":items": {...}, ":path": "/en", ":type": "project/components/spa", ":children": { "/en/home": { "title": "H...

    Type

    Questions

    Views

    2.8K

    Likes

    4

    Replies

    5
  • Thanks for the help @bipinchandra92 , I have implemented a custom page model and shortened the path at said methods: getExportedPath()getModelUrl()getChildPageModels()all three now, remove the content folder part out of the output. but I still get an extra call:made to /en/home.html and i am not abl...

    Type

    Questions

    Views

    2.8K

    Likes

    4

    Replies

    7
  • Hi, I'm currently facing a lot of issues trying to shorten the URL in an AEM project using the spa editor.Currently we have a structure similar to /content/project/en/home.html that is rewritten to just /en/home/ using dispatcher mod_rewrite.The SPA router just doesn't understand the short URLS, res...

    Type

    Questions

    Views

    2.9K

    Likes

    3

    Replies

    9
Top badges earned by daros
Customize the badges you want to showcase on your profile