Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • ecohosting Friend
    #134719

    I happened to be looking at my header when I noticed the following.

    <link rel=”stylesheet” href=”http://www.mydomain.comtemplates/system/css/system.css” type=”text/css” />
    <link rel=”stylesheet” href=”http://www.mydomain.comtemplates/system/css/general.css” type=”text/css” />
    <link rel=”stylesheet” href=”http://www.mydomain.com/templates/ja_olivine/css/template_css.css” type=”text/css” />
    <link rel=”stylesheet” href=”http://www.mydomain.com/templates/ja_olivine/css/typo.css” type=”text/css” />

    If you notice the URL’s there is a missing ‘/’ in the first two for system.css and general.css. In the configuration.php the siteurl does NOT have a trailing ‘/’ and when I add it the ‘/’ gets added to the first two URL’s but then a double ‘/’ appears on the second two URL’s.

    I tracked it down to a missing ‘/’ in the templates index.php.

    <link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>/templates/system/css/system.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>/templates/system/css/general.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/template_css.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/typo.css” type=”text/css” />

    The URLs appears correctly now but I guess my question is was this an error? cuz the site was working properly even with the missing slash.

    Thanks.

    G

    Sherlock Friend
    #276785

    Hi
    you said right, that is a bug.
    But system.css and general.css only are css default of Joomla

    ecohosting Friend
    #276880

    Thanks again.

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

This topic contains 3 replies, has 2 voices, and was last updated by  ecohosting 16 years ago.

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