- Posts: 33
COMMUNITY FORUM
video position k2 article
- marco
-
Topic Author
- Offline
- Junior Member
here is the link of the page: www.tgtourism.tv/news/item/2100-altro-articolo-di-prova-video.html
and I wish the video could be seen between the title and the article ..
here is the link to the correct page with a photo and I want to come so even with the video for the link above: www.tgtourism.tv/news/item/2096-prova-articolo-tg-tourismo243.html
can you tell me what code I need to enter and / or what I need to change?
Please Log in or Create an account to join the conversation.
- marco
-
Topic Author
- Offline
- Junior Member
- Posts: 33
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
You can do it with moving the existing code to display the video up above the intro or full text area. It's in item.php file. Just do a template override.
Or you can achive this by using the JW All Videos plugin, just use the plugin syntax like {youtube}videoID{/youtube}
K2 Rocks \m/
Please Log in or Create an account to join the conversation.
- marco
-
Topic Author
- Offline
- Junior Member
- Posts: 33
ps. I've done the verride to put thumbnails of the video on the news of the site, then help me to fix this code?
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
It's basically, moving this line of code...
K2 Rocks \m/
Please Log in or Create an account to join the conversation.
- marco
-
Topic Author
- Offline
- Junior Member
- Posts: 33
Please Log in or Create an account to join the conversation.
- marco
-
Topic Author
- Offline
- Junior Member
- Posts: 33
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
K2 Rocks \m/
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
K2 Rocks \m/
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
attached is the image.php file from that directory.
Im at jwc, Ill check back in later. Attached is the item.php
Attachment not found
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
Marco,
You can download and use the attached item.php file.
Attachment not found
K2 Rocks \m/
Please Log in or Create an account to join the conversation.
- marco
-
Topic Author
- Offline
- Junior Member
- Posts: 33
look www.tgtourism.tv/news/item/2100-altro-articolo-di-prova-video.html
Please Log in or Create an account to join the conversation.
- marco
-
Topic Author
- Offline
- Junior Member
- Posts: 33
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
K2 Rocks \m/
Please Log in or Create an account to join the conversation.
- marco
-
Topic Author
- Offline
- Junior Member
- Posts: 33
How come the page of the video you can see so badly misaligned: www.tgtourism.tv/news/item/2100-altro-articolo-di-prova-video.html
while the page with the images are perfectly aligned: www.tgtourism.tv/news/item/2097-prova-articolo-tg-tourismo24333.html
please help me to align the video page as the page picture
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
K2 Rocks \m/
Please Log in or Create an account to join the conversation.
- marco
-
Topic Author
- Offline
- Junior Member
- Posts: 33
then I ask you a favor to fix the rest that date and author and put them on the same line.
help me because I do not know how ...
Please Log in or Create an account to join the conversation.
- marco
-
Topic Author
- Offline
- Junior Member
- Posts: 33
Please Log in or Create an account to join the conversation.
- marco
-
Topic Author
- Offline
- Junior Member
- Posts: 33
Please Log in or Create an account to join the conversation.
- Melanie
-
- Offline
- New Member
- Posts: 2
I am new to K2 and also want to display my videos first in my content with the text and comments below. I have installed AllVideos, and my particular videos are stored on my website as follows:
mysite.com/images/videos/myvideo.m4v
I have tried adding them to the top of the item content page using:
{m4v}myvideo{/m4v}
or {m4v}mysite.com/images/videos/myvideo{/}
and a number of other ways including changing the file extension and trying it that way - neither works.
All I want is to display my media files at the very top of my articles. I tried looking at the file you suggested i.tem.php) which I found on my server here:
mysite.com/components/com_k2/views/item/tmpl/item.php
But all it contains is the following - am I looking at the right file?:
<?php
/**
* @version $Id: item.php 1618 2012-09-21 11:23:08Z lefteris.kavadas $
* @package K2
* @author JoomlaWorks www.joomlaworks.net
* @copyright Copyright (c) 2006 - 2012 JoomlaWorks Ltd. All rights reserved.
* @license GNU/GPL license: www.gnu.org/copyleft/gpl.html
*/
// no direct access
defined('_JEXEC') or die;
?>
I would love to get this working as prefer what I have seen of K2 so far (compared to standard Joomla articles). Any help pointing me where and how to do it would be most appreciated
Please Log in or Create an account to join the conversation.