test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • emicoma Friend
    #186272

    Hi
    The main menu external url menu link, won’t work if appealed from non homepages, when sef enabled
    as they are rewrite as relative #our_portfolio etc..
    Any idea to force them to be absolute url ?
    thanks !

    emicoma Friend
    #488195

    it has to do with “mainnav” position, if menu module is located in other position, no problem

    emicoma Friend
    #488292

    Problem is :
    in tpls/blocks/header this function is the problem, line 88 :

    $('.navbar ul li a').each (function (){
    var href = this.href,
    target = this.hash ? this.hash : href.replace(/.*(?=#[^s]+$)/, ''),
    target_url = href.replace(/([^#]*)(.*)/, '$1');

    //if(!target || (target == winurl)){
    // target = '#home';
    // this.href = this.href + target;
    //}

    if(this.hostname != window.location.hostname || target.substr(0, 1) != '#'){
    //if (target_url != winurl){
    return;
    }

    phong nam Friend
    #488443

    Hi vallette,

    Can you PM me your admin info & url for checking this issue ? Because I did test carefully on our dev hosting, the External URL menu items works well in non-homepage pages.

    Regards,

    Leo

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

This topic contains 4 replies, has 2 voices, and was last updated by  phong nam 11 years, 8 months ago.

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