Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 11-19-2009, 05:30 PM   #1
I.C.Hope
War Room Member
 
Intrepreneur's Avatar
 
Join Date: Apr 2009
Location: Northern Ireland
Posts: 2,515
Thanks: 446
Thanked 227 Times in 181 Posts
Contact Info
Send a message via Skype™ to Intrepreneur
Default Wp Plugin Amazon Showcase. Coding Confusion.

Upon using this plugin. I like it. I get to showcase what I want to in my sidebar with ease.

One issue I have with it. Is that when the user clickouts it doesn't open in a new window.

I'm not a programmer but know a bit and found this section of code. I assumed adding target="blank" would be enough to make it do what I needed but it hasn't worked.

Code:
class AMZSCShowcase {



    var  = '';

    var  = 'New Showcase';

    var  = 'us';

    var  = '';

    var  = 0;

    var  = 'normal';

    var  = array();

    var  = '<div class="amzshcs-item" id="amzshcs-item-[itemIdentifier]"> <a href="[url]" target="_blank">[image]</a> </div>';

    var  = '<div class="amzshcs" id="amzshcs-[showcaseIdentifier]">[showcaseItems]</div>';
I have highlighted the bit where I added target="_blank" in red.

Thanks and your input is highly appreciated. I hope to resolve this soon with a little gudiance from the knowing.

ETA: I have also included the full PHP code attatched to this post.
Attached Files
File Type: zip amazonshowcase.zip (10.6 KB, 2 views)

I want a good keyword researcher, not for min sites but for tech articles. Hit me up if you've got those skillz!
Intrepreneur is offline   Reply With Quote
Old 11-19-2009, 07:03 PM   #2
Advanced Warrior
War Room Member
 
Ken Durham's Avatar
 
Join Date: Jun 2009
Location: Chesterton, IN
Posts: 923
Thanks: 129
Thanked 193 Times in 153 Posts
Default Re: Wp Plugin Amazon Showcase. Coding Confusion.

There isn't some sort of onclick going on with the final output?
I know some trackers will change hard links to onclick functions.

Hard to tell without seeing your site's output

Webmaster Services
List Your Wealth Building Systems and Services for Free

Insanity is doing the same thing over and over and expecting a different result ~ Einstein
Insanity is doing the same thing over and over and never getting the same results ~ Ken

Ken Durham is offline   Reply With Quote
Old 11-20-2009, 07:17 AM   #3
I.C.Hope
War Room Member
 
Intrepreneur's Avatar
 
Join Date: Apr 2009
Location: Northern Ireland
Posts: 2,515
Thanks: 446
Thanked 227 Times in 181 Posts
Contact Info
Send a message via Skype™ to Intrepreneur
Default Re: Wp Plugin Amazon Showcase. Coding Confusion.

Thanks for reply. It isn't using onclick. just plain html.

Maybe it's because I edited the plugin after it has been installed?

I want a good keyword researcher, not for min sites but for tech articles. Hit me up if you've got those skillz!
Intrepreneur is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
amazon, plugin, showcase

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 09:18 AM.