Keyword

K2 Video credits.

  • Philip
  • Philip's Avatar Topic Author
  • Offline
  • New Member
More
7 years 6 months ago #158304 by Philip
K2 Video credits. was created by Philip
Hi!

I have a problem. I used video credits in K2 component to make article lead on the top of picture - polishturf.com/wiadomosci/item/524-the-clash-of-the-champions-va-bank-and-caccini

I moved code in /html/com_k2/templates/default/item.php file and changed css code.

But... There is a limit for the characters - when I'm placing longer text, is cutted automatically after saving.

My question - Hot to fix it to be able to put text without characters limit?

Regards,

Philip

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #158323 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Video credits.
Hello Philip,

It is best to use the item's introtext (which makes more sense) as the lead for your item. Furthermore there are no limits in the introtext.

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

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

  • Philip
  • Philip's Avatar Topic Author
  • Offline
  • New Member
More
7 years 6 months ago #158363 by Philip
Replied by Philip on topic K2 Video credits.
Hi!

How to use intro text? Whew I will find it?

Kind Regards,

Philip

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #158376 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Video credits.
$this->item->introtext You can use it by using the read more button in your editor, or using two editors.
The latter option is found in K2's advanced settings.

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

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

  • Philip
  • Philip's Avatar Topic Author
  • Offline
  • New Member
More
7 years 6 months ago #158409 by Philip
Replied by Philip on topic K2 Video credits.
Hi!

It looks like I switch on double editor and got intro test in article. But I would like to have intro text above picture - as I did with video credits.

What should I do?

Regards,

Philip

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 6 months ago #158413 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 Video credits.
You can move the block above the image, like you did with the credits.

The block should look like:
		<?php if($this->item->params->get('itemIntroText')): ?>
		<!-- Item introtext -->
		<div class="itemIntroText">
			<?php echo $this->item->introtext; ?>
		</div>
		<?php endif; ?>

I presume you already know about overrides but I'll attach the link just in case: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

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

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

  • Philip
  • Philip's Avatar Topic Author
  • Offline
  • New Member
More
7 years 6 months ago #158414 by Philip
Replied by Philip on topic K2 Video credits.
Hi!

Thank you. Can you tell me the name of the file? I forgot :-)


Regards,

Philip

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


Powered by Kunena Forum