Keyword

item title problem in category.php

  • magdakar
  • magdakar's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago - 10 years 4 months ago #134822 by magdakar
item title problem in category.php was created by magdakar
hi again.
e-marathon.gr/eklegmenos i have problem with the item title. in category_item.php (/templates/jsn_nuru_pro/html/com_k2/templates/default/) i charge the situation of category title. an i have problem in item title.
item code

<?php endif; ?>
<?php if($this->item->params->get('catItemTitle')): ?>
<!-- Item title -->
<h3 class="catItemTitle">
<?php if(isset($this->item->editLink)): ?>
<!-- Item edit link -->
<span class="catItemEditLink"> <a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>"> <?php echo JText::_('K2_EDIT_ITEM'); ?> </a> </span>
<?php endif; ?>
<?php if ($this->item->params->get('catItemTitleLinked')): ?>
<a href="<?php echo $this->item->link; ?>"> <?php echo $this->item->title; ?> </a>
<?php else: ?>
<?php echo $this->item->title; ?>
<?php endif; ?>
<?php if($this->item->params->get('catItemFeaturedNotice') && $this->item->featured): ?>
<!-- Featured flag -->
<span> <sup> <?php echo JText::_('K2_FEATURED'); ?> </sup> </span>
<?php endif; ?>
</h3>
<?php endif; ?>
</div>

the code is right?

thanks a lot.. plz help me..
Last edit: 10 years 4 months ago by magdakar.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
10 years 4 months ago #134834 by Krikor Boghossian
Replied by Krikor Boghossian on topic item title problem in category.php
I do not see anything wrong with that code.
Since this is a template issue you should address these issue to the template's developer.

Please Log in or Create an account to join the conversation.

  • magdakar
  • magdakar's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago - 10 years 4 months ago #134857 by magdakar
Replied by magdakar on topic item title problem in category.php
This php file is K2 not from template, when i make changes there , i had tha problem the half code, where i made my changes is this.
thanks a lot i remind you the url: e-marathon.gr/eklegmenos


<!-- Start K2 Item Layout -->

<div class="catItemView group<?php echo ucfirst($this->item->itemGroup); ?><?php echo ($this->item->featured) ? ' catItemIsFeatured' : ''; ?><?php if($this->item->params->get('pageclass_sfx')) echo ' '.$this->item->params->get('pageclass_sfx'); ?>">
<!-- Plugins: BeforeDisplay -->
<?php echo $this->item->event->BeforeDisplay; ?>
<!-- K2 Plugins: K2BeforeDisplay -->
<?php if($this->item->params->get('catItemCategory')): ?>
<!-- Item category name -->
<div class="catItemCategory"> <span><?php echo JText::_('K2_PUBLISHED_IN'); ?>:</span> <a href="<?php echo $this->item->category->link; ?>"><?php echo $this->item->category->name; ?></a> </div>
<?php endif; ?>
</div>
<?php echo $this->item->event->K2BeforeDisplay; ?>
<div class="catItemHeader">
<?php if($this->item->params->get('catItemAuthor') || $this->item->params->get('catItemDateCreated') || $this->params->get('catFeedIcon')): ?>

<div class="jsn-article-toolbar">

<?php if($this->params->get('catFeedIcon')): ?>
<!-- RSS feed icon -->
<div class="catItemToolbar">
<div class="k2FeedIcon"> <a href="<?php echo $this->feed; ?>" title="<?php echo JText::_('K2_SUBSCRIBE_TO_THIS_RSS_FEED'); ?>"> <span><?php echo JText::_('K2_SUBSCRIBE_TO_THIS_RSS_FEED'); ?></span> </a> </div>
</div>
<?php endif; ?>
<div class="jsn-article-info">
<?php if($this->item->params->get('catItemDateCreated')): ?>
<!-- Date created -->
<div class="createdate"><span class="catItemDateCreated"> <?php echo JHTML::_('date', $this->item->created , JText::_('K2_DATE_FORMAT_LC2')); ?> </span></div>
<?php endif; ?>
<?php if($this->item->params->get('catItemAuthor')): ?>
<!-- Item Author -->
<div class="author"><span class="catItemAuthor"> <?php echo K2HelperUtilities::writtenBy($this->item->author->profile->gender); ?> <a rel="author" href="<?php echo $this->item->author->link; ?>"><?php echo $this->item->author->name; ?></a> </span></div>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('catItemTitle')): ?>
<!-- Item title -->
<h3 class="catItemTitle">
<?php if(isset($this->item->editLink)): ?>
<!-- Item edit link -->
<span class="catItemEditLink"> <a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>"> <?php echo JText::_('K2_EDIT_ITEM'); ?> </a> </span>
<?php endif; ?>
<?php if ($this->item->params->get('catItemTitleLinked')): ?>
<a href="<?php echo $this->item->link; ?>"> <?php echo $this->item->title; ?> </a>
<?php else: ?>
<?php echo $this->item->title; ?>
<?php endif; ?>
<?php if($this->item->params->get('catItemFeaturedNotice') && $this->item->featured): ?>
<!-- Featured flag -->
<span> <sup> <?php echo JText::_('K2_FEATURED'); ?> </sup> </span>
<?php endif; ?>
</h3>
<?php endif; ?>
</div>
<div class="clr"></div>
<!-- Plugins: AfterDisplayTitle -->
<?php echo $this->item->event->AfterDisplayTitle; ?>
<!-- K2 Plugins: K2AfterDisplayTitle -->
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
<div class="clr"></div>
<div class="catItemBody">
<!-- Plugins: BeforeDisplayContent -->
<?php echo $this->item->event->BeforeDisplayContent; ?>
Last edit: 10 years 4 months ago by magdakar.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
10 years 4 months ago #134866 by Krikor Boghossian
Replied by Krikor Boghossian on topic item title problem in category.php
It is a CSS issue most probably.

Furthermore there are 127 HTML errors ( validator.w3.org/check?uri=http%3A%2F%2Fe-marathon.gr%2Feklegmenos%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 )

This is an issue you need to address to the template's developer.

Please Log in or Create an account to join the conversation.

  • magdakar
  • magdakar's Avatar Topic Author
  • Offline
  • New Member
More
10 years 4 months ago #134880 by magdakar
Replied by magdakar on topic item title problem in category.php
i find it is was div in category title... thanks for your time

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
10 years 4 months ago #134893 by Krikor Boghossian
Replied by Krikor Boghossian on topic item title problem in category.php
You 're welcome.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum