Keyword

Change MEDIA plugin position???

  • Boriša Asr Zekić
  • Boriša Asr Zekić's Avatar Topic Author
  • Offline
  • New Member
More
12 years 6 months ago - 12 years 6 months ago #64492 by Boriša Asr Zekić
Change MEDIA plugin position??? was created by Boriša Asr Zekić
Hello I use joomla 2.5.2 and K2 v2.5.4 and want to change position of MEDIA plugin in my item, I want to put media loading before ADITIONAL FIELDS I try everything I move code
<?php if($this->item->params->get('itemVideo') && !empty($this->item->video)): ?>
  <!-- Item video -->
  <a name="itemVideoAnchor" id="itemVideoAnchor"></a>

  <div class="itemVideoBlock">
  	<h3><?php echo JText::_('K2_MEDIA'); ?></h3>

		<?php if($this->item->videoType=='embedded'): ?>
		<div class="itemVideoEmbedded">
			<?php echo $this->item->video; ?>
		</div>
		<?php else: ?>
		<span class="itemVideo"><?php echo $this->item->video; ?></span>
		<?php endif; ?>

	  <?php if($this->item->params->get('itemVideoCaption') && !empty($this->item->video_caption)): ?>
	  <span class="itemVideoCaption"><?php echo $this->item->video_caption; ?></span>
	  <?php endif; ?>

	  <?php if($this->item->params->get('itemVideoCredits') && !empty($this->item->video_credits)): ?>
	  <span class="itemVideoCredits"><?php echo $this->item->video_credits; ?></span>
	  <?php endif; ?>

	  <div class="clr"></div>
  </div>
  <?php endif; ?>

on file components/com_k2/templates/default/item.php but not work, I try to delete entire code and refresh page few times but even when i delete code media plugin load on same place

Can someone help me Please

PS- I use Allvideos for embeding

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

  • Boriša Asr Zekić
  • Boriša Asr Zekić's Avatar Topic Author
  • Offline
  • New Member
More
12 years 6 months ago #64493 by Boriša Asr Zekić
Replied by Boriša Asr Zekić on topic Re: Change MEDIA plugin position???
Sorry for disturbing I found solution problem is gavick have separate item file and everything load from there, i change code and now everything is OK :cheer:

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


Powered by Kunena Forum