PowerUpMySite.com Forum Index

Forum Index | PowerUpMySite.com Home Page
Log in Register FAQ Search PowerUpMySite.com Forum Index

Install on various pages in our site not working

 
Post new topic   Reply to topic    PowerUpMySite.com Forum Index » Support
View previous topic :: View next topic  
Author Message
ricky7106



Joined: 04 Aug 2008
Posts: 4

PostPosted: Mon Aug 04, 2008 12:59 pm    Post subject: Install on various pages in our site not working Reply with quote

I am probably being very dumb here! Sorry if I am stating obvious. I am trying to do the install on our site i want to install one ad on www.mainsite.com and another on www.mainsite.com/subsite i have followed the install but the ad is not working with a different ad on each page.

The install guide says "To use different ads on different pages within the same directory on your web server, create subdirectories for each of the ad configurations, save the PageCurlProv2.js file in each of those directories and modify each file to your needs. Then, reference the appropriate .js directory and file in the bit of code above."

Can you explain in total idiot form exactly what that means - I am not really a coder or php person. so totally need to know what folders i need to creat and what files i need to put in what and where.

I am sorry if I seem daft.

Thanks in advance guys




Last edited by ricky7106 on Wed Aug 13, 2008 4:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
PowerUpAdmin
Site Admin


Joined: 23 Feb 2007
Posts: 189

PostPosted: Mon Aug 04, 2008 4:20 pm    Post subject: Reply with quote

Hello. Basically, all it's saying is that you'll need to use two separate JS files. So, for example, you could put one in your root directory (shoutlocal.com) and another in your "maidenhead" directory. Then, you can set up each individually, to reference separate ads. Within your website code itself, you would put the standard script:

<script type="text/javascript" src="PageCurlProv2.js"></script>

This way, any HTML files within your "maidenhead" directory will find the "PageCurlProv2.js" file within the maidenhead directory, and any HTML files within your root directory will find your PageCurlProv2.js file within your root directory.

Does this help?



_________________
PowerUpMySite Staff
Power Up Your Site the Easy Way
http://powerupmysite.com
Back to top
View user's profile Send private message Send e-mail
ricky7106



Joined: 04 Aug 2008
Posts: 4

PostPosted: Mon Aug 04, 2008 9:15 pm    Post subject: Reply with quote

Ok here is how we are set up

we have shoutlocal.com with an index file in the root that html file calls on a template folder which house another folder with the templates for the home page in it with a header.tpl file - the page curl for the home page is on that header file and works

we then have from the home page www.shoutlocal.com a link to shoutlocal.com/maidenhead this folder too has an index file that calls on the same template folder in which the maidenhead folder is in which too has a header file in it.

It currently has a page curl on it but its the same as the home page not the different one.

I have tried lots of different ways


Back to top
View user's profile Send private message
PowerUpAdmin
Site Admin


Joined: 23 Feb 2007
Posts: 189

PostPosted: Mon Aug 04, 2008 10:27 pm    Post subject: Reply with quote

Ok, I can see why you are having difficulty. The script is actually the same for both places (shoutlocal.com/index.php). Your CMS program is delivering different content for the same index.php page. This makes the process a little trickier, but still possible. There are 2 things to try. First, see if you can change the header files or body text (I will explain). If that doesn't work, we may need to come up with some sort of javascript solution. It would be much easier if the header files were editable and you could do it that way.

I noticed that when I "View Source" on the maidenhead site, there are several links which are inside a "Maidenhead" directory. For example, http://www.shoutlocal.com/template/Maidenhead/images/home.gif.

The concept would be to place a copy of your PageCurlProv2.js file within that Maidenhead directory, and then use the following script to include it in the Maidenhead page:

<script type="text/javascript" src="template/Maidenhead/PageCurlProv2.js"></script>

Does this make sense, and does this help at all? It would just mean:
1. Copy PageCurlProv2.js into the "template/Maidenhead" directory and modify it so it references your Maidenhead ad.
2. Edit the body text of the Maidenhead section to reference "template/Maidenhead/PageCurlProv2.js" rather than just "PageCurlProv2.js'.

Please let us know how it goes.



_________________
PowerUpMySite Staff
Power Up Your Site the Easy Way
http://powerupmysite.com
Back to top
View user's profile Send private message Send e-mail
ricky7106



Joined: 04 Aug 2008
Posts: 4

PostPosted: Tue Aug 05, 2008 12:20 am    Post subject: Reply with quote

I shall try that 1st thing in the morning - thanks for being so helpful - its 1.20am here now so I will let you know how it goes in the AM

Thx


Back to top
View user's profile Send private message
ricky7106



Joined: 04 Aug 2008
Posts: 4

PostPosted: Tue Aug 05, 2008 7:10 am    Post subject: Reply with quote

Thankyou - Thankyou - Thankyou - Thankyou - Thankyou

In the last few weeks I dont think I have ever learnt so much - from coding php to better html

IT WORKS! - Brilliant

Thanks for being so patient - and so explanatory. the page curl looks great on our site

Thankyou


Back to top
View user's profile Send private message
PowerUpAdmin
Site Admin


Joined: 23 Feb 2007
Posts: 189

PostPosted: Tue Aug 05, 2008 2:16 pm    Post subject: Reply with quote

Thanks for letting us know. Smile Best of luck with your website!



_________________
PowerUpMySite Staff
Power Up Your Site the Easy Way
http://powerupmysite.com
Back to top
View user's profile Send private message Send e-mail
Tesyexape



Joined: 29 Jan 2010
Posts: 1
Location: United States

PostPosted: Fri Feb 26, 2010 11:22 pm    Post subject: Install on various pages in our site not working Reply with quote

i have sent some pms in the past 2 weeks that are not in my sent box... i was woundering whats going on here. i have not received any replys from them either... are my pms not being sent?


Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    PowerUpMySite.com Forum Index » Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001- 2004 phpBB Group
Theme created by phpBBStyles.com | Themes Database