Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • sbajardi Friend
    #126729

    I have installed the Ja Corona template on Joomla 1.15 but it seems that in the index.php the paths of certain variables are not correct. These are the paths that give me some problems:

    <?php echo $tmpTools->baseurl(); ?>
    <?php echo $tmpTools->templateurl(); ?>

    Can anybody tell me why when i launch my website in local (i use JSAS) and look at the code, the paths of many filkes (eg. css files) are not correct and therefore the css are not displayed?
    Thank you

    Menalto Friend
    #242668

    I tested the package here and it works fine on 1.5, 1.0.12, 10.13 and 1.0.15. Is this the only template you have this problem with?

    EddieLuc Friend
    #244651

    Hi,

    I’ve got the same problem.

    I am using JSAS.
    joomla 1.0.15.

    Fresh install.

    tried both
    – quickstart and
    – joomla 1.0.15 + template.

    JSAS defaults to the port 85.

    ie.

    http://localhost:85/yourdomain.

    There is a reference in the index.php to the css without including the port number.

    ie.
    <link href=”http://localhost:/yourdomain/templates/ja_avian_ii_m/css/template_css.css” rel=”stylesheet” type=”text/css” />

    Notice “localhost:” , the port number is missing, but the “:” is there.
    ja_avaian uses getLiveSiteURL

    When I switch to the default template “rhuk_solarflare_ii “, it’s OK.
    it uses “mosConfig_live_site” which is set by the user.

    >>> SOLUTION

    // in ja_templatetools.php

    function getLiveSiteURL() {
    global $mosConfig_live_site;
    $url = parse_url($mosConfig_live_site);

    //
    // delete this
    //
    // $livesite = $url[‘scheme’].’://’.$_SERVER[‘SERVER_NAME’].($_SERVER[‘SERVER_PORT’]==80?”:’:’).$url[‘path’];
    //

    //
    // add this
    //
    $livesite = $url[‘scheme’].’://’.$_SERVER[‘SERVER_NAME’].($_SERVER[‘SERVER_PORT’]==80?”:’:’.$_SERVER[‘SERVER_PORT’]).$url[‘path’];

    return $livesite;
    }

    >>>

    cheers
    Ed

    Khanh Le Moderator
    #244663

    Great solution, eddieluc. We miss the port number if you use other port instead of 80.

    colmtroy Friend
    #247408

    hi,

    this is also an issue in edenite – can you put this as a sticky in your forums etc. because this caused me about 5 hours of issues!

    EddieLuc Friend
    #247596

    hi,

    it would probably be best to release
    ja_templatetools.php

    with the bug fix.

    and tell people to download it again.

    cheers
    Ed

    bikurti Friend
    #248780

    i don’t speak english. ja corona menu & icon problem ?:((

    Sherlock Friend
    #248950

    bikurti ! it’s best if you send link of your site !

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

This topic contains 8 replies, has 7 voices, and was last updated by  Sherlock 15 years, 11 months ago.

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