Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • ssaguiar Friend
    #128142

    I downloaded several templates to test and study.
    I am using my computer to test them before upload to my site, and, for this, I am using a system called System2Go (apache, mysql and php servers).
    Te problem:
    when I access the local site, wich is located at http://127.0.0.1:4001, the templates appear as if they were without any css formatting.
    I examined the source code and found that:
    in place of putting the address as http://127.0.0.1:4001/….. it does : http://127.0.0.1:/

    Example:

    <link rel=”stylesheet” href=”http://127.0.0.1:/templates/ja_dravity/css/template.css” type=”text/css” />
    <link rel=”stylesheet” href=”http://127.0.0.1:/templates/ja_dravity/css/typo.css” type=”text/css” />
    <link rel=”stylesheet” href=”http://127.0.0.1:/templates/ja_dravity/css/ja.news.css” type=”text/css” />

    Note the lack of the port number.

    These lines are, in the template’s index.php:

    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/template.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/typo.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/ja.news.css” type=”text/css” />

    This seems to be related to the $tmpTools->templateurl() variable.

    In the joomla configuration.php, the address is correct: $mosConfig_live_site = ‘http://127.0.0.1:4001’;

    This happende with the tmplates:

    1 – Ja Telline II;
    2 – Ja Dravity II.

    This error happens only when the referenced is the template’s directory, all other joomla’s references are ok.

    Sergio

    Menalto Friend
    #269324

    Did you manage to get this solved? If you did please mark this as solved, in not reply here and we will try to help you out.

    ssaguiar Friend
    #269484

    No, I didn’t. I just worked in my isp instead of locally.
    thanks.

    Sergio

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

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

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