Keyword

video position k2 article

  • marco
  • marco's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 10 months ago #106542 by marco
video position k2 article was created by marco
Hello guys a question how do I put the see the article by k2 first of the article as it does for photos rather than later?


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
  • marco's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 10 months ago #106543 by marco
Replied by marco on topic Re: video position k2 article
PLEASE HELP ME!!!

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

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
11 years 10 months ago #106544 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Re: video position k2 article
Hi marco,

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
  • marco's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 10 months ago #106545 by marco
Replied by marco on topic Re: video position k2 article
could you tell me how to do? that is where I have to insert the code where in the file item.php

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
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
11 years 10 months ago - 11 years 10 months ago #106546 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Re: video position k2 article
Please zip and attach your existing item.php file here

It's basically, moving this line of code...
					
K2 Rocks \m/

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

  • marco
  • marco's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 10 months ago #106547 by marco
Replied by marco on topic Re: video position k2 article
here is the file you can put it to me the code as it should be, because I did not understand where I have to insert ... thanks

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

  • marco
  • marco's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 10 months ago #106548 by marco
Replied by marco on topic Re: video position k2 article
lhere is the file
Attachments:

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

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
11 years 10 months ago #106549 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Re: video position k2 article
the file is corrupted :( i can't unzip

K2 Rocks \m/

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

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
11 years 10 months ago #106550 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic Re: video position k2 article
You can copy the code above and add it in line 227 of item.php
					
K2 Rocks \m/

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

More
11 years 10 months ago #106551 by william white
Replied by william white on topic Re: video position k2 article
@kannan He is using gk_twn template. I put category_item.php in an override called "videoORimage"
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

Attachments:

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