Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [archived] jgh_amazon
still no luck. thanks for your help, though. it works if i include it in a post instead of as a form with a post supplying the numbers. guess this’ll have to do. thanks, again.
Listen to Kenneth
Offline
Re: [archived] jgh_amazon
I accomplished the same using another plugin called txp:run, look it up and heres a bit of code:
<code> <txp:run level=“pre,main”><txp:jcv_amazon searchType=“ASIN” searchString=”<txppre:rei_show_custom />” form=“read_amazon” limit=“1” cacheTime=“60” cacheDir=”/tmp” associateId=“station11-20” /></txp:run> </code>
It won’t matter that I used jcv_amazon, the run level skims through the block and it resolves all variables with pre then loops to the beginning and resolves all variables prefixed with main and then it finishes – so good luck.
Last edited by misterk (2004-09-03 00:56:19)
Offline
Re: [archived] jgh_amazon
hey! i didn’t even think of using the runlevel. thanks for the slap in the forehead!
Listen to Kenneth
Offline
Re: [archived] jgh_amazon
I’m completely stumped! Can someone help? I’ve run the install and verified that the table is there. The jgh_amazon plugin is installed and active. The soap and nusoap files are in my textpattern/lib directory. I’ve used the following tag in my template form:
< txp:jgh_amazon asin=“0812551494” / >
And I get nothing. As in, the page isn’t parsed. It’s a blank white page. As soon as I removed the above tag, everything’s fine again.
Any ideas?
Last edited by Jennifer (2004-10-13 00:18:13)
Offline
Re: [archived] jgh_amazon
I have the same error too. My website is hosted on textpattern if that helps anyone.
Offline
Re: [archived] jgh_amazon
I am getting lots of errors of the following type:
<code>Notice: Undefined variable: autor in /Users/username/Sites/path/textpattern/publish.php(764) : eval()’d code on line 247
Notice: Use of undefined constant asin – assumed ‘asin’ in /Users/username/Sites/path/textpattern/publish.php(764) : eval()’d code on line 266</code> etc.
The plugin <code><txp:jgh_amazon asin=”######” /></code> seems to work and retrieve data from amazon. I have placed the txp:jgh_amazon tag on the default page.
Any help in getting rid of the errors would be appreciated …
Last edited by nishark (2004-10-31 08:29:17)
Offline
#31 2004-11-26 11:29:33
- humanoid
- Member
- Registered: 2004-06-24
- Posts: 17
Re: [archived] jgh_amazon
Great stuff – using it on my site. Thanks a lot!
Offline
#32 2004-11-30 15:26:31
- humanoid
- Member
- Registered: 2004-06-24
- Posts: 17
Re: [archived] jgh_amazon
Actually I stopped now because it made a mess of my layout with very long titles (doesn’t wrap) and it interpreted all authors as “array” and showd the word Array instead of author name.
Will try again if it gets updated.
Offline
#33 2005-04-19 01:56:47
- rbl
- Member
- From: Portugal
- Registered: 2004-02-25
- Posts: 40
Re: [archived] jgh_amazon
Any development on this plugin?
Offline
#34 2005-04-23 04:19:47
- rbl
- Member
- From: Portugal
- Registered: 2004-02-25
- Posts: 40
Re: [archived] jgh_amazon
Here’s another question, any way of caching the book lists? The pages where I’m using this plugin take forever to load.
Offline
#35 2006-02-28 22:37:21
- Rufnex
- Archived Plugin Author
- From: Germany, Munich (Bavaria)
- Registered: 2004-06-23
- Posts: 51
Re: [archived] jgh_amazon
Hi, i’m back again .. so my question: there are any wishes to update this plugin?
Offline
#36 2006-09-28 07:40:23
- chugs
- New Member
- Registered: 2005-07-22
- Posts: 2
Re: [archived] jgh_amazon
The download link for this plugin doesn’t work. Can somebody point me to an active link?
Or if anybody has the plugin installed could you please paste it here or put it up somewhere or mail it to me (chugs_1976 at yahoo dot com). Any help would be much appreciated.
Thanks.
Offline