PDA

View Full Version : New Shop Live - Suggestions Please


ishop
28-03-07, 16:33
Hi Everyone

I've put my site live now with the client software, just wandered if you have 5 minutes if could take a look and let me know your thoughts and to see if you see any errors for me. Let me know your points of view even if they are bad please.

My site is http://www.i-shop-uk.co.uk/

Thanks in advance

Stuart

gunneradt
28-03-07, 16:50
looks great

can you tell me how you added the random ads in the top bar (and the side bar come to think of it).

I'm assuming you tweaked the css on one of the basic templates

kind regards

Neil
28-03-07, 16:51
I like that a lot Stuart - only thing I would do is centralise the whole thing so that it appears centrally in larger browsers ?

Other than that it works fine and looks good !

ishop
28-03-07, 16:55
// JavaScript Document

<!-- Begin
var how_many_ads = 3;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt=""; // banner text thats goes underneath if you require this if not leave as is
url="*****YOUR URL AFFILIATE****";
alt="IMAGE ALT TEXT";
banner="**** YOUR AFFILIATE BANNER SOURCE ****";
width="120"; // banner width
height="600"; // banner height
}
if (ad==2) {
txt=""; // banner text thats goes underneath if you require this if not leave as is
url="*****YOUR URL AFFILIATE****";
alt="IMAGE ALT TEXT";
banner="**** YOUR AFFILIATE BANNER SOURCE ****";
width="120"; // banner width
height="600"; // banner height
}
if (ad==3) {
txt=""; // banner text thats goes underneath if you require this if not leave as is
url="*****YOUR URL AFFILIATE****";
alt="IMAGE ALT TEXT";
banner="**** YOUR AFFILIATE BANNER SOURCE ****";
width="120"; // banner width
height="600"; // banner height
}
// banner script by www.marketingsolutions-uk.com
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_blank\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('<small>' + txt + '</small></a>');
document.write('</center>');
// End -->

ishop
28-03-07, 16:57
I started with a new template, I used the original CSS but modified it to suit my site

ishop
28-03-07, 16:58
I like that a lot Stuart - only thing I would do is centralise the whole thing so that it appears centrally in larger browsers ?

Other than that it works fine and looks good !

Hi Neil

I have 20inch screens in front of me and it is central

What browser are you using?

Regards

Stuart

Comparison Shopping - The smarter way to shop (http://www.i-shop-uk.co.uk/)

gunneradt
28-03-07, 16:58
where does it pull the banners from and where does the javascript go?

regards


// JavaScript Document

<!-- Begin
var how_many_ads = 3;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt=""; // banner text thats goes underneath if you require this if not leave as is
url="*****YOUR URL AFFILIATE****";
alt="IMAGE ALT TEXT";
banner="**** YOUR AFFILIATE BANNER SOURCE ****";
width="120"; // banner width
height="600"; // banner height
}
if (ad==2) {
txt=""; // banner text thats goes underneath if you require this if not leave as is
url="*****YOUR URL AFFILIATE****";
alt="IMAGE ALT TEXT";
banner="**** YOUR AFFILIATE BANNER SOURCE ****";
width="120"; // banner width
height="600"; // banner height
}
if (ad==3) {
txt=""; // banner text thats goes underneath if you require this if not leave as is
url="*****YOUR URL AFFILIATE****";
alt="IMAGE ALT TEXT";
banner="**** YOUR AFFILIATE BANNER SOURCE ****";
width="120"; // banner width
height="600"; // banner height
}
// banner script by www.marketingsolutions-uk.com
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_blank\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('<small>' + txt + '</small></a>');
document.write('</center>');
// End -->

ishop
28-03-07, 17:00
I created a file called scripts on the root and named the banner script for the top banner display 468x60-banner.js

Then in the file below:-

YOUR TEMPATE NAME/elements/page_header.tpl

I added this code

<script language="JavaScript" type="text/javascript" src="scripts/468x60-banner.js"></script>

ishop
28-03-07, 17:06
Banner script attached

gunneradt
28-03-07, 17:13
hi thanks for the info

I'm a bit new to this kind of thing.

a couple of questions for you

1. what's the url affiliate source? I'm probably just being dim here

2. think i've got the banner source - assuming it's just the normal banner code

3. where in the page header template did you add the js

4. slightly also confused as the js script looks like the 468x60 banner script yet the js ascript itself is for a 120x600.

5. do you mean you created a folder in the root called 'scripts' and added the 468x60.js to it?

many thanks for your help

ishop
28-03-07, 17:30
you can use 2 scripts like I did, one for the right side bar called 120x600-banner.js and one for the header called 468x60-banner.js

To get the banner code go to your current merchants and click on the links button (green button) and select banners and you will be given code like this below

<!--START MERCHANT:merchant name Mini Marvellous from affiliatewindow.com.-->
<a href="http://www.awin1.com/cread.php?s=70828&v=1569&q=58334&r=70561">
<img src="http://www.awin1.com/cshow.php?s=70828&v=1569&q=58334&r=70561" border="0"></a>
<!--END MERCHANT:merchant name Mini Marvellous from affiliatewindow.com-->



Take the the link from the href for your affiliate URL

Take the link from the image source for the image

My header template is is specific to my site so you will have to choose where you want it to go on your site.

Regards

Stuart

ushop-online
28-03-07, 17:38
Hi Everyone

I've put my site live now with the client software, just wandered if you have 5 minutes if could take a look and let me know your thoughts and to see if you see any errors for me. Let me know your points of view even if they are bad please.

My site is http://www.i-shop-uk.co.uk/

Thanks in advance

Stuart

Like it -- centered for me at 1024

gunneradt
28-03-07, 17:43
thankyou very much for your help

will give this a try this evening

regards

you can use 2 scripts like I did, one for the right side bar called 120x600-banner.js and one for the header called 468x60-banner.js

To get the banner code go to your current merchants and click on the links button (green button) and select banners and you will be given code like this below

<!--START MERCHANT:merchant name Mini Marvellous from affiliatewindow.com.-->
<a href="http://www.awin1.com/cread.php?s=70828&v=1569&q=58334&r=70561">
<img src="http://www.awin1.com/cshow.php?s=70828&v=1569&q=58334&r=70561" border="0"></a>
<!--END MERCHANT:merchant name Mini Marvellous from affiliatewindow.com-->



Take the the link from the href for your affiliate URL

Take the link from the image source for the image

My header template is is specific to my site so you will have to choose where you want it to go on your site.

Regards

Stuart

ishop
29-03-07, 03:01
Hi gunneradt

How did you get on with the script, did you work it out ok?

Regards

Stuart

karsin
29-03-07, 05:04
Stuart,

it is not central for me either, I am using firefox v2.0.0.3 and 1024x768 res here

gunneradt
29-03-07, 10:59
my blasted dsl was down last night - i could get nothing done - I was furious.

will have to try this evening

Hi gunneradt

How did you get on with the script, did you work it out ok?

Regards

Stuart

ishop
29-03-07, 11:49
Can you see if its central for you now please, I have firfox, opera and ie on my system now and it looks fine to me

Thanks in advance

Neil
29-03-07, 11:53
Yep - that's solved it

I'm using the latest firefox (sorry for the late reply on this one)

It's not perfectly central !

ishop
29-03-07, 12:26
Thanks neil, thats as central as it gets

gunneradt
30-03-07, 03:34
code on your mobile ad is missing the http: - wouldn't want you to miss a sale!!!

you can use 2 scripts like I did, one for the right side bar called 120x600-banner.js and one for the header called 468x60-banner.js

To get the banner code go to your current merchants and click on the links button (green button) and select banners and you will be given code like this below

<!--START MERCHANT:merchant name Mini Marvellous from affiliatewindow.com.-->
<a href="http://www.awin1.com/cread.php?s=70828&v=1569&q=58334&r=70561">
<img src="http://www.awin1.com/cshow.php?s=70828&v=1569&q=58334&r=70561" border="0"></a>
<!--END MERCHANT:merchant name Mini Marvellous from affiliatewindow.com-->



Take the the link from the href for your affiliate URL

Take the link from the image source for the image

My header template is is specific to my site so you will have to choose where you want it to go on your site.

Regards

Stuart

gunneradt
30-03-07, 11:21
can anyone share how they've laid the logo and ad out - i can't get the ad to do anythying other than range left right beside the logo - i'd ideally like it to centre

cheers

ushop-online
30-03-07, 11:34
Firstly the 'header.tpl' is a misnomer it is a container not header.

I have replaced the content of this file with an 1px transparent image.

Then I included what I wanted at the top of the page by 'css' and hard code in the four template files -- category | index | product | search [.tpl]

CSS coding is very good but not every browser reads this the same so if you require precise positioning etc use tables hard coded in these files.

My last and personal comment is that I am not a fan of Smarty but understand there are people who think it great.