-
AuthorPosts
-
cgc0202 Friend
cgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
September 18, 2009 at 1:49 pm #144347I 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 Friendprakash
- Join date:
- October 2008
- Posts:
- 439
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 146 times in 115 posts
September 19, 2009 at 2:57 am #317829Hi
Yes, the site name does not work if you add the script to
>templates>ja_teline_iii>html>mod_footer>default.phpBut 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(); ?>
1 user says Thank You to prakash for this useful post
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
September 19, 2009 at 1:31 pm #317854Thanks 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.phpBut 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> -
AuthorPosts
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