Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • bfahnoe Friend
    #183503

    Hi
    My problem is old, and I have written about it before.
    So here it is again:
    I have installed a clean Joomla 2.5.8 an fetched and installed the latest Social. Then I made 4 pages in the same Category and made four Blog Menuitems with the same category .
    Blog layout is fine in default, but if Show Author, Show Create Date, Show Modify Date and Show Publish Date is set to hide in the Articles options it get all wrong. It only shows 1 column in stead of one leading and the rest in 2 columns, and only the 3 first are shown so you can read them the rest are to the left and the right side is cut off.

    Here are links to the pages
    http://www.bf-data.dk/index.php/vejledninger/bioteknologi
    http://www.bf-data.dk/index.php/vejledninger/bioteknologi-2
    http://www.bf-data.dk/index.php/vejledninger/bioteknologi-3 with Show Print Icon

    I hope this can be solved soon as I have to update and publish the site
    http://www.solgym.dk/ in Joomla 1.5.x and here there is nothing wrong with the blog layout.
    If you want admin to the back-end please ask
    Bjørn Fahnøe

    PHP Built On Linux bf-ub 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:52:46 UTC 2012 i686
    Database Version 5.5.28-0ubuntu0.12.10.2
    Database Collation utf8_general_ci
    PHP Version 5.4.6-1ubuntu1.1
    Web Server Apache/2.2.22 (Ubuntu)
    WebServer to PHP Interface apache2handler
    Joomla! Version Joomla! 2.5.8 Stable [ Ember ] 8-November-2012 14:00 GMT
    Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT

    bfahnoe Friend
    #477926

    I have tried to install Ja_mero and Ja-University and here the Bloglayout works ok, se here:
    http://www.bf-data.dk/index.php/university/bioteknologi-1
    There must be an error in the Social Template. Hope you can help me as its really frustrating and I have promised to upgrade our site a long time ago.
    Bjørn

    bfahnoe Friend
    #477927

    I meant the left side i cut

    Luna Garden Moderator
    #478190

    Hello Bfahnoe,

    That’s our bug, I’ve reported to our development team and will update to our template soon.

    In order to fix bug layout blog, please go to: <blockquote>templatesja_socialhtmlcom_contentcategoryblog_item.php</blockquote>

    Find these lines:

    <?php if (($params->get('show_author')) or ($params->get('show_category')) or ($params->get('show_create_date')) or ($params->get('show_modify_date')) or ($params->get('show_publish_date')) or ($params->get('show_parent_category')) or ($params->get('show_hits'))) : ?>
    <div class="ja-blog-meta clearfix">
    <div class="postdate-wrap">
    <?php if ($params->get('show_create_date')) : ?>
    <span class="postdate clearfix">

    <?php $created = T3Hook::_('t3_date_format', array($this->item->created, 'cat.blog.created'));
    if (!$created) $created = JHtml::_('date', $this->item->created, JText::_('DATE_FORMAT_LC3')) ?>
    <?php
    $createDay = date('d', strtotime($this->item->created));
    $createMonth = JText::_(strtoupper(date('F', strtotime($this->item->created)))."_SHORT");
    $createYear = date('Y', strtotime($this->item->created));
    ?>
    <span class="date"><?php echo $createDay; ?></span>
    <span class="month-year">
    <span class="month"><?php echo $createMonth; ?></span>
    <span class="year"><?php echo $createYear; ?></span>
    </span>
    </span>
    <?php endif; ?>
    </div>
    <div class="cat-date">
    <?php endif; ?>

    change to this:

    <?php if (($params->get('show_author')) or ($params->get('show_category')) or ($params->get('show_create_date')) or ($params->get('show_modify_date')) or ($params->get('show_publish_date')) or ($params->get('show_parent_category')) or ($params->get('show_hits'))) : ?>
    <div class="ja-blog-meta clearfix">
    <div class="postdate-wrap">
    <?php if ($params->get('show_create_date')) : ?>
    <span class="postdate clearfix">

    <?php $created = T3Hook::_('t3_date_format', array($this->item->created, 'cat.blog.created'));
    if (!$created) $created = JHtml::_('date', $this->item->created, JText::_('DATE_FORMAT_LC3')) ?>
    <?php
    $createDay = date('d', strtotime($this->item->created));
    $createMonth = JText::_(strtoupper(date('F', strtotime($this->item->created)))."_SHORT");
    $createYear = date('Y', strtotime($this->item->created));
    ?>
    <span class="date"><?php echo $createDay; ?></span>
    <span class="month-year">
    <span class="month"><?php echo $createMonth; ?></span>
    <span class="year"><?php echo $createYear; ?></span>
    </span>
    </span>
    <?php endif; ?>
    </div>
    <?php endif; ?>
    <div class="cat-date">

    bfahnoe Friend
    #478223

    :)Thanks, that solved the problem. Glad for the prompt answer.

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

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

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