Keyword

image in intro text not appear

  • Airo Dump
  • Airo Dump's Avatar Topic Author
  • Offline
  • New Member
More
11 years 4 months ago #113356 by Airo Dump
image in intro text not appear was created by Airo Dump
hello everyone, i make intro text in my category_item.php like this

<?php echo $this->item->introtext; ?>

become like this

<?php echo K2HelperUtilities::wordLimit($this->item->introtext, 50); ?>

and i input article but im not use item image on k2 i just use image inside article. but my image not show up. how can i solve this thanks before.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 4 months ago #113357 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: image in intro text not appear
Hello Airo,

Word limit strips all tags. If you want your image shown you should manually set an introtext and remove the word limit filter.

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

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

  • Airo Dump
  • Airo Dump's Avatar Topic Author
  • Offline
  • New Member
More
11 years 4 months ago #113358 by Airo Dump
Replied by Airo Dump on topic Re: image in intro text not appear
is there anyway to put intro without use read more manually cause it will be lot easy to use it automatic thanks.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 4 months ago #113359 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: image in intro text not appear
Not really,

If you use the word limit function, it will strip all your html tags. You can however use the global limit and select which tags not to strip from the component's params.

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

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

  • Airo Dump
  • Airo Dump's Avatar Topic Author
  • Offline
  • New Member
More
11 years 4 months ago #113360 by Airo Dump
Replied by Airo Dump on topic Re: image in intro text not appear
ok thanks ill try it

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


Powered by Kunena Forum