Area Changes - Post ID 240800

User 458539 Photo


Registered User
1,228 posts

Smart guys of the forum

http://tippingproductions.com/tpc/demosite11/

At the bottom in the footer there is an area that I would like to be able to change globally - not just the font style etc of the copy but the copy itself. There is a store hour listing and that can change and would like to be able to do that once (when it changes) as this is going to be in excess of 135 pages. I know its a simple copy and paste (this is my 3rd site for him) but if its easy it would be nice!

I think this is possible but beyond my knowledge. Been googling the but I don't think all the variations I put are the right description.

Thanks in advance

Byron
User 10077 Photo


Senior Advisor
1,034 posts

If your pages are .php or if you set up the server so that PHP will execute within html pages, then the solution is easy.

1. Create a page called storehours.php and put the code for the hours there.
2. In the place where the hours should appear, add the following code:
<?php include('storehours.php'); ?>


Whenever you make changes in the one file (storehours.php), it will show up on all pages that have the code snippet from #2 above.
How-To Instructions for Coffeecup Users (tutorials, examples, and downloads)
http://usconsumernet.net/help-for-coffe … -users.php

Personal & Specialized Help for Coffeecup Users
Email me at cchelp@uscni.org or call 865-687-7698
User 458539 Photo


Registered User
1,228 posts

Brian

Thanks for the advice - I host Linux with Go Daddy and use the coffee cup form maker (which is php) I am thinking that my server can accept php. Does it?

Thanks again

Byron
User 10077 Photo


Senior Advisor
1,034 posts

GoDaddy with Linux has php. Just remember that your web pages need to be .php rather than .htm.
How-To Instructions for Coffeecup Users (tutorials, examples, and downloads)
http://usconsumernet.net/help-for-coffe … -users.php

Personal & Specialized Help for Coffeecup Users
Email me at cchelp@uscni.org or call 865-687-7698

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.