MTAmazon32 1.3.2 Released
I have wrapped up the latest round of enhancements to MTAmazon32. While this release is relatively small, I consider it a critical release because it fixes a few major bugs, one of which resulted in [some] users being unable to override the default Amazon Associates ID of majordojo-20. My sincerest apologies for this bug. I also fixed a bug which prevented people from paginating through search results that were returned by Amazon.
But it wouldn't be fair if this release only contained bug fixes. Everyone needs some candy every once in a while. So I added a new MTAmazon template tag: <MTAmazonImage> (it actually replaced a tag I deprecated a release or two ago). This template tag makes available the Amazon Image Hacks available via simple template tag parameters. For example, say I wanted to display a image 115 pixels wide from the Amazon product catalog that was rotated 10 degrees, and displayed a 25% off icon? Then I could use the following template tag:
<MTAmazonImage rotation="10" percent="25" width="115" percentlocation="right">
Read the template tag reference to learn more about the accepted parameters to this new template tag.
Download MTAmazon32 for Windows or Unix now.
6 Comments
Leave a comment
what will you say?
Any known issues between the latest version of MediaManager and this new version of MTAmazon? I just tried updating both, and MM gave me an error message saying I didn't have MTAmazon32 installed. I backed down to version 1.3.1, and all seems well.
My first thought is that it might be an issue with moving the naming scheme from MTAmazon32 -> MTAmazon, but didn't do much digging.
Thanks for the great plugins!
I wanted to point out that your directory structure for the Unix version is funky: ./plugins/ ./plugins/MTAmazon32/ ./plugins/MTAmazon32/MTAmazon32.pl ./plugins/MTAmazon32/lib/ ./plugins/MTAmazon32/lib/XML/ ./plugins/MTAmazon32/lib/XML/Simple/ ./plugins/MTAmazon32/lib/XML/Simple/FAQ.pod ./plugins/MTAmazon32/lib/XML/Simple.pm
Took me a minute to figure out where the lib files were hiding until I poked around a bit.
I still have the same issue as the previous version. I install MTAmazon32 in the plugins directory and I am able to set the general settings. Then I go to the individual blog plugins settings and I get a 500 error. If I disable the your plugin I get no error. Can you direct to where I can put a debug line so I can figure out whats going on?
The Amazon wishlist feature seems to have changed - no matter what I do with lastn, it's only showing the first 10 entries. Any ideas?
http://joe.siegler.net/wishlist.php
Here's the first line of code I'm using:
{MTAmazon method="Wishlist" search="1LCQ4UL2ZXSL7" lastn="18"}
I'm using the {} to get it posted. :)
After playing with it some more, it appears that MTAmazon32 1.32 is ignoring the lastn="x" variable. It's putting up 10 no matter what I stick in the lastn field.
Can someone either confirm this, or prove to me I'm wrong? I can't see any other reason - the code I'm using looks right.