I have an alternate homepage template, homepage.pt, which has a different layout. When I click the manage-portlets link to edit the portlets, though, it uses main_template.pt instead of homepage.pt. Is there any way to have @@manage-portlets use whichever template the page you’re editing the portlets for uses? It’s workable as is, but the layout is quite different to what the page actually looks like.
I have an alternate homepage template, homepage.pt, which has a different layout. When I
Share
So, the answer is yes, with a little messing around. You can use an alternate template for manage-contextual.pt out of plone.app.portlets and change the metal:use-macro attribute to use your custom macro. I used jbot and naming the file:
plone.app.portlets.browser.templates.manage-contextual.pt
does what it should. This replaces the manage portlets view for all pages though, including ones that were using main_template.pt. Not insurmountable, but a little annoying. I can think of a few solutions: