I am in the process of upgrading a website to the blockk template and all was going well until now that I get an error on the front page "Missing format specifier at end of string" and if I enable error reporting it shows /libraries/src/Language/Text.php (281)

I think this started when I updated the T4 but installing original version did not help.

I tried making another menu item with the Articles > Magazine Layout and that gives the same error.
Tried different categories but always the same error.
Standard category blog layout works and other pages work.

Please advice.

    Hi, frostijonsson
    Thank you for providing detailed information regarding the issue. Let me check and get back to you shortly.
    Would you please share your FTP account so I can check and help you solve the issue.?
    I kindly ask for your patience as I work towards resolving the matter.
    Regards,

    Hi, frostijonsson

    Here is the solution for the first issue. You please replace the file root/language/overrides/en-GB.override.ini.
    When you override any language, you please be carefull on each string that contains: %s or %d, you need to write full string as %s or %d, if only a character % Joomla will throw error.

    Additionally, when I started to fix the issue, an unexpected error happened, you please share FTP account so I can check and solve that issue.

    mod-content-listing.zip
    890B

    Regards,

    This message is visible to Moderators only
    hidden content

    saguaros There was an outage at my service provider but it's been up now for the last 7 hours
    Please this is urgent - the website is totally out

      Hi, frostijonsson

      I apologize for the delay. Your site is now functioning properly again.
      Additionally, I have installed the latest version of module Ja Content listing with some improvements and bug fix, compatible with Joomla 5.1.0 on your site. Please check and let us know if everything is satisfactory.

      Regards,

      4 days later

      Thanks.
      I still have two problems.
      The date I display is create date but it's not showing the year. See screenshots where I have selected to show create date as usual but in addition the publish date and modify date that show up normally.

      I also want to get rid of the BY (author) and just show author and change READ MORE... but can't find entries for that in Language Overides.

      See article
      https://j444.lhm.is/lhm/skjol/1360-droeg-adh-skyrslu-starfshops-um-smafarartaeki
      and others under this menu item where I set temporarily to show all three dates while debugging.

        frostijonsson It belongs to the author info block, I just overrode this block in this file:

        /templates/ja_blockk/html/layouts/joomla/content/info_block/author.php

        authorphp.zip
        1kB

        to remove the 'By' text.

        With the date format, it's inheriting this date format declared in the language file of template:

        TPL_DATE_FORMAT_LC1	= "M d"

        You can override this language constant TPL_DATE_FORMAT_LC1 to "Y M d" or other format as you wish.

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