[MGNLFORUM-152] Forum page templates should use the forum/thread title in page title, breadcrumbs and other "meta" page info Created: 01/Jun/11  Updated: 04/Nov/15  Resolved: 04/Nov/15

Status: Closed
Project: Forum (closed)
Component/s: templates
Affects Version/s: None
Fix Version/s: Ideas

Type: Improvement Priority: Neutral
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

We currently use a single page to display threads or forums; they are dynamic. Since all the "logic" is contained in a paragraph, the page currently can't have relevant breadcrumbs. Example: current breadcrumbs are
Magnolia Community Forums > Thread list > Thread, and the page title is something along the lines of Magnolia Community Forums - Thread, which is really not that useful. It should be something along the lines of
Magnolia Community Forums > Help > How to do this or that and Magnolia Community Forums - How to do this or that, respectively. *

Other dynamic pages such as "events" have the same problem.

One way of doing this would be:

  1. customize the page template to override the breadcrumbs and page title etc. Breadcrumbs should be a breeze, since they're a well extracted "include" in the stk templates. Page title might involve more copy and paste.
  2. and/or : all such page-level "meta" information should be provided via the page model. This would allow simply overriding the page model to provide the forum-specifics for these page (i.e override getBreadCrumbsProvider() and getPageTitle() methods, for instance)

As far as the forum is concerned, this shouldn't cause much of a performance overhead, since we retrieve the content by uuid, and we assume the repository provided will keep that node warmly in its cache. It might not be that simple for other use cases, so I'm not sure how much this can be generalized. Option #2 is still probably a valid approach to be moved to STK anyway.

* (and yes, those breadcrumbs are there on forum.magnolia-cms.com, only because we've hacked them in the paragraph template)



 Comments   
Comment by Christoph Meier [ 09/Dec/13 ]

moved from 4.0 to Ideas.

Comment by Michael Mühlebach [ 04/Nov/15 ]

Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes.
Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog for some time now with very little movement.
I'm going to close this to set expectations so the issue doesn't stay open for years with few updates. If the issue is still relevant please feel free to reopen it or create a new issue.

Generated at Mon Feb 12 02:01:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.