Expand my Community achievements bar.

SOLVED

How to override default feed.jsp?

Avatar

Level 3

Hi all,

How do you override default "/libs/foundation/components/primary/cq/Page/feed.jsp". I need to override "url".

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 10

Overlay at /apps  Additional thing you need to do are create a proxy to avoid jcr:content in the url.

* Create /Page.feed.jsp at /apps/foundation/components/primary/cq/Page/
* copy the text from /libs/foundation/components/primary/cq/Page/proxy.jsp into newly created "Page.feed.jsp"
* Now access with http://<hostname>:<port>/content/geometrixx/en.feed you custom feed wil be called

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Overlay at /apps  Additional thing you need to do are create a proxy to avoid jcr:content in the url.

* Create /Page.feed.jsp at /apps/foundation/components/primary/cq/Page/
* copy the text from /libs/foundation/components/primary/cq/Page/proxy.jsp into newly created "Page.feed.jsp"
* Now access with http://<hostname>:<port>/content/geometrixx/en.feed you custom feed wil be called

Avatar

Level 9

I overrided default feedentry.jsp to have my customized atom.xml, it works fine for cq:Page, dam:Asset content type.

I see there is feedentry.jsp in these folder structure, I replaced with my own feedentry.jsp.

However I don't see any feedentry.jsp which I can override in sling/OrderedFolder,  all the feed requests for sling:OrderedFolder  is getting out of box feed from libs/foundation.

Can you please let me know how to override sling:orderedFolder to use from my apps.