How to move from side to bottom

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Dec 04, 2013 9:13 pm
Reply with quote
Report this post
How to move from side to bottom

Ze względu na oszczędność miejsca chciałbym przenieść boczną część na dół, jak to zrobić?
http://images62.fotosik.pl/448/3670ad0e1f12c2b4.jpg
User avatar
Fresh Boarder

GK User
Thu Dec 05, 2013 7:52 am
Reply with quote
Report this post
Are you sure this is "News" template question?
User avatar
Moderator

GK User
Thu Dec 05, 2013 8:23 am
Reply with quote
Report this post
Chodzi mi o zmianę w templatce NEWS

http://demo.gavick.com/joomla25/news/index.php/k2/categories/world/item/191-obama-bringing-lawmakers-to-oval-office-last-minute-cliff-talks




A niechaj narodowie wżdy postronni znają, iż Polacy nie gęsi, iż swój język mają
User avatar
Fresh Boarder

GK User
Fri Dec 06, 2013 5:33 pm
Reply with quote
Report this post
Its quite hard thing to do.

1. In file:
templates/gk_news/html/com_k2/templates/default/item.php
You need to move itemAsideInfo block of code so it looks this way:
Code: Select all
         <span class="itemImageCredits"><?php echo $this->item->image_credits; ?></span>
         <?php endif; ?>
         <?php endif; ?>
         <div class="itemBody">
                  <?php echo $this->item->event->BeforeDisplayContent; ?> <?php echo $this->item->event->K2BeforeDisplayContent; ?>
                  <?php if(!empty($this->item->fulltext)): ?>
                  <?php if($params->get('itemIntroText')): ?>
                  <div class="itemIntroText">
                           <?php echo $this->item->introtext; ?>
                  </div>
                  <?php endif; ?>
                  <?php endif; ?>
                  <?php if($params->get('itemFullText')): ?>
                  <div class="itemFullText">
                           <?php echo (!empty($this->item->fulltext)) ? $this->item->fulltext : $this->item->introtext; ?>
                  </div>
                  <?php endif; ?>
                  <?php echo $this->item->event->AfterDisplay; ?> <?php echo $this->item->event->K2AfterDisplay; ?>
         </div>
         <?php if(($params->get('itemDateModified') && intval($this->item->modified)!=0)): ?>
         <div class="itemBottom">
                  <?php if($params->get('itemDateModified') && intval($this->item->modified) != 0 && $this->item->created != $this->item->modified): ?>
                  <small class="itemDateModified"> <?php echo JText::_('K2_LAST_MODIFIED_ON') . JHTML::_('date', $this->item->modified, JText::_('K2_DATE_FORMAT_LC2')); ?> </small>
                  <?php endif; ?>
         </div>
         <?php endif; ?>
         <?php if($params->get('itemExtraFields') && count($this->item->extra_fields)): ?>
         <div class="itemExtraFields">
                  <h3><?php echo JText::_('K2_ADDITIONAL_INFO'); ?></h3>
                  <ul>
                           <?php foreach ($this->item->extra_fields as $key=>$extraField): ?>
                           <?php if($extraField->value != ''): ?>
                           <li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">
                                    <?php if($extraField->type == 'header'): ?>
                                    <h4 class="itemExtraFieldsHeader"><?php echo $extraField->name; ?></h4>
                                    <?php else: ?>
                                    <span class="itemExtraFieldsLabel"><?php echo $extraField->name; ?>:</span> <span class="itemExtraFieldsValue"><?php echo $extraField->value; ?></span>
                                    <?php endif; ?>
                           </li>
                           <?php endif; ?>
                           <?php endforeach; ?>
                  </ul>
         </div>
         <?php endif; ?>
         <?php echo $this->item->event->AfterDisplayContent; ?> <?php echo $this->item->event->K2AfterDisplayContent; ?>
                  <?php
         if(
            $params->get('itemPrintButton') ||
            $params->get('itemEmailButton') ||
            $params->get('itemSocialButton') ||
            $params->get('itemVideoAnchor') ||
            $params->get('itemImageGalleryAnchor') ||
            $params->get('itemHits') ||
            $params->get('itemCategory') ||
            $params->get('itemTags') ||
            $params->get('itemRating')
         ) :
      ?>
         <aside class="itemAsideInfo">
                  <ul>
                           <?php if($params->get('itemCategory')): ?>
                           <li class="itemCategory"> <span><?php echo JText::_('K2_PUBLISHED_IN'); ?></span> <a href="<?php echo $this->item->category->link; ?>"><?php echo $this->item->category->name; ?></a> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemHits')): ?>
                           <li class="itemHits"> <?php echo JText::_('K2_READ'); ?> <?php echo $this->item->hits; ?> <?php echo JText::_('K2_TIMES'); ?> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemPrintButton') && !JRequest::getInt('print')): ?>
                           <li class="itemPrint"> <a rel="nofollow" href="<?php echo $this->item->printLink; ?>" onclick="window.open(this.href,'printWindow','width=900,height=600,location=no,menubar=no,resizable=yes,scrollbars=yes'); return false;"> <?php echo JText::_('K2_PRINT'); ?> </a> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemEmailButton') && !JRequest::getInt('print')): ?>
                           <li class="itemEmail"> <a rel="nofollow" href="<?php echo $this->item->emailLink; ?>" onclick="window.open(this.href,'emailWindow','width=400,height=350,location=no,menubar=no,resizable=no,scrollbars=no'); return false;"> <?php echo JText::_('K2_EMAIL'); ?> </a> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemSocialButton') && !is_null($params->get('socialButtonCode', NULL))): ?>
                           <li class="itemSocial"> <?php echo $params->get('socialButtonCode'); ?> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemVideoAnchor') && !empty($this->item->video)): ?>
                           <li class="itemVideo"> <a class="k2Anchor" href="<?php echo $this->item->link; ?>#itemVideoAnchor"><?php echo JText::_('K2_MEDIA'); ?></a> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemImageGalleryAnchor') && !empty($this->item->gallery)): ?>
                           <li class="itemGallery"> <a class="k2Anchor" href="<?php echo $this->item->link; ?>#itemImageGalleryAnchor"><?php echo JText::_('K2_IMAGE_GALLERY'); ?></a> </li>
                           <?php endif; ?>
                  </ul>
                  <?php if($params->get('itemRating')): ?>
                  <div class="itemRatingBlock">
                           <span><?php echo JText::_('K2_RATE_THIS_ITEM'); ?></span>
                           <div class="itemRatingForm">
                                    <ul class="itemRatingList">
                                             <li class="itemCurrentRating" id="itemCurrentRating<?php echo $this->item->id; ?>" style="width:<?php echo $this->item->votingPercentage; ?>%;"></li>
                                             <li> <a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_1_STAR_OUT_OF_5'); ?>" class="one-star">1</a> </li>
                                             <li> <a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_2_STARS_OUT_OF_5'); ?>" class="two-stars">2</a> </li>
                                             <li> <a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_3_STARS_OUT_OF_5'); ?>" class="three-stars">3</a> </li>
                                             <li> <a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_4_STARS_OUT_OF_5'); ?>" class="four-stars">4</a> </li>
                                             <li> <a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_5_STARS_OUT_OF_5'); ?>" class="five-stars">5</a> </li>
                                    </ul>
                                    <div id="itemRatingLog<?php echo $this->item->id; ?>" class="itemRatingLog">
                                             <?php echo $this->item->numOfvotes; ?>
                                    </div>
                           </div>
                  </div>
                  <?php endif; ?>
                  <?php if($params->get('itemTags') && count($this->item->tags)): ?>
                  <div class="itemTagsBlock">
                           <p><?php echo JText::_('K2_TAGGED_UNDER'); ?></p>
                           <?php foreach ($this->item->tags as $tag): ?>
                           <a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?>, </a>
                           <?php endforeach; ?>
                  </div>
                  <?php endif; ?>
                  <?php if($params->get('itemAuthorBlock') && empty($this->item->created_by_alias)): ?>
                  <div class="itemAuthBlock">
                           <?php if($params->get('itemAuthorImage') && !empty($this->item->author->avatar)):?>
                           <img src="<?php echo $this->item->author->avatar; ?>" alt="<?php echo K2HelperUtilities::cleanHtml($this->item->author->name); ?>" />
                           <?php endif; ?>
                           <h4> <a rel="author" href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a> </h4>
                           <?php if($params->get('itemAuthorURL') && !empty($this->item->author->profile->url)):?>
                           <a rel="me" href="<?php echo $this->item->author->profile->url; ?>" target="_blank" rel="nofollow"> <?php echo str_replace('http://','',$this->item->author->profile->url); ?> </a>
                           <?php endif; ?>
                           <?php if($params->get('itemAuthorEmail')):?>
                           <?php echo JHTML::_('Email.cloak', $this->item->author->email); ?>
                           <?php endif; ?>
                           <?php echo $this->item->event->K2UserDisplay; ?>
                  </div>
                  <?php endif; ?>
         </aside>
         <?php endif; ?>
         <?php if(
      $params->get('itemTwitterButton',1) ||
      $params->get('itemFacebookButton',1) ||
      $params->get('itemGooglePlusOneButton',1) ||
      $params->get('itemAttachments')
      ): ?>
      
         <div class="itemLinks">


After that the whole element will move down, but You need to adjust css of that element to suit your needs.
User avatar
Moderator

GK User
Sat Dec 07, 2013 11:27 am
Reply with quote
Report this post
Jest to zbyt trudne do wykonania dla mnie, więc może wystarczyłoby lewy słupek zwęzić do tej wielkości, żeby wchodził standartowy klip z YOUTUBE. Twórcy tej temlatki, przyznam szczerze bardzo ładnej, w ogóle o tym nie pomysleli, strona newsowa a nie mieści się standartowy klip z YOUTUBE o szer. 560 px. Klip oczywiście mozna zmniejszyc ale wówczas jest zbyt mały.

Więc bardzo bym prosił o podanie gdzie mogę zmniejszyc szerokość tego bzdurnego słupka tak żeby wchodził klip o wymiarach 560px
Chyba, że wyjaśnicie mi bardziej gdzie należy, wstawić ten kod.
Tu mam zainstalowaną testowo stronę

http://logos.nazwa.pl/a_news/index.php/k2/categories/world/item/191-obama-bringing-lawmakers-to-oval-office-last-minute-cliff-talks

I jeszcze jedno dlaczego nie odpowiadacie w swoim ojczystym języku?
User avatar
Fresh Boarder

GK User
Mon Dec 09, 2013 4:32 pm
Reply with quote
Report this post
Uzyskanie szerokości 560px w kolumnie z tekstem jest niemożliwe, gdyż część elementów paska bocznego została by przycięta. A może poprostu wyłączyc pasek boczny?

Gaining 560px in side column is impossible. The only available option left is to remove status bar completely.
User avatar
Moderator

GK User
Mon Dec 09, 2013 9:26 pm
Reply with quote
Report this post
A gdzie mam szukać, żeby usunąć cały pasek jednoczesnie
User avatar
Fresh Boarder

GK User
Tue Dec 10, 2013 4:49 pm
Reply with quote
Report this post
Edytuj proszę plik: /templates/gk_news/css/override.css i dodaj na jego końcu:
Code: Select all
article#k2Container aside.itemAsideInfo {display: none;}
article#k2Container .itemBody {margin-left: 0px !important;}

Pamiętaj by włączyć opcję "CSS override" w ustawieniach templatki - advanced section.

Please edit: /templates/gk_news/css/override.css and add at its end:
Code: Select all
article#k2Container aside.itemAsideInfo {display: none;}
article#k2Container .itemBody {margin-left: 0px !important;}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Wed Dec 11, 2013 3:37 pm
Reply with quote
Report this post
Ok dzięki wielkie za pomoc.

Kolejne pytanie, templatka jest "Responsive" więc dlaczego player z YOUTUBE itp nie zmniejsza sie proporcjonalnie do rozdzielczości strony?

zobacz przy rozdz 1024

http://viewlike.us/test.php#u=http://logos.nazwa.pl/a_news/index.php/k2/categories/world/item/191-obama-bringing-lawmakers-to-oval-office-last-minute-cliff-talks|1024|798|1
User avatar
Fresh Boarder

GK User
Thu Dec 12, 2013 8:11 pm
Reply with quote
Report this post
Podaj prosze link bezposrednio do miejsca, gdzie video YouTube jest dodane.
User avatar
Moderator

GK User
Fri Dec 13, 2013 7:35 am
Reply with quote
Report this post
Na telefonach także player nie działa prawidłowo, nie zmniejsza się jak w innych temlatkach


http://logos.nazwa.pl/a_news/index.php/k2/categories/world/item/191-obama-bringing-lawmakers-to-oval-office-last-minute-cliff-talks
User avatar
Fresh Boarder

GK User
Sun Dec 15, 2013 12:24 pm
Reply with quote
Report this post
The problem with youtube video and responsive design doesn't come from our template, but from the way you have embeded the code. Providing width and height will keep it at the same size, no matter what.
Please read this article - it describes how to put responsive video:
http://css-tricks.com/NetMag/FluidWidth ... hVideo.php

Problem z responsywnością video youtube nie wynika z naszej templatki, lecz z sposobu osadzenia samego filmu. Umieściłeś go podająć na sztywno wielkość obiektu - stąd będzie on ją miałą na stałe.
Proponuję poczytać a temat umieszczania video tak, aby obiekt był responsywny:
http://css-tricks.com/NetMag/FluidWidth ... hVideo.php
User avatar
Moderator

GK User
Thu Dec 19, 2013 8:11 am
Reply with quote
Report this post
Szanowny panie, a ja panu proponuje obejrzeć inne strony, które są reklamowane jako "Responsive" tam pliki wideo i zdjęcia są automatycznie pomniejszane do wielkości strony. Wasza stronka, która jest sprzedawana jako "Responsive" jest nie do końca taka jaka powinna być.
Pierwszy z brzegu przykład Joomla art, plik się zmniejsza, proszę chwycić za róg i zmniejszać wielkość strony.
http://joomla-templates.joomlart.com/ja_magz/index.php/pl/videos-pl/2582-cul-de-sac-pl

Musicie to poprawić, osadzony plik wideo i zdjęcia powinny się zmniejszać a tak nie jest.
User avatar
Fresh Boarder

GK User
Thu Dec 19, 2013 10:58 am
Reply with quote
Report this post
Prosze dodac ten kod do override.css:
Code: Select all
object, iframe {
max-width: 100%;
}


Please add above code to override.css
User avatar
Moderator

GK User
Wed Jan 01, 2014 8:58 am
Reply with quote
Report this post
Dzięki panie majster, działa jak należy, nie jest źle, choć są takie strony, że player zmniejsza sie proporcjonalnie ( szerokość i wysokość ) ale jest dobrze. Dziwię się, że trzeba was prosić o zmiany, tak powinno być nie prosząc was.

Kolejna sprawa, którą powinniście naprawić.

Klikając na dowolną katygorię np http://logos.nazwa.pl/a_news/index.php/world proszę złapać za boczną krawędź strony i ją zmniejszać, zauważy pan, że pierwszy z góry artykuł będzie zachodził podczas zmniejszania na boczny prawy słupek, reszta znajdujących się poniżej pierwszego artykułu zmniejsza się proporcjonalnie do szerokości strony.
User avatar
Fresh Boarder

GK User
Thu Jan 02, 2014 12:27 pm
Reply with quote
Report this post
Poproszę o szczegóły przeglądarki.
User avatar
Moderator

GK User
Fri Jan 03, 2014 4:13 pm
Reply with quote
Report this post
Najnowszy FireFox oraz IE- tak jak wczesniej pisałem tylko górny pierwszy artykuł przy zmniejszaniu strony, nie zmniejsza się w sposób prawidłowy, reszta poniżej zmniejszają sie właściwie
User avatar
Fresh Boarder

GK User
Tue Jan 07, 2014 7:40 pm
Reply with quote
Report this post
Wyglada to na blad w naszym template. Zglosilem go juz developerom.
Tymczasowo mozna zastosowac w override.css:
Code: Select all
#k2Container #itemListLeading div.itemContainer {width: 99.9%}
User avatar
Moderator

GK User
Fri Jan 10, 2014 9:25 pm
Reply with quote
Report this post
Szanowny Panie Majster, jak wstawić zdjęcie lub reklamę, tak żeby była zerowa odległość od krawędzi. Czy jest jakiś suffix coś w tym stylu?
Chodzi mi o to żeby zdjęcie było takiej wielkości, jak czarne tło w module pogoda, na frontowej stronie .
User avatar
Fresh Boarder

GK User
Sun Jan 12, 2014 12:59 pm
Reply with quote
Report this post
Ponieważ dyskusja całkowicie odbiegła od początkowego tematu - proszę każde pytanie nie związane z oryginalnym temacie publikować jako nowy wątek na forum. Nie jest mi również wiadome, abym był "Panem Majstrem" i bym tak się komukolwiek przedstawiał.
User avatar
Moderator

GK User
Tue Mar 04, 2014 3:27 pm
Reply with quote
Report this post
I want to point out, there is a much much easier way to do this. Simply take the item.php file from "Game News" template and use it on the News template. Delete the item.php from "news" template, replace with item.php from game news. It works well. and much easier.

Cyberek wrote:Its quite hard thing to do.

1. In file:
templates/gk_news/html/com_k2/templates/default/item.php
You need to move itemAsideInfo block of code so it looks this way:
Code: Select all
         <span class="itemImageCredits"><?php echo $this->item->image_credits; ?></span>
         <?php endif; ?>
         <?php endif; ?>
         <div class="itemBody">
                  <?php echo $this->item->event->BeforeDisplayContent; ?> <?php echo $this->item->event->K2BeforeDisplayContent; ?>
                  <?php if(!empty($this->item->fulltext)): ?>
                  <?php if($params->get('itemIntroText')): ?>
                  <div class="itemIntroText">
                           <?php echo $this->item->introtext; ?>
                  </div>
                  <?php endif; ?>
                  <?php endif; ?>
                  <?php if($params->get('itemFullText')): ?>
                  <div class="itemFullText">
                           <?php echo (!empty($this->item->fulltext)) ? $this->item->fulltext : $this->item->introtext; ?>
                  </div>
                  <?php endif; ?>
                  <?php echo $this->item->event->AfterDisplay; ?> <?php echo $this->item->event->K2AfterDisplay; ?>
         </div>
         <?php if(($params->get('itemDateModified') && intval($this->item->modified)!=0)): ?>
         <div class="itemBottom">
                  <?php if($params->get('itemDateModified') && intval($this->item->modified) != 0 && $this->item->created != $this->item->modified): ?>
                  <small class="itemDateModified"> <?php echo JText::_('K2_LAST_MODIFIED_ON') . JHTML::_('date', $this->item->modified, JText::_('K2_DATE_FORMAT_LC2')); ?> </small>
                  <?php endif; ?>
         </div>
         <?php endif; ?>
         <?php if($params->get('itemExtraFields') && count($this->item->extra_fields)): ?>
         <div class="itemExtraFields">
                  <h3><?php echo JText::_('K2_ADDITIONAL_INFO'); ?></h3>
                  <ul>
                           <?php foreach ($this->item->extra_fields as $key=>$extraField): ?>
                           <?php if($extraField->value != ''): ?>
                           <li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">
                                    <?php if($extraField->type == 'header'): ?>
                                    <h4 class="itemExtraFieldsHeader"><?php echo $extraField->name; ?></h4>
                                    <?php else: ?>
                                    <span class="itemExtraFieldsLabel"><?php echo $extraField->name; ?>:</span> <span class="itemExtraFieldsValue"><?php echo $extraField->value; ?></span>
                                    <?php endif; ?>
                           </li>
                           <?php endif; ?>
                           <?php endforeach; ?>
                  </ul>
         </div>
         <?php endif; ?>
         <?php echo $this->item->event->AfterDisplayContent; ?> <?php echo $this->item->event->K2AfterDisplayContent; ?>
                  <?php
         if(
            $params->get('itemPrintButton') ||
            $params->get('itemEmailButton') ||
            $params->get('itemSocialButton') ||
            $params->get('itemVideoAnchor') ||
            $params->get('itemImageGalleryAnchor') ||
            $params->get('itemHits') ||
            $params->get('itemCategory') ||
            $params->get('itemTags') ||
            $params->get('itemRating')
         ) :
      ?>
         <aside class="itemAsideInfo">
                  <ul>
                           <?php if($params->get('itemCategory')): ?>
                           <li class="itemCategory"> <span><?php echo JText::_('K2_PUBLISHED_IN'); ?></span> <a href="<?php echo $this->item->category->link; ?>"><?php echo $this->item->category->name; ?></a> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemHits')): ?>
                           <li class="itemHits"> <?php echo JText::_('K2_READ'); ?> <?php echo $this->item->hits; ?> <?php echo JText::_('K2_TIMES'); ?> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemPrintButton') && !JRequest::getInt('print')): ?>
                           <li class="itemPrint"> <a rel="nofollow" href="<?php echo $this->item->printLink; ?>" onclick="window.open(this.href,'printWindow','width=900,height=600,location=no,menubar=no,resizable=yes,scrollbars=yes'); return false;"> <?php echo JText::_('K2_PRINT'); ?> </a> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemEmailButton') && !JRequest::getInt('print')): ?>
                           <li class="itemEmail"> <a rel="nofollow" href="<?php echo $this->item->emailLink; ?>" onclick="window.open(this.href,'emailWindow','width=400,height=350,location=no,menubar=no,resizable=no,scrollbars=no'); return false;"> <?php echo JText::_('K2_EMAIL'); ?> </a> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemSocialButton') && !is_null($params->get('socialButtonCode', NULL))): ?>
                           <li class="itemSocial"> <?php echo $params->get('socialButtonCode'); ?> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemVideoAnchor') && !empty($this->item->video)): ?>
                           <li class="itemVideo"> <a class="k2Anchor" href="<?php echo $this->item->link; ?>#itemVideoAnchor"><?php echo JText::_('K2_MEDIA'); ?></a> </li>
                           <?php endif; ?>
                           <?php if($params->get('itemImageGalleryAnchor') && !empty($this->item->gallery)): ?>
                           <li class="itemGallery"> <a class="k2Anchor" href="<?php echo $this->item->link; ?>#itemImageGalleryAnchor"><?php echo JText::_('K2_IMAGE_GALLERY'); ?></a> </li>
                           <?php endif; ?>
                  </ul>
                  <?php if($params->get('itemRating')): ?>
                  <div class="itemRatingBlock">
                           <span><?php echo JText::_('K2_RATE_THIS_ITEM'); ?></span>
                           <div class="itemRatingForm">
                                    <ul class="itemRatingList">
                                             <li class="itemCurrentRating" id="itemCurrentRating<?php echo $this->item->id; ?>" style="width:<?php echo $this->item->votingPercentage; ?>%;"></li>
                                             <li> <a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_1_STAR_OUT_OF_5'); ?>" class="one-star">1</a> </li>
                                             <li> <a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_2_STARS_OUT_OF_5'); ?>" class="two-stars">2</a> </li>
                                             <li> <a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_3_STARS_OUT_OF_5'); ?>" class="three-stars">3</a> </li>
                                             <li> <a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_4_STARS_OUT_OF_5'); ?>" class="four-stars">4</a> </li>
                                             <li> <a href="#" rel="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_5_STARS_OUT_OF_5'); ?>" class="five-stars">5</a> </li>
                                    </ul>
                                    <div id="itemRatingLog<?php echo $this->item->id; ?>" class="itemRatingLog">
                                             <?php echo $this->item->numOfvotes; ?>
                                    </div>
                           </div>
                  </div>
                  <?php endif; ?>
                  <?php if($params->get('itemTags') && count($this->item->tags)): ?>
                  <div class="itemTagsBlock">
                           <p><?php echo JText::_('K2_TAGGED_UNDER'); ?></p>
                           <?php foreach ($this->item->tags as $tag): ?>
                           <a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?>, </a>
                           <?php endforeach; ?>
                  </div>
                  <?php endif; ?>
                  <?php if($params->get('itemAuthorBlock') && empty($this->item->created_by_alias)): ?>
                  <div class="itemAuthBlock">
                           <?php if($params->get('itemAuthorImage') && !empty($this->item->author->avatar)):?>
                           <img src="<?php echo $this->item->author->avatar; ?>" alt="<?php echo K2HelperUtilities::cleanHtml($this->item->author->name); ?>" />
                           <?php endif; ?>
                           <h4> <a rel="author" href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a> </h4>
                           <?php if($params->get('itemAuthorURL') && !empty($this->item->author->profile->url)):?>
                           <a rel="me" href="<?php echo $this->item->author->profile->url; ?>" target="_blank" rel="nofollow"> <?php echo str_replace('http://','',$this->item->author->profile->url); ?> </a>
                           <?php endif; ?>
                           <?php if($params->get('itemAuthorEmail')):?>
                           <?php echo JHTML::_('Email.cloak', $this->item->author->email); ?>
                           <?php endif; ?>
                           <?php echo $this->item->event->K2UserDisplay; ?>
                  </div>
                  <?php endif; ?>
         </aside>
         <?php endif; ?>
         <?php if(
      $params->get('itemTwitterButton',1) ||
      $params->get('itemFacebookButton',1) ||
      $params->get('itemGooglePlusOneButton',1) ||
      $params->get('itemAttachments')
      ): ?>
      
         <div class="itemLinks">


After that the whole element will move down, but You need to adjust css of that element to suit your needs.
User avatar
Junior Boarder

GK User
Wed Mar 05, 2014 7:11 pm
Reply with quote
Report this post
Are you sure it wont mess with the css and visual part?
User avatar
Moderator


cron