test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • cgc0202 Friend
    #144347

    I added this script

    <a href="index.php" title="<?php echo $siteName; ?>"><?php echo $siteName; ?></a>

    at the bottom of page. It work in Teline II but for some reason, the site name does not show as expected from the script in Teline III. Please see bottom page of


    Joomlart: JA Teline III Sandbox v1.1

    http://joomlart.bayanihan-saranay.org/1100/

    Cornelio

    prakash Friend
    #317829

    Hi

    Yes, the site name does not work if you add the script to
    >templates>ja_teline_iii>html>mod_footer>default.php

    But if you place the sitename here then it works>
    >templates>ja_teline_iii>layouts>blocks>footer.php.

    <div class="ja-copyright">
    <small><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a></small>
    <jdoc:include type="modules" name="footer" />
    </div>

    Only adding this wont work. at the very top you need to add this line too…

    <div class="inner">
    <?php $siteName = $this->sitename(); ?>

    cgc0202 Friend
    #317854

    Thanks prbalge,

    I unpublished the Footer module itself.
    For two or three lines, it is not worth all the extra scripts files and complex paths to write them. This is one way of improving the pageload speed. This was one of the optimization steps I took to improve pageload speed in Teline II.

    If there is no simpler way to achieve this, I may just write down the “Name of the site” — after all, the site name never changes. Everything else in the script works otherwise.

    Cornelio

    <em>@prbalge 145275 wrote:</em><blockquote>Hi

    Yes, the site name does not work if you add the script to
    >templates>ja_teline_iii>html>mod_footer>default.php

    But if you place the sitename here then it works>
    >templates>ja_teline_iii>layouts>blocks>footer.php.

    <div class="ja-copyright">
    <small><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a></small>
    <jdoc:include type="modules" name="footer" />
    </div>

    Only adding this wont work. at the very top you need to add this line too…

    <div class="inner">
    <?php $siteName = $this->sitename(); ?>

    </blockquote>

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

This topic contains 3 replies, has 2 voices, and was last updated by  cgc0202 15 years, 4 months ago.

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