IMPORTANT MESSAGE REGARDING THE FORUM

As you may already know, the JoomlaWorks Forum is powered by Kunena (the only decent forum component for Joomla).

Unfortunately, the latest update for Kunena has seemingly broken all code snippets (old and new) in the forum.

Until this message is removed, please paste any code as regular text - in other words, don't use the [code]...[/code] tags in Kunena's post editor.

Keyword

Introtext and fulltext

More
7 years 10 months ago #137387 by colin
Introtext and fulltext was created by colin
I am using Takai free template now, and I like it.
The only problem is when I click the "readmore" link ,in the item view the introtext is missing.

Can you help?
Thanks.

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

More
7 years 10 months ago #137388 by colin
Replied by colin on topic Introtext and fulltext
by the way, I have checked all show introtext & show fulltext buttons I can find.

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

More
7 years 10 months ago #137389 by colin
Replied by colin on topic Introtext and fulltext
This is the site I built with the quick package. Just add a Test item.
istreamtheworld.com/K/
Click read more to find the problem.

However, all sample articles work fine.

Thanks!

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

More
7 years 10 months ago #137390 by Laurent Noonan
Replied by Laurent Noonan on topic Introtext and fulltext
I am having the same issue. It seems to work only on posts that include item extra fields: istreamtheworld.com/K/index.php/item

So, perhaps adding extra fields will be the hack to get it to work, but otherwise I think there is something wrong with the item.php code.

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

More
7 years 10 months ago - 7 years 10 months ago #137391 by Laurent Noonan
Replied by Laurent Noonan on topic Introtext and fulltext
Alright I fiddled with the item.php code and found something that seems to work.

On line 219

change from
<?php if($this->item->params->get('itemIntroText') && $this->item->params->get('itemExtraFields') && count($this->item->extra_fields) || $this->item->params->get('itemAttachments') && count($this->item->attachments) ): ?>

to

<?php if($this->item->params->get('itemIntroText')): ?>


It seems to work after that, though I can't guarantee this won't cause any other issues. If someone with more php and template knowledge can vouch for this method, that would be helpful!

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

More
7 years 9 months ago #137392 by colin
Replied by colin on topic Introtext and fulltext
Thanks, Laurent.
I will try.

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

More
7 years 7 months ago #137393 by massi
Replied by massi on topic Introtext and fulltext
Hi,

I have the same problem.

I don't find this code. In which file do I change this?

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

More
7 years 7 months ago #137394 by massi
Replied by massi on topic Introtext and fulltext
Found.

the path is: templates\takai\html\com_k2\default\item.php

Works for me.

Thank you very much!

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
7 years 7 months ago #137395 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Introtext and fulltext
Hy,

thank you for Information, works well. And yes: Great Template, wish know it earlier, now testing my 1st site on takai.

Regards

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 7 months ago #137396 by Krikor Boghossian
Replied by Krikor Boghossian on topic Introtext and fulltext
Hello Franz,

Nice to see you here :)

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


Powered by Kunena Forum