no footnotes show up after update

Created on 7 February 2024, 10 months ago
Updated 23 February 2024, 9 months ago

Hi,
I updated from 3 to the 4alpha version. And in the edit form everything is ok - I can edit the footnote. But when I save nothing shows up in frontend. No error is displayed.

Did I miss something or need a patch?

thanks for feedback.

💬 Support request
Status

Fixed

Version

4.0

Component

Footnotes

Created by

🇦🇹Austria inst

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @inst
  • Status changed to Fixed 10 months ago
  • 🇬🇧United Kingdom scott_euser

    Hi @inst,

    It is unfortunately a migration path. There is a drush command to help (see module homepage). If you have any feedback on the drush command do feel free to open issues with source/updated result and what your expectations are there so we can improve it as it needs more battle-testing (though does have some automated test coverage).

    Thanks!
    Scott

  • 🇦🇹Austria inst

    Hi,
    thanks for gettin' back so quickly. I just wanted to write that I found the problem.
    It was the order of the filters in the text editor config. So place footnotes first and disable the "after
    " filter.
    Now it works.

    And yes I tried the drush command to update but it did not work for me.
    So maybe it did work but I could not see the footnotes because of the order of the filters.
    I lost patience and disabled all old footnotes - so they´re lost. I had to deliver the function.
    I will manually add all footnotes again and hope all works well. - So sorry I can´t reproduce to help debug the drush update command.

    One general thing that came into my mind. Why couldn´t we just use a popup as a footnote? So that I don´t have to jump on the page. maybe optional - what do you think?

  • 🇬🇧United Kingdom scott_euser

    Thanks for checking - yeah that filter order is a bit of a gotcha. Maybe needs to be highlighted more strongly in the module homepage...

    Certainly you could use a pop-up yeah - we have done this for some clients - essentially progressive enhancement approach, adding a click listener to prevent default clcik action, check the target reference when citation is clicked, get the target reference contents and put that into a modal window.

  • 🇦🇹Austria inst

    Hi,
    yes, a pop-up might be a good solution. So this is a custom solution. Can you say how many hours you would need to implement this?
    Or should we better email?

    thanks.

  • 🇬🇧United Kingdom scott_euser

    Maybe send me a DM on Drupal Slack, same username as here.

  • 🇦🇹Austria inst

    Hi,
    will think again about it, if the popup is a good idea vs. classic footnotes at the end,

    thanks!

  • 🇬🇧United Kingdom scott_euser

    Sure here is an example with a pop-up style https://www.chathamhouse.org/2023/11/emerging-global-crisis-land-use/03-...

    Helps particularly on mobile.

  • 🇦🇹Austria inst

    Hi,
    that´s a great solution. Did you do that with a custom module?
    Or adapted a standard iframe popup module?

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024