0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest

Control characters count in the intro text
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Control characters count in the intro text

Control characters count in the intro text 6 years, 6 months ago #9891

Template: Health responsive
Joomla Ver.: 3.1

I found that I cannot control how many characters (or words) to be shown in the intro text (before read more separator).

Some times I want to increase words, or I want to show full text (even without using read more separator, category view still show a limited count of words).

Is there a way to override this ?

Thank you in advance for your help.
The topic has been locked.

Re: Control characters count in the intro text 6 years, 6 months ago #9902

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Abdulwahab Alghamdi,

Could you please send the screenshots to us?

Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.

Re: Control characters count in the intro text 6 years, 6 months ago #9921

Hi Loi,

Here is a snapshot from editor. You can see the (read more) location, and where the cutoff appears (at the red bar)



And here the category view (first article)



Same thing if I want to put image only in the article, nothing appears in the category view until I click (read more) button to go to Article view.
Last Edit: 6 years, 6 months ago by abdulwahab.alghamdi.
The topic has been locked.

Re: Control characters count in the intro text 6 years, 6 months ago #9923

  • admin
  • OFFLINE
  • Administrator
  • Posts: 1081
  • Karma: 14
Hello,

In this case, please open templates\sj_health30\html\com_content\category\blog_item.php file, about line 188, find this code:

<?php //echo $this->item->introtext; 
		echo str_replace('...', '',JHtml::_('string.truncate', ($this->item->introtext),200));
	?>


and change to:

<?php echo $this->item->introtext; ?>
Join our Clubs to download our extensions and templates
The topic has been locked.
The following user(s) said Thank You: abdulwahab.alghamdi

Re: Control characters count in the intro text 6 years, 6 months ago #9930

Great.
Thank you David (and all the team) for your great help.
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.41 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Suggested Posts

(/)
Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes