Collection title overrides page title

Bug #896890 reported by Don Presant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Jono M

Bug Description

When pages in a collection are displayed, the title that appears at the top of the pages is the title of the collection, not the title of the particular page.

Is this a bug or a feature? I see it as a bug.

In this case below, a page enttitled "Professional Page" looks like it's called "Site Index", which is just wrong:
http://careerportfolio.mb.ca/view/view.php?id=1209

Is there a reason to have it the other way? Could it be accommodated in other ways, such as optionally having:
 "CollectionTitle: PageTitle" ?

Mahara 1.4 , LAMP
FF and IE (at least)

tags: added: collections
Changed in mahara:
importance: Undecided → Medium
tags: added: bite-sized
Changed in mahara:
status: New → Triaged
Revision history for this message
François Marier (fmarier) wrote :

Note that the title were are talking about here is the heading at the top of the page, not the HTML page title.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hello Don,

I never thought it to be a big problem to only have the collection title displayed, but then I use the tabbed navigation. If you don't have that, then it does look misleading. I think it is a bug and not a feature.

Actually, there is a bug that plays in here as well: bug #897057

Revision history for this message
Don Presant (don-learningagents) wrote :

Hi Kristina,

I'm happy if you want to join this to 897057 - good to have the author as well.

I like the "bite-sized" tag, if I'm interpreting correctly ...8->

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Francois had already added a line to bug #897057 to link it.

And bite-sized means that it shouldn't be a big deal to add, but could be done quickly.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Richard and I had a chat about this and we propose the following:

Show the page title instead of the collection title in the heading of the page if "Page navigation", i.e. the tabbed navigation is turned off.

The collection title should then be displayed in the collection navigation block. It doesn't make too much sense to have the collection title displayed as there is no way to get to the entire collection unless the other pages are linked on the page somehow.

We are not going to change anything for the collections that have the tabbed navigation as the page titles are displayed in the tabs below the collection title.

Bug #897057 will be tackled separately as that is better for reviewing the fixes.

Changed in mahara:
assignee: nobody → Jono (reason-koan)
Revision history for this message
François Marier (fmarier) wrote :
Changed in mahara:
status: Triaged → In Progress
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hello Don,

Do you want to take a look at the proposal that is in review?

Cheers
Kristina

Revision history for this message
Don Presant (don-learningagents) wrote :

I haven't seen a mockup, so am visualizing this in my mind...

Are we hanging onto the collection name for a specific user reason, or because it's easier to code?

To me, it's redundant to have the collection name in addition to the page name, if you are using a collection block.

Will anything change for tabbed collections? Having the same solution means the page titles are redundant.

That said, the suggested improvement is better than what we have now.

My 2 cents.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Here are two screenshots:

tabbed navigation: https://skitch.com/anitsirk/8d7gk/tabbed-navigation

non-tabbed navigation: https://skitch.com/anitsirk/8d7g4/navigation-no-tabs

Both have the collection title in them. As we may not see the full title of a page when in tabbed form if it is long, this may not be such a bad solution. I like that the name appears (I'm just logged in as admin therefore also username).

Revision history for this message
Don Presant (don-learningagents) wrote :

Thanks for the screenshots.
I don't need the collection name, but this is an acceptable compromise.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/1071
Committed: http://gitorious.org/mahara/mahara/commit/08104a1aa6447d9f94ad968348ad0e47c322db06
Submitter: Francois Marier (<email address hidden>)
Branch: master

commit 08104a1aa6447d9f94ad968348ad0e47c322db06
Author: Jono Mingard <email address hidden>
Date: Wed Feb 22 17:06:05 2012 +1300

    Collection title overrides page title (Bug 896890)

    Changes htdocs/view/view.php
    If a page is in a collection with tabbed navigation, the
    collection title only is displayed. If a page is in a
    collection without tabbed navigation OR not in a collection
    at all, only the title of the page is displayed.

    The author has been removed from the page header (title
    used to be "PageTitle by Author" but is now just "PageTitle")
    (This includes editing a page)
    It will be added back with my fix for Bug 897057.

    The title is also no longer a link as without small headers
    it used to act as a link to the current page.

    Note: The $title variable is now global and is set only once
    (rather than twice within two if statements).

    Change-Id: I36fa6945862d57c8e3767828e1a6c4bd6a1e3a94
    Signed-off-by: Jono Mingard <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
milestone: none → 1.5.0
Melissa Draper (melissa)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.