Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • gjhvs Friend
    #182520

    Hi,

    Using Ja Side News on my site http://www.madonna.nl.testbyte.nl/

    The date is shown as 2012-11-20. I want it to be 20-11-2012 or 20 november 2012.

    And the little image is above the date. I want it left from the intro-text.

    Is this possible?

    Luna Garden Moderator
    #474097

    Hi Gjhvs,

    In order to change the layout of JA Side News module in your JA Mizmax, please go to this file:

    templatesja_mixmazhtmlmod_jasidenewsdefault.php
    Find these lines:


    <?php if( $showimage ): ?>
    <?php echo $helper->renderImage ($item, $params, $descMaxChars, $iwidth, $iheight ); ?>
    <?php endif; ?>

    <div class="ja-item-content">
    <?php if (isset($item->date)) : ?>
    <span class="ja-createdate"><?php echo JHTML::_('date', $item->date, JText::_('DATE_FORMAT_LC4')); ?></span>
    <?php endif; ?>

    <h4 class="item-title">
    <a class="ja-title" href="<?php echo $item->link; ?>"><?php echo $helper->trimString( $item->title, $titleMaxChars );?></a>
    </h4>

    <?php if ($descMaxChars!=0) : ?>
    <p class="item-desc"><?php echo $helper->trimString( strip_tags($item->introtext), $descMaxChars); ?></p>
    <?php endif;?>

    <?php if( $showMoredetail ) : ?>
    <a class="readon" href="<?php echo $item->link; ?>"> <?php echo JTEXT::_("MORE_DETAIL"); ?></a>
    <?php endif;?>

    </div>

    Then change to:

    <div class="ja-item-content">
    <?php if (isset($item->date)) : ?>
    <span class="ja-createdate"><?php echo JHTML::_('date', $item->date, JText::_('DATE_FORMAT_LC3')); ?></span>
    <?php endif; ?>

    <?php if( $showimage ): ?>
    <?php echo $helper->renderImage ($item, $params, $descMaxChars, $iwidth, $iheight ); ?>
    <?php endif; ?>

    <h4 class="item-title">
    <a class="ja-title" href="<?php echo $item->link; ?>"><?php echo $helper->trimString( $item->title, $titleMaxChars );?></a>
    </h4>

    <?php if ($descMaxChars!=0) : ?>
    <p class="item-desc"><?php echo $helper->trimString( strip_tags($item->introtext), $descMaxChars); ?></p>
    <?php endif;?>

    <?php if( $showMoredetail ) : ?>
    <a class="readon" href="<?php echo $item->link; ?>"> <?php echo JTEXT::_("MORE_DETAIL"); ?></a>
    <?php endif;?>
    </div>

    gjhvs Friend
    #474153

    http://www.madonna.nl.testbyte.nl/

    Almost good! I want the introduction text right of the picture.
    Van you help me with that?

    gjhvs Friend
    #474154

    A little too quick! I found the solution with the help op Fiebug and a litle CSS fix: )

    Thanks again!!!

    Luna Garden Moderator
    #474194

    <em>@gjhvs 347841 wrote:</em><blockquote>http://www.madonna.nl.testbyte.nl/

    Almost good! I want the introduction text right of the picture.
    Van you help me with that?</blockquote>

    You could go to back-end Module Manager of JA Side News >> In part Setting Image >> Set Image Alignment to Right.

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

This topic contains 5 replies, has 2 voices, and was last updated by  Luna Garden 11 years, 11 months ago.

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