Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8151959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:34:01+00:00 2026-06-06T15:34:01+00:00

I have an alternate homepage template, homepage.pt, which has a different layout. When I

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T15:34:03+00:00Added an answer on June 6, 2026 at 3:34 pm

    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:

    1. Just add a new manage-portlets-yourspecialtemplate view that has a copy of manage-contextual.pt, modified to suit. This is the easiest way and lets me edit all my portlets (including the ones that were already there) in context as I originally wanted. Yay!
    2. I didn’t try it, but if the only page you have with a non-main_template.pt template is your homepage you could try registering a manage-portlets view for the Products.CMFPlone.interfaces.IPloneSiteRoot interface. I haven’t tried adding views with the same name (but applying to different interfaces) so I have no idea if this works.
    3. Some conditional logic in manage-contextual.pt that uses a different template based on whatever you use to distinguish whichever pages have different templates.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a feature of my application which depends on alternate-click. Windows users don't
I have tried to configure alternate access mappings in my SharePoint 2010 which is
I have a website with Facebook integration. The homepage has a few Like buttons,
We have alternate text, alt attribute, for an img tag in HTML, which will
A my SQL database has an Item table. Each item can have many alternate
i would to have alternate 2 colors of rows, like the first black, the
Can we have alternate Row color to GtkMenu items? and how to increase menu
I have been trying to grab a file from an alternate git branch and
Now I have a long query and I'd like to alternate with such a
I have used TableCellRenderers on a table to repaint cells so that every alternate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.