Hi!

I created a masthead module to show same title and description over several categories and articles.


I also created different page titles for the menu items.

The problem is that the page title obviously overwrites the masthead title and this even happens when "show page title" is set to "no".

You can check this page by using the given admin account:

http://www.mathelike.info/Abiturloesungen-Mathematik-Bayern/Mathematik-Abitur-Bayern-2022/Pruefungsteil-A/Analysis-1/

Best regards,
Christian

Hi Christian,

Yes, it's default behavior in module in which it will show the page heading if it's set in menu item.

You can open this file: /modules/mod_jamasthead/helper.php

Remove or comment line 227:

if($menuParams->get('page_heading', '') != '') $Masthead['title'] = $menuParams->get('page_heading', '');

Hi Saguaros,

Thanks for your quick reply! I commented line 227 and copied helper.php in templates/ja_justitia/html/mod_jamasthead. But I'm getting still the same behavior that page title is shown instead of masthead title.

Best regards,
Christian

    Write a Reply...
    You need to Login to view replies.