Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 05h 35m 55s
Claim 50% off
Staff replied Templates

Bug: Template OnePage has some Bugs

Asked by BOFHJunior 1 year ago Last activity 1 week ago

This post is for Helix Ultimate Version: 2.1.3, SPPB Version: 5.7.2, Joomla Version: 5.3.4, Template OnePage is used.

  1. Missing Language phrases in Helix:
    https://i.imgur.com/hhI0Fy4.png

Yes i know how to fix it manually and i did that but it should be fixed inside the Template itself:
https://www.joomshaper.com/documentation/helix-framework/troubleshooting-faq#missing-language-phrases-in-helix-after-joomla-update

  1. Installation Messages cannot be read and archived:
    https://i.imgur.com/wdHXYkc.png

If i select the "Installation Messages" Link to read the 4 messages i get the following result:
https://i.imgur.com/udkg29D.png

5 replies

Atick Eashrak Shuvo Staff

Hello BOFHJunior,

Sorry for the inconvenience you're experiencing. I've reported the missing language issue to our template team, and it will be resolved in the upcoming update.

Regarding the installation warnings, please try following the steps outlined in this video: https://www.youtube.com/watch?v=GIlWdmALMt0. If this doesn't solve the issue, please reach out and I'll look into it more deeply.

Best regards

BOFHJunior Asked this

Hi Atick,
yeah that solved the issue, thx mate.

Will it be also solved inside the Template so no database intervention is necessary?

Atick Eashrak Shuvo Staff

Thank you for sharing

BOFHJunior Asked this

Hello Atick,
when will the Bugs in Template OnePage be fixed?

BOFHJunior Asked this
1 week ago · edited

Hello Atick,
here is a new Bug inside the Template OnePage.

When i add the new menu entry "Shop" the name is shown in the menu links list (https://i.imgur.com/WBz0veD.png) but if i hover it i see the link "...#undefined" (https://i.imgur.com/hrpIJ0l.png). So i cannot visit this page.

Every Menu entry and new SPPB page i create have the same problem.

How can i fix that?

Toufiq Senior Staff

Post-installation message notification solution

https://www.youtube.com/watch?v=GIlWdmALMt0

Find out this code in this file location

 // ******* Menu link ******** //
    var homeSectionId = $(
        "#sp-page-builder > .page-content > *:first-child"
    ).attr("id"); // home section id

    //if (homeSectionId) { var homeSectionId = homeSectionId } else { var homeSectionId = onePageUrl }
    $(
        ".sp-megamenu-wrapper .sp-megamenu-parent, .offcanvas-menu .menu.nav-pills"
    )
        .find('a:not(".no-scroll")')
        .each(function (i, el) {
            var $that = $(this),
                url = $that.attr("href"),
                splitUrl = url.split("#");

            if ($that.hasClass("home")) {
                if (homeSectionId) {
                    $that.attr("href", onePageUrl + "#" + homeSectionId);
                } else {
                    $that.attr("href", onePageUrl);
                }
            } else {
                if (typeof splitUrl !== undefined) {
                    $that.attr("href", onePageUrl + "#" + splitUrl[1]);
                }
            }
        });

    //onepage nav
    $(
        ".sp-megamenu-wrapper .sp-megamenu-parent, .offcanvas-menu .menu.nav-pills"
    ).onePageNav({
        currentClass: "active",
        changeHash: false,
        scrollSpeed: 1,
        scrollOffset: 30,
        scrollThreshold: 0.5,
        filter: ":not(.no-scroll)",
    });
});

And replace it with this code

// ******* Menu link ******** //

    var homeSectionId = $(
        "#sp-page-builder > .page-content > *:first-child"
    ).attr("id");

    $(
        ".sp-megamenu-wrapper .sp-megamenu-parent, .offcanvas-menu .menu.nav-pills"
    )
        .find('a:not(".no-scroll")')
        .each(function () {
            var $that = $(this);
            var url = $that.attr("href");

            if (!url) {
                $that.addClass("no-scroll");
                return;
            }

            if ($that.hasClass("home")) {
                if (homeSectionId) {
                    $that.attr("href", onePageUrl + "#" + homeSectionId);
                } else {
                    $that.attr("href", onePageUrl);
                }
                return;
            }

            var hashIndex = url.indexOf("#");

            if (hashIndex === -1) {
                $that.addClass("no-scroll");
                return;
            }

            var sectionId = url.substring(hashIndex + 1);

            if (
                !sectionId ||
                sectionId === "undefined" ||
                sectionId === "null" ||
                !document.getElementById(sectionId)
            ) {
                $that.addClass("no-scroll");
                return;
            }
            $that.attr("href", onePageUrl + "#" + sectionId);
        });

    // OnePage navigation
    $(
        ".sp-megamenu-wrapper .sp-megamenu-parent, .offcanvas-menu .menu.nav-pills"
    ).onePageNav({
        currentClass: "active",
        changeHash: false,
        scrollSpeed: 1,
        scrollOffset: 30,
        scrollThreshold: 0.5,
        filter: ":not(.no-scroll)",
    });
});
Log in to reply.