Menu Content

Shopping Cart

cart
Your Cart is currently empty.

Currencies Accepted


Newsletter

Subscribe to our newsletter


Name:

Email:

Like it? Share it!

Find Us Elsewhere

Follow us on Twitter

Home Support Forum Featured Items Modules Featured Carousel: additional images ign...

 Spiral Scripts Support Forum :: Featured Items Modules
Welcome Guest   [Register]  [Login]
 Subject :Featured Carousel: additional images ignored.. 19-10-2010 21:19:34 
mvcreative
Fresher
Joined: 08-10-2010 21:50:44
Posts: 7
Location
Hello everyone,

I'm trying to display 2 images inside of each article:
-1 For the item (photo)
-2 A special Read More image

The Read More image intends to link to the real article from the featured item.
(Not using Mighty Extensions)

The extra image is being ignored and not even showing up on the code view.

Any idea about how to solve this issue?

Thanks
IP Logged
 Subject :Re:Featured Carousel: additional images ignored.. 20-10-2010 16:17:45 
mvcreative
Fresher
Joined: 08-10-2010 21:50:44
Posts: 7
Location
Not sure if this is the best way, but what I did was:

Under file helper.php
Comment out Line 454
$itemtext = preg_replace('/<img[^>]*>/i','',$itemtext); //remove image tags, because thumbnail will be generated.

Increased the i counter by 1 (as we had 2 repeated images)

$lists[$i+1]->imageTag = modFeaturedItemsCarouselContentHelper::getImageTag($params, $row, $lists[$i+1]->heading);

Under each Featured Article
Created a table to show the thumbnail on one side, the copy and read more graphic on the other side.

And later, created a new css rule for the table,

So, it's working... but any suggestion will be appreciated.

Thanks
IP Logged
 Subject :Re:Featured Carousel: additional images ignored.. 22-10-2010 10:35:37 
boggler
Spiral Scripts Support
Joined: 18-08-2009 10:14:13
Posts: 181
Location
You should be able to create a read more image much more simply, just by putting the image code in the module 'Read More Text' parameter. This parameter will accept html tags, including an img tag.
IP Logged
susan subway boggler
 Subject :Re:Featured Carousel: additional images ignored.. 22-10-2010 17:22:35 
mvcreative
Fresher
Joined: 08-10-2010 21:50:44
Posts: 7
Location
I didn't know we could use html inside of the read me field. That's cool!

But, even with that... as I need the links to point to a different article, this couldn't work as the clients needs.

Or is there something that I'm missing?

Thanks again!
IP Logged
Page # 


Powered by ccBoard


 
 

VirtueMart Featured Products Grid

Switch View

*****Now compatible with Joomla 1.6******* A module extension for the the Joomla 1.5 + 1.6 CMS. It 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


*****Now compatible with Joomla 1.6******* A module extension for the the Joomla 1.5 + 1.6 CMS. It 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.

£10.00


*****Now compatible with Joomla 1.6******* A Flash puzzle game for the Joomla! content management system. This would be suitable for a site aimed at children. Compatible with Joomla 1.5 and Joomla 1.6.

£10.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



 
 

fitness