-
AuthorPosts
-
treybraid Friend
treybraid
- Join date:
- May 2008
- Posts:
- 302
- Downloads:
- 0
- Uploads:
- 23
- Thanks:
- 43
- Thanked:
- 14 times in 1 posts
May 15, 2010 at 3:39 am #151081the site is on a local install for the time being…
i would like to use the date2 module in place of the ja day currently in the header.php file… I have added a mod position already directly above the logo… ( date / headllines are above that )
here is the header.php file
date2 module is currently styled in template.css as ( ive used this on a couple of other site’s )
#ty2udate81 {
color:#000;
font-weight:bold;
font-size: 11px;
}<div id=”ja-header” class=”wrap”>
<div class=”main”>
<div class=”inner clearfix”><p class=”ja-day”>
<?php
echo “<span class=”day”>”.date (‘l’).”</span>”;
echo “<span class=”date”>, “.date (‘M’).” “.date (‘d’).date (‘S’).”</span>”;
?>
</p><p class=”ja-updatetime”><span><?php echo JText::_(‘Last update’)?></span><em><?php echo $this->getLastUpdate(); ?></em></p>
<?php if($this->countModules(‘headlines’)) : ?>
<jdoc:include type=”modules” name=”headlines” />
<?php endif; ?><?php if($this->countModules(‘marquee’)) : ?>
<div id=”ja-marquee”>
<jdoc:include type=”modules” name=”marquee” />
</div>
<?php endif; ?><?php
$siteName = $this->sitename();
if ($this->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($this->getParam(‘logoType-text-logoText’))==”) ? $config->sitename : $this->getParam(‘logoType-text-logoText’);
$sloganText = (trim($this->getParam(‘logoType-text-sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $this->getParam(‘logoType-text-sloganText’);?>
<div class=”logo-text”>
<h1><a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a></h1>
<p class=”site-slogan”><?php echo $sloganText;?></p>
</div>
<?php endif; ?><?php if($this->countModules(‘search’)) : ?>
<div id=”ja-search”>
<jdoc:include type=”modules” name=”search” />
</div>
<?php endif; ?></div>
</div><div id=”ja-topbar” class=”wrap”>
<div class=”main clearfix”>
</div>
</div>
</div>what do i need to edit to drop the mod in the left position where the ja-day currently is…
thanks
trey -
AuthorPosts
This topic contains 2 replies, has 2 voices, and was last updated by Sherlock 14 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum