test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • treybraid Friend
    #151081

    the 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

    Sherlock Friend
    #343811

    Dear treybraid,

    I think in this case you just need to typing your new module position name into the drop down module list

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

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