Ticket #849 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

Collections must not change visible section

Reported by: tarmo Owned by: vahur
Priority: major Milestone:
Component: generic Version:
Keywords: Cc:
Time planned: Time remaining: 0h
Time spent: 5.0h

Description

Even though collections are stored inside the MemberFolder? in Community section, they are accessed from the other sections (since collections can only contain stuff from the three other sections). The visibile theme color should not switch to Community, but rather stay the same (one of the other three).

Here's a solution proposal:

  • create a special object with id "mycollections" under each of the three first section main levels
  • this object will have call or bobo_traverse methods that will internally change the acquisition path so that /content/mycollections accesses the database at /community/CURRENTUSER/collections and /content/mycollections/COLL1 at /community/CURRENTUSER/collectionc/COLL1

Change History

comment:1 Changed 13 years ago by tarmo

  • Owner changed from anonymous to tarmo
  • Status changed from new to assigned

comment:2 Changed 13 years ago by tarmo

  • Owner tarmo deleted
  • Priority changed from major to minor
  • Status changed from assigned to new

OK, tried with bobo_traverse. Otherwise it works OK, except that the site is riddled with absolute links, and Plone's forms are pretty much built on them. So it's impossible to keep the browser in this faked path, since the first absolute_url call will jump to the real path.

Some other method to change the visible section is needed, even though the URL cannot be changed. But will this confuse those users who can read the URL? Because the URL will point to the community section, and if the skin looks like it's in activities for example, is this a problem?

comment:3 Changed 13 years ago by tarmo

  • Priority changed from minor to major

One option is to override absolute_url* methods and handle this special case...

comment:4 Changed 13 years ago by vahur

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

comment:5 Changed 13 years ago by vahur

  • Status changed from assigned to closed
  • Time spent set to 4.0h
  • Resolution set to fixed
  • Time remaining set to 0h

(In [1141]) closes #849 spent 4h a bit of CSS hack to keep user in the same section when viewing collections.

comment:6 Changed 13 years ago by hans

  • Status changed from closed to reopened
  • Resolution fixed deleted

Does not work. Click here on the "view collections" link and see how the section will change: http://lemill.net/content/ulevaade-uusmeedia-valdkonnast/view

comment:7 Changed 13 years ago by vahur

  • Status changed from reopened to closed
  • Time spent changed from 4.0h to 5.0h
  • Resolution set to fixed

(In [1320]) closes #849 spent 1h going to collections from material keeps user in green area

Note: See TracTickets for help on using tickets.