Continuing on with the phpBay Extended Manual... In this post I will explain how to make the images clickable (linking to the auction) in your phpBay eBay listings. If you are a bit more advanced and just want the answer: locate the html template files and edit the html adding in the proper tokens. If you need more help, please read on.
BTW, did you notice that I added a couple extra sections to the manual? I will also be covering SEO and PPC keyword tracking. Also, I will explain how to add phpBay code into your themes and give an example of when that might be useful. Those sections will be up in a few days. So far, I have had the luxury of having these posts pre-written because they exist already in a PDF manual I wrote. The new ones however have to be done from scratch, plus added to the PDF. I shouldn't be delayed too long, if at all, I still want to try and get a post a day out to you. Anyway read on for the steps...
Table Of Contents
- Introduction
- Installation/Activation
- Configuration
- Testing
- Per-Post/Per-Page Settings
- Geo-Targeting
- Making The Images Clickable
- Replacing Wordpress Search With eBay Search
- Inserting phpBay Code Into Theme Files
- Buy phpBay Pro (20% off coupon: DA9CD69F42)
- From Picking A Market To Building/Managing Your phpBay (Or BANS) Site
Making The Images Clickable
To make the images in your auction listings clickable you just have to make a quick change to one or two of the template files that phpBay provides.
There is one file to change if you use columns and another file to change if you don't. It doesn't hurt to change them both in case you switch between a single column and multiple columns on occasion. Here's how...
- Download the files 'template.ebay.results.html' and 'template.column.results.html' located in the '/wp-content/plugins/phpBay/templates/' folder, to your computer.
- Open 'template.ebay.results.html' with a text editor. If using TextPad, right-click it and click TextPad and it will open with TextPad. If you double clicked it, it will likely just open in a browser and you won't be able to edit it, so you will want to open it like mentioned.
- Locate the line with the code: (it's all on one line, it's just wrapped in the image below)

and change it to: (again, it's wrapped)

- Save the file and re-upload, overwriting the existing file.
- Now open 'template.column.results.html' with a text editor.
- Locate the line with the code:

and change it to: (wrapped code below)

- Go back to your test page and Refresh (F5) it to see your changes.
Next we'll replace the Wordpress search with a search that displays phpBay results instead.
Tags: earning-money, make-money-from-home, how-to-earn-money, making-money, ways-to-make-money
Related posts:














Enter your first name and email address below to receive exclusive money making tips.



Wed, Jul 22, 2009
phpBay Pro