You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I'm trying to place a banner advert to link customers to another site that will pay me an affiliate fee, the banner is in html. How do I do this and how do I put it in the correct place on my site?
Also I want to do a similar thing with google adsense.
Thanks
Offline
Thanks John, any particular place within the skin code? I am a novice!!
Offline
I'm still using pretty much the basic skin (I've yet to play with that bit!!) I will probably have one landscape banner at the top just under "you are currently logged in as" then one down the right hand side in the space under the popular pages menu.
Thanks
Offline
Under the logged in section you best bet is here
<div id="skin_headacct"> <?php /* PHP FUNCTION */ /* Include the miniacctlogin namespace to print */ /* either a quick login info. */ $skinfunc->namespace($app_id,'miniacctlogin'); ?> </div> </td> </tr> <!-- new section here --> <tr>
under the right column menu would be here
</td> <td id="skin_ct_rcol"> <?php /* PHP FUNCTION */ /* Include the frontend menus namespace. Pass RIGHT */ /* as the menu id here. */ $skinfunc->namespace($app_id,'femenus','RIGHT'); ?> </td> </tr> <!-- new section here -->
John
Offline
Thanks John, I'll go and play!!
Offline
John,
I've tried a google adsense banner, I chose the vertical narrow banner and added it where suggested, however its not showing up on the site, any ideas why??
Here's the code I added to the skin;
<td id="skin_ct_rcol"> <?php /* PHP FUNCTION */ /* Include the frontend menus namespace. Pass RIGHT */ /* as the menu id here. */ $skinfunc->namespace($app_id,'femenus','RIGHT'); ?> </td> </tr> <script type="text/javascript"><!-- google_ad_client = "pub-6020440203113736"; /* 120x240, created 01/03/09 */ google_ad_slot = "4900097504"; google_ad_width = 120; google_ad_height = 240; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </table> <div id="skin_footer"> <?php /* PHP FUNCTION */ /* Print the application owner's address and phone */ /* numbers here.
Offline
No problem, its wwwkitchenfoods.co.uk, the site is still pretty much the 'out of the box' layout
thanks
Offline
Are you working with a copy of the skin or the original? I don't see any thing that you have said that you put into the skin.php file so I can only think that your working with a copy and have not set that copy as the default skin or your changes are not being saved to the file because of permissions not be correct.
John
Offline
I had added it to the 'displays>skins>ecommerce skin, however I now realise it should have been in the CCP ecommerce skin, which now i remember is where i added paypal logos and they appear ok so I have added the code there but it still does not display??
Offline
I have it displaying at the very top of the site left-hand side, you are going to have to place it inside a row and in a new cell to keep it in the right hand column.
John
Last edited by dh783 (03-03-2009 19:52:50)
Offline
I couldn't see it at all on the site? anyway for now I've placed it on the footer along with paypal logos etc, this is ok but I need to display another vertical banner either to the left or right of the splash page or in the space under poplular pages as mentioned above.
What code would I need to create the new cell etc as above??
Otherwise how do I get it to display outside of the "page" like the footer does?
Sorry to be a pain!!
Offline
With you last code posting it should be better like this (I think)
<td id="skin_ct_rcol"> <?php /* PHP FUNCTION */ /* Include the frontend menus namespace. Pass RIGHT */ /* as the menu id here. */ $skinfunc->namespace($app_id,'femenus','RIGHT'); ?> <div class="skin_fenav"> <script type="text/javascript"><!-- google_ad_client = "pub-6020440203113736"; /* 120x240, created 01/03/09 */ google_ad_slot = "4900097504"; google_ad_width = 120; google_ad_height = 240; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </td> </tr> </table> <div id="skin_footer"> <?php /* PHP FUNCTION */ /* Print the application owner's address and phone */ /* numbers here.
John
Offline
Thats cracked it John, perfect! Thanks very much.
Any ideas on my other posting regarding my secure server?? the post title is "Help Please!"
Offline