Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW: Added hook for printing banner in card #29507

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

kubajznik
Copy link
Contributor

NEW
To be able to print custom information on top of cards. In our company we use it for related links and back-to-links which are different than list.

@eldy
Copy link
Member

eldy commented Apr 27, 2024

It seems you want to modify morehtmlref, morehtmlstatus, ... before calling dol_banner that call showrefnav.
I pushed a commit here 5ff2138
line 2851.
With this you can use the existing hook "formDolBanner" inside dol_banner to get and modify all values of morehtmlref, morehtmlstatus, ...
This avoid to add a new hook and new code on each page.

Can you try to reach your goal with this patch instead ?

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Some questions or discussions are opened and wait answers of author or other people to be processed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants