Keyword

How to make Video display right beneath the text ?

  • Marko Jovovic
  • Marko Jovovic's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 9 months ago #134944 by Marko Jovovic
Hi, I installed allvideos plugin and its great. Everything works fine. But the thing is , when i upload video in my article it is showned after the : "rate this article" "categories in" "social buttons" "related articles by tag" .
I want video to be right after the text and then after this to be showned rate this article, categories etc....
Is there any way i can change this ?
I will give you a screenshoot so you can see.
imgur.com/JbnCufG

The words are on serbian but i hope you will get my point :)
So i just want Video to be at the really end of news article, after the words: Pogledajte trailer:

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 9 months ago #134999 by Krikor Boghossian
Replied by Krikor Boghossian on topic How to make Video display right beneath the text ?
Hello,

You need to read this tutorial, getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

In your overrides you need to move the video block. The code is very well commented and you will have no issue identifying the block.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Marko Jovovic
  • Marko Jovovic's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 9 months ago #135032 by Marko Jovovic
Replied by Marko Jovovic on topic How to make Video display right beneath the text ?
Okay I understand this... i went into /public_html/templates/gk_league_news/html/com_k2/templates/default
and i found item.php
Now i don't know which line to edit and what to remove or add so that my video can be right beneath the text ? i cant find any comments in the code that describes what i should do...
You mentioned VIDEOBLOCK . this is what i found of videoblock:

<?php if($params->get('itemVideo') && !empty($this->item->video)): ?>
<div class="itemVideoBlock" id="itemVideoAnchor">
<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($params->get('itemVideoCaption') && !empty($this->item->video_caption)): ?>
<span class="itemVideoCaption"><?php echo $this->item->video_caption; ?></span>
<?php endif; ?>
<?php if($params->get('itemVideoCredits') && !empty($this->item->video_credits)): ?>
<span class="itemVideoCredits"><?php echo $this->item->video_credits; ?></span>
<?php endif; ?>
</div>

But i dont know what to edit here ?
Can you please exactly tell me what to remove/add/edit so the video can look in the article right, instead of being beneath my social buttons and "published in" and "related items" as i showed you on screenshoot ?
Thank you very much.

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

  • Marko Jovovic
  • Marko Jovovic's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 9 months ago #135033 by Marko Jovovic
Replied by Marko Jovovic on topic How to make Video display right beneath the text ?
I SOLVED THIS PROBLEM :))) THANK YOU :)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 9 months ago #135045 by Krikor Boghossian
Replied by Krikor Boghossian on topic How to make Video display right beneath the text ?
You 're welcome Marko.

Since you are using overrides which I do not know how they are built, the template developer will know where to paste this code exactly.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum