Ticket #10764 (closed Bug: fixed)

Opened 6 years ago

Last modified 4 years ago

/Members folder blocks right column portlets so portlets do not show in member's home folders

Reported by: sergey_v Owned by: bslash
Priority: minor Milestone: 4.x
Component: General Version: 4.1
Keywords: TuneUp, greenbelt Cc:


When setting up a new instance, Plone creates /Members folder and blacklists all types of portlets in it - the reason for that is because we don't want portlets on the users search page which is set as an index page of /Members.

There's a downside of this approach, however: if we enable creation of member folders, the folders themselves and all content inside them will have no right-hand portlets - this is especially confusing if there are content-type or group portlets assignments - imagine a custom content type which is supposed to always have a portlet displayed - it works fine everywhere apart from members' home folders.

The content-type and group folders can be turned back on on a per-homefolder basis (though it's an ugly workaround), but there's no way to re-enable context portlets assigned at the root of the site (apart from re-assigning them anew).

A better solution IMO would be to disable right-hand portlet slot in the corresponding templates (member_search_form and member_search_results) without blocking any portlets at /Members - at least this is what the intention actually is - not to show portlets in those templates instead of blocking them everywhere below the /Members folder.

The code which does the blocking is in Products/CMFPlone/setuphandlers.py, lines 382:388 - I think removing that and blocking the slot in the templates will do the trick.

Tested with 4.0b4

Change History

comment:1 Changed 6 years ago by hannosch

  • Component changed from Unknown to Infrastructure

The approach sounds sensible to me.

comment:2 Changed 6 years ago by hannosch

  • Milestone changed from 4.0 to 4.x

Actually this isn't Plone 4 specific but has existed for a while.

comment:3 Changed 6 years ago by jessilfp

  • Keywords TuneUp greenbelt added

comment:4 Changed 5 years ago by WouterVH

I would just remove the block, you can always configure to block these portlets on the Members-folder yourself.

I don't see anything wrong in seeing right-hand portlets there. e.g "Latest news and events by our Members".

other templates show these portlets as well: eg footer-links: /contact-info --> shows the right-hand portlets /accessibility-info --> shows the right-hand portlets /sitemap --> does NOT show the right-hand portlets

comment:5 Changed 5 years ago by pingviini

  • Status changed from new to assigned
  • Owner set to pingviini

comment:6 Changed 4 years ago by davisagli

  • Component changed from Infrastructure to General

comment:7 Changed 4 years ago by pingviini

  • Owner pingviini deleted
  • Keywords TuneUpgreenbelt added; TuneUp greenbelt removed
  • Version set to 4.1

comment:8 Changed 4 years ago by jargon

  • Keywords TuneUp, greenbelt added; TuneUpgreenbelt removed

comment:9 Changed 4 years ago by massimo

  • Owner set to massimo

I would proceed as suggested by WouterVH.

comment:10 Changed 4 years ago by bslash

  • Owner changed from massimo to bslash

comment:11 Changed 4 years ago by bslash

  • Status changed from assigned to closed
  • Resolution set to fixed

fixed on 4.2 and master

Note: See TracTickets for help on using tickets.