Menu Content

Shopping Cart

£15.00


1 Product
£15.00



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 External links within articles being str...

 Spiral Scripts Support Forum :: Featured Items Modules
Welcome Guest   [Register]  [Login]
 Subject :External links within articles being stripped out.. 16-12-2010 23:21:43 
blueroomtechnologies
Fresher
Joined: 15-12-2010 06:31:58
Posts: 2
Location
Hi,
I've noticed within the Featured Items Carousel that any external links within the displayed Articles are being stripped out. For example, I have an article that has a sentence with the following link: <a name="aHulu2" href="http://www.hulu.com" target="_blank">hulu</a>

When I see it in a blog, the link works as desired. Within the carousel however, the link is replaces with just the text: "hulu". Is this something that I can turn off or sneak in some kind of html comment directive so that my external link stays in place?
Cheers,
Jeff
IP Logged
 Subject :Re:External links within articles being stripped out.. 17-12-2010 10:48:36 
boggler
Spiral Scripts Support
Joined: 18-08-2009 10:14:13
Posts: 211
Location
Hi, yes the module does strip out html tags including links from the extract. This is for the practical reason that if it did not do this the likelihood is that you would end up with invalid html, if the extract contained some opening html tags but no closing tags. This could cause a lot of problems with the display of your site.

There are two ways around this: use the entire introtext, which is an option for the module. In this case the html tags are not stripped out, since the html can be assumed to be valid.

The second is to use a comment tag. If you use a tag of the form

<!--comment:ANY TEXT-->

ANY TEXT can be replaced by text of your choosing, including some html tags such as the <a> tag.

It won't appear visible in the original article since it is inside an html comment tag, but it will be displayed at the bottom of the extract in the module.

So you could do something like:

<!--comment:<a href="http://www.mylink.com">Additional links</a>-->

where obviously you would replace http://www.mylink.com by whatever you want.

I am thinking about modifying the module to automatically display additional links, as a few people have asked about this now, there should be an update sometime in the New Year that will include this, but in the meantime either of the above methods will allow you to include links.
IP Logged
susan subway boggler
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 and Joomla 1.6 CMS. It plays a random list of mp3s using the Flash media player.

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

£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


*****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



 
 

fitness