Project

General

Profile

feature request #4490

Make the label of the taxon page tabs customizable for portal admins

Added by Patrick Plitzner about 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Highest
Category:
cdm-dataportal
Target version:
Start date:
11/20/2014
Due date:
% Done:

50%

Severity:
normal
Tags:

Description

For the specimen tab:

"I think that "Specimens" might be a good default and only if you also handle observations you may change the label if you want.(a.mueller, see comment 2)"

once this is implemented and release the following adaptions are to be applied:

  • Campanula: Specimens --> Specimens & Observations

  • Rubiaceae de Mexico: Synonymie --> Nomenclature

Associated revisions

Revision 4feeabc7 (diff)
Added by Andreas Kohlbecker almost 2 years ago

fix #4490 taxon page tab labels configurable and fixing translation issue with menu items

Revision ed0183ea (diff)
Added by Andreas Kohlbecker almost 2 years ago

ref #4490 cleaning up: removing theme registry entry

Revision 2a61a296 (diff)
Added by Andreas Kohlbecker almost 2 years ago

ref #4490 improving settings documentation

Revision 93115722 (diff)
Added by Andreas Kohlbecker almost 2 years ago

ref #4490 automatic menu cache refresh after tab label changes

History

#1 Updated by Andreas Kohlbecker about 4 years ago

  • Subject changed from Make the label of the "Specimen" tab customizable for portal admins to Make the label of the taxon page tabs customizable for portal admins

This should be solved in a general way, therefore I am changing the ticket title.

Its already implementd in the theme function theme_cdm_taxonpage_tab()() which soon should be replaced by cdm_dataportal_preprocess_menu_local_tasks() which is not jet fully implement. The following two features are missing:

  • a text field for each of the tabs to specify an alternative label

  • code in cdm_dataportal_preprocess_menu_local_tasks() which sets the alternative label

Additional maintenance task:

  • check the portals for alternative tab labels and list the actions which need to be done after a deploy of this feature in each of the portals

#2 Updated by Andreas Müller about 4 years ago

Have we agreed on "Specimens & Observations"? Labeles should be short ! We also discussed "Occurrences". As we have many Flora and Checklist users I think that "Specimens" might be a good default and only if you also handle observations you may change the label if you want.

#3 Updated by Andreas Kohlbecker over 2 years ago

  • Keywords set to mexico,
  • Target version changed from cdm_dataportal - Next Major Release to Release 4.3
  • Priority changed from New to Highest

#4 Updated by Andreas Müller about 2 years ago

  • Target version changed from Release 4.3 to Release 4.4

#5 Updated by Andreas Kohlbecker about 2 years ago

  • Description updated (diff)
  • Target version changed from Release 4.4 to Release 4.5

#6 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#7 Updated by Andreas Kohlbecker almost 2 years ago

  • Assignee changed from Andreas Kohlbecker to Andreas Müller

@ Andreas M.:

When reviewing you can take a look at http://test.e-taxonomy.eu/dataportal/preview/rubiaceae-mexico/admin/config/cdm_dataportal/settings/layout/taxon where the Synonymie has been overridden by Nomenclature.

#8 Updated by Andreas Müller almost 2 years ago

  • Private changed from Yes to No

#9 Updated by Andreas Müller almost 2 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Andreas Kohlbecker

I switched it on for Campanula and Mexico Rubiaceae.

Worked for Rubiaceae after a couple of refreshs. For Campanula it worked only in the menu (untabbed version) but not in the tab. But maybe it is also only a refresh issue. Is it possible to automatically refresh those services which are responsible for it. This makes it easier to use and test for a user. If not possible there should be some help/documentation saying what to do to really make it happen in the tested portal.

An example for campanula is http://campanula.e-taxonomy.net/cdm_dataportal/taxon/85cb1104-b1c9-459d-840e-4329be8bd5b5/specimens (needs login). Currently it does not show the new label on my machine.

Also I wonder if I18n works somehow on the terms. For Mexico it is important. Can we at least use the standard drupal way for translating terms. A better solution of course would be to allow to add translations more directly.

A last issue: if possible it would be more intuitive if the label textfields could be placed just beside the according visibility checkboxes instead of having a separate section for the labels. Also this makes the configuration interface more compact.

#10 Updated by Andreas Kohlbecker almost 2 years ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Andreas Kohlbecker to Andreas Müller

The menu cache is now refreshed automatically.

#11 Updated by Andreas Müller almost 2 years ago

Andreas Müller wrote:

A last issue: if possible it would be more intuitive if the label textfields could be placed just beside the according visibility checkboxes instead of having a separate section for the labels. Also this makes the configuration interface more compact.

AK: this is difficult to implement

#12 Updated by Andreas Müller almost 2 years ago

  • Status changed from Resolved to Closed
  • Assignee changed from Andreas Müller to Andreas Kohlbecker

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)