Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • hoknight Friend
    #193761

    Hi,

    How do I rename this label on page:Kein Label ?
    Here is a user profile page.

    Thanks.


    1. ScreenShot249
    Nazario A Friend
    #518792

    Please pm me your FTP credential, I will check and help you out.

    Nazario A Friend
    #519109

    @hoknight,

    Please open the file: /components/com_virtuemart/assets/js/vmtabs.js, then find and change the label in red:

    function vm2tabs(pages) {

    pages.addClass("dyn-tabs");
    pages.first().show();

    var tabNavigation = jQuery('<ul id="tabs" />').insertBefore(pages.first());

    pages.each(function() {
    var listElement = jQuery("<li />");
    var label = jQuery(this).attr("title") ? jQuery(this).attr("title")
    : "Kein Label";
    listElement.text(label);
    tabNavigation.append(listElement);
    });

    var items = tabNavigation.find("li");
    items.first().addClass("current");

    items.click(function() {
    items.removeClass("current");
    jQuery(this).addClass("current");
    pages.hide();
    pages.eq(jQuery(this).index()).fadeIn(200);
    });

    }

    jQuery(document).ready(function() {

    vm2tabs(jQuery("#ui-tabs .tabs"));

    });

    Let me know if this helps.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Nazario A 10 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum