What is <header class= "nodate">?

Professional Joomla social template with metro design and JomSocial extension support.
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
Fri Feb 21, 2014 12:28 am
Reply with quote
Report this post
Above every article on the page I have <header class="nodate"> and the content is pushed downward. What is that? How do I remove it?

Check: http://stepbystep.org.mk/proekt-ral

Thanks,
Gorast
User avatar
Platinum Boarder

GK User
Fri Feb 21, 2014 9:04 am
Reply with quote
Report this post
Hello,

In this case it is caused by fact that you are not using any header in your posts. The solution is opening the html/com_k2/templates/default/item.php file and removing the header element.
User avatar
Administrator

GK User
Sun Jun 15, 2014 11:41 am
Reply with quote
Report this post
Hi,
long time no see.

Any way to tell joomla when this fields are empty to hide the <header class= "nodate"> section?

Thanks,
Gorast
User avatar
Platinum Boarder

GK User
Wed Jun 18, 2014 6:24 pm
Reply with quote
Report this post
You can put the following code:

Code: Select all
<?php if($params->get('itemTitle') ||
               $params->get('itemFontResizer') ||
               $params->get('itemAuthor') ||
               $params->get('itemPrintButton') ||
               $params->get('itemEmailButton') ||
               $params->get('itemSocialButton') ||
               $params->get('itemVideoAnchor') ||
               $params->get('itemImageGalleryAnchor') ||
               $params->get('itemHits') ||
               $params->get('itemCategory') ||
            $params->get('itemDateCreated')): ?>


before the following line:

Code: Select all
<header<?php if(!$this->item->params->get('itemDateCreated')): ?> class="nodate"<?php endif; ?>>


and please put line:

Code: Select all
<?php endif; ?>


after the following line:

Code: Select all
</header>
User avatar
Administrator

GK User
Sun Jul 13, 2014 1:07 pm
Reply with quote
Report this post
And again! Works like charm! :D

Thanks,
Gorast
User avatar
Platinum Boarder


cron