Menu Content

Currencies Accepted


Shopping Cart

cart
Your Cart is currently empty.

How to Download A Product

For most of our products, including the free ones, you will need to go through checkout and place an order.

Read More

 

Find Us Elsewhere

Follow us on Twitter

Spiral Scripts on Facebook

rapidssl_ssl_certificate
2Checkout.com is a worldwide leader in payment services

Google ads

Home » Forum

Welcome, Guest
  • Page:
  • 1

TOPIC: Sentence Count

Sentence Count 2 days, 15 hours ago #425

It appears that the extension ignore Sentence Count when there is a Read More also in the article. Any workaround? We want the Read More inserted at the time of article creation but it should be ignored when it is Featured.

Re: Sentence Count 1 day, 18 hours ago #428

Actually it is not the case the module ignores the parameter. The problem is down to the fact that Joomla splits the article text into two different database fields, introtext and fulltext.

It is not clear from what you are saying which module you are referring to, but to solve it you will need to find the appropriate helper file in the module, and in the code replace

$row->introtext


with

$row->introtext.' '.$row->fulltext


wherever you see it in the code.

If you would like to be a bit more specific about which module you are using, and which version of Joomla then I can be a bit more specific about the precise code you need to change.

Re: Sentence Count 1 day, 17 hours ago #429

I am using featured items pro latest version with Joomla 1.7.5

Maybe what we are trying to do is not possible. We have articles where we insert the Read More after the first sentence or so. When an article is the featured article of the day we need to display much more of the article. We were using your module for the Featured article and set the sentence count to 30. It was our hope that when an article was the featured article and hence using your module that the Read More would be ignored and instead the sentence count would be used.

Re: Sentence Count 13 hours, 34 minutes ago #432

OK, I understand what you are saying. The approach I suggested above should accomplish this.

The easiest way to do this in fact is to edit the module help.php file, look for lines 302 and 303

		foreach ( $rows as $row )
{
 


Immediately after that add an exta line:-

		foreach ( $rows as $row )
{
$row->introtext = $row->introtext.' '.$row->fulltext;
 


That should be all that you need to do, then the entire article text should be available from which the extract can then be taken.
  • Page:
  • 1
Time to create page: 0.68 seconds
 
 

VirtueMart Featured Products Grid

Switch View

This module displays a short excerpt from articles in a selected category or section, or from a specified list of articles, with link and optional thumbnail image.

£12.00


This module can be used as a replacement for the Virtuemart featured products, top products, random products or recent products modules. It displays product images as a 3 Dimensional Flash slideshow.

£15.00


A featured items module that shows selected entries from the SOBI2 business index.

£12.00


Buy both our Flash slideshow products for Virtuemart and save £5.

£25.00