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 Amazon Web Services Plugin renders differently in different ...

 Spiral Scripts Support Forum :: Amazon Web Services
Welcome Guest   [Register]  [Login]
 Subject :Plugin renders differently in different menus.. 07-08-2010 01:53:33 
dagnome
Fresher
Joined: 06-08-2010 21:51:26
Posts: 4
Location
My client is an author's agent, and I'm using this plugin to extract certain book information from Amazon.com for books listed on his website.

I notice that when I use the plugin in an article in full view, it renders all the fields I have asked for in the Plugin options.

However, when I view those same articles from a Section Blog menu item, the rendered text is different than the info seen in the fullview article.

It's VERY annoying that this cannot be controlled... Is this modifiable somewhere?
IP Logged
 Subject :Re:Plugin renders differently in different menus.. 07-08-2010 08:49:26 
boggler
Spiral Scripts Support
Joined: 18-08-2009 10:14:13
Posts: 211
Location
Most people seem to like this - you are appparently the first to find it annoying!

We are planning a new release of the plugin shortly, to make it compatible with Joomla 1.6. When that happens we will certainly consider adding that as an option. The problem for us is that if we add an option every time a user requests it we can end up with a plugin with 100s of options that is confusing to use. However this does seem like a fairly useful one.

In the meantime if you would like to modify this for yourself you can edit the plugin code in the file amazonWS.php. Change lines 228 to 241 from
Code:
if (JRequest::getCmd('view') == 'article') { $replace_text = $this->getArticleOutput( $document, $pluginParams ); //$replace_text .= '**********************xml***********'; //$replace_text .= $response; //$replace_text .= '**********************xml***********'; } else { $replace_text = $this->getBlogOutput( $document, $pluginParams ); }


to

$replace_text = $this->getArticleOutput( $document, $pluginParams );
IP Logged
susan subway boggler
 Subject :Re:Plugin renders differently in different menus.. 11-08-2010 01:41:55 
dagnome
Fresher
Joined: 06-08-2010 21:51:26
Posts: 4
Location
What I find annoying is the inability to CONTROL the output format, not necessarily the output you have designed.

Thanks for this
IP Logged
 Subject :Re:Plugin renders differently in different menus.. 11-08-2010 09:35:03 
boggler
Spiral Scripts Support
Joined: 18-08-2009 10:14:13
Posts: 211
Location
There are already quite a lot of options for controlling the output.

We could try to anticipate every possible choice that users might want over the output. Then add this as an option, with additional coding to support it. Then we would end up with a plugin that has 500 different options, and about 1000 extra lines of code.

It is not very practical. It will be slow to run and hard to maintain.

What we try to do is to anticipate the main options people are likely to want. If they want something different then we explain to them what they can do to modify the code accordingly. If the issue seems important enough, or there appears to be demand from several users for it, then we add it as an option.

It is not perfect as a system, but it is the only practical one that I can see.
IP Logged
susan subway boggler
 Subject :Re:Plugin renders differently in different menus.. 17-08-2010 12:55:11 
boggler
Spiral Scripts Support
Joined: 18-08-2009 10:14:13
Posts: 211
Location
We have added the feature you requested to the latest release of the plugin 2.1.0.

It is also now compatible with Joomla 1.5 and 1.6.

You should be able to download the new version using your original download id.
IP Logged
susan subway boggler
Page # 


Powered by ccBoard


 
 

VirtueMart Featured Products Grid

Switch View

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


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

£10.00



 
 

fitness