Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2004-07-10 23:27:16
- Spiller
- New Member
- From: Macedonia
- Registered: 2004-02-24
- Posts: 5
Re: [archived] jgh_amazon
Just finishing those would be great, though I really can’t think of any suggestions. Good work dude:)
Offline
Re: [archived] jgh_amazon
Hey…. this plugin doesn’t work for me, and I don’t know what the problem could be. Basically it shows nothing. I checked to make sure the tables were installed. I’ve also tried many different asin numbers etc… Both soap and nusoap are in my textpattern/lib folder. Any ideas. Btw, I host with textdrive if thats any help.
Offline
#15 2004-07-18 01:43:19
- Spiller
- New Member
- From: Macedonia
- Registered: 2004-02-24
- Posts: 5
Re: [archived] jgh_amazon
> bleveck wrote:
> Hey…. this plugin doesn’t work for me, and I don’t know what the problem could be. Basically it shows nothing. I checked to make sure the tables were installed. I’ve also tried many different asin numbers etc… Both soap and nusoap are in my textpattern/lib folder. Any ideas. Btw, I host with textdrive if thats any help.
Hey bleveck, try using txp:jg_amazon … instead txp:jgh_amazon …
Last edited by Spiller (2004-07-18 01:46:50)
Offline
Re: [archived] jgh_amazon
Thanks spiller! works now… well actually it breaks my page, but that’s a style sheet issue, it definately posts the content. Guess the documentation should be changed eh?
Offline
#17 2004-07-18 13:42:14
- Rufnex
- Archived Plugin Author
- From: Germany, Munich (Bavaria)
- Registered: 2004-06-23
- Posts: 51
Re: [archived] jgh_amazon
Ups … i’ve updated my plug-in. now you can call it like described with txp:jgh_amazon. delete the old jgh_amazon from you plug-in list an install the new one (look at the link at page top).
i changed it because i have to name plug-ins with a three letter prefix.
sorry about that ;o)
Offline
Re: [archived] jgh_amazon
do you call the custom layout with jgh_amazon also? Your instructions have it as still jg_amazon.
Offline
#19 2004-07-18 18:11:51
- Rufnex
- Archived Plugin Author
- From: Germany, Munich (Bavaria)
- Registered: 2004-06-23
- Posts: 51
Re: [archived] jgh_amazon
@bleveck:
uahhh .. not my day ;o) oki .. standard and custom layout both called with txp:jgh_amazon. New Version is online ;o)
Offline
Re: [archived] jgh_amazon
i know it’s an old thread, but any chance of a new version that i can use TXP tags in? like <txp:jgh_amazon asin="<txp:title />" /> ?
and, for some reason, i always get errors when i try to use a custom layout. so i just hacked the plugin…but i’d rather not have to.
Listen to Kenneth
Offline
Re: [archived] jgh_amazon
Should be doable threw adding in the plugin
<code>
parse($asinattribute);
</code>
Havent checked the actual code but I think you get the idea. Ofcourse, would be nice to have it as a working feature in the plugin, but that is not always the option.
Plugins:
ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1
“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu
Offline
Re: [archived] jgh_amazon
i’ll give that a go and let you know, obeewan. thanks for the advice.
Listen to Kenneth
Offline
Re: [archived] jgh_amazon
no luck, but maybe i just didn’t put it in the right place or use the right variable.
if you have time/feel like it, see if you see anything. thanks.
Listen to Kenneth
Offline
Re: [archived] jgh_amazon
Try this in the plugincode:
after:
<code>$azid = (!empty($azid)) ? $azid : “jgwebdes”;</code>
add:
<code>$asin = (!empty($asin) ? parse($asin) : ‘’;</code>
Since I see no meaning to personally use the plugin I have not installed the table etc to check it out, this was just something I thought up by reading the code. Hopefully it does the job you want it to do.
Plugins:
ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1
“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu
Offline