-
AuthorPosts
-
October 15, 2009 at 5:09 pm #145241
I h ave a couple of questions, need help please!
1) I installed the spanish pack, but date and text size of headtools are still in English, how/where do I modify that to be displayed in Spanish?
2) I want to add a position on top of the logo, to have a rotating banner there, can you help with that?
3) if possible, I would also want to add another position for another flash/rotating banner between logo and headtools.
I would very much appreciate your help with this
Css Magician FriendCss Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
November 6, 2009 at 8:09 am #322737Dear arayabe,
1) I have tested your site and it run Spanish. Please kindly check again at your end.
2) Please edit lines 101 in templates/ja_teline_ii/index.php as follow :
<div id="ja-headerwrap">
<div id="ja-top">
<jdoc:include type="modules" name="banner" />
</div>
<div id="ja-header" class="clearfix">
and edit lines 563 as follow :
#ja-header, #ja-mainnav, #ja-subnav, #ja-container, #ja-footer,#ja-top {
clear: both;
margin: 0 auto;
width: 970px;
}
3) Edit lines 105 in file index.php as follow:
<div id="ja-header" class="clearfix"><?php
$siteName = $tmpTools->sitename();
if ($tmpTools->getParam('logoType')=='image') { ?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php } else {
$logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
$sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
</h1>
<p class="site-slogan"><?php echo $sloganText;?></p>
<?php } ?>
<div id="ja-header-center">
<jdoc:include type="modules" name="banner" />
</div>
<div id="ja-headtools" class="ja-headtool">
<div class="ja-innerpad clearfix"><div class="ja-day">
<?php
echo "<span>".date ('l')."</span>";
echo " <div>".date ('M')." ".date ('d').date ('S')."</div>";
?>
</div><ul>
<jdoc:include type="modules" name="ja-login" />
<!--module search-->
<?php if($this->countModules('user4')) : ?>
<jdoc:include type="modules" name="user4" />
<?php endif; ?>
</ul><?php if ($tmpTools->getParam(JA_TOOL_USER)) { ?>
<div id="ja-usertools">
<strong>Text size</strong><?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER)); ?>
</div>
<?php } ?></div>
</div></div>
and add styles into template.css
#ja-header-center {
position: absolute;
left: 100px;
}
p/s: the module name in <jdoc is example, you can change its. The left value in #ja-header-center is example, you can change by your logo ‘s width or more.
Please feel free to contact us if you are in need of further assistance.
-
AuthorPosts
This topic contains 2 replies, has 2 voices, and was last updated by Css Magician 15 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum