homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

Frontpage & Include Files for Adsense
having trouble with my adsense include files

 3:12 pm on Jul 15, 2006 (gmt 0)

Each page of my site has an include page for an adsense leaderboard. However, when I change my ad colors or my adsense code within the include file, and then upload the include file nothing changes - the ads are still the original colors.

But if I reupload each of the pages that have the include in them it seems to work (but that sort of defeats the purpose, right?)

Am i missing something here?



 3:25 pm on Jul 15, 2006 (gmt 0)

Am i missing something here?

Yeah ;-).

Let's take a look at how FP's include file function works. Unlike server side includes or PHP which process includes on the server at the time of request, Frontpage processes the includes when you save the changed page -- all of the other pages on which the page is included are rewritten to reflect the change. When a request is made, that page is served without any other processing by the server.

Now, what it sounds like is that you're FTPing the changed include file and not using the FP publishing routine. In that case, while the new page is on the server, the other pages haven't been rewritten with the new information.

The easiest way to fix this is to use FP's routine to publish the site. It will automatically make the necessary rewrites.

If you have to use FTP you can do as you did and upload the page, but then you have to go back to Frontpage and open the live website. When open, choose Tools >> Recalculate Hyperlinks. That will run through the pages and update any changes.


 10:24 pm on Jul 16, 2006 (gmt 0)

Jim - A ton of thanks, that makes sense. You are right, I'm just doing straight FTP so frontpage is screwing it up. I'll lookin into your suggestions.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved