Editing footer info only once for all...

User 427394 Photo


Registered User
9 posts

Hello

I am fairly new here and I'm in the early stages of designing a site. I have a question concerning VSD 7 so I thought I'd tap in to the collective brain of the CC forum :D

If I've created a footer at the bottom of my homepage which contains copyright details, and this has been duplicated to every other page of the site, then when it comes to changing the year in it annually, how can I edit this information only once so that the change appears on every page of the site?

From my experience so far it appears as though this can be done with a flash object such as a menu which has been copied to every page. To my understanding the flash menu has one source for all the pages, so if that source menu is changed only once, then VSD appears to automatically update all the pages to show the updated menu. Every single page doesn't need to be updated, only the home page, which is a good thing if there are over 100 pages!

Is there any way something like this can be done to a 'text box' footer so that one edit will then be applied to all other pages?

I hope this makes sense!

Cheers
User 187934 Photo


Senior Advisor
20,271 posts

See if this will fit your needs.:)
http://progrower.coffeecup.com/copyright.html
You'll still have to paste to each page but it updates the date automatically.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 427394 Photo


Registered User
9 posts

Thanks for that Eric. I've tried pasting one of the first scripts into my home page via the html box. I positioned it near the bottom of the page, and within the 'body' in the html box, but on previewing it there was nothing there, and it also caused many elements on my page to disappear!

I'm not sure if I've done this correctly. I'm probably being a bit thick :D I presume that this script should show up on my page as my copyright text (to replace my present 'copyright text box') and then automatically update the year (after duplicating it to all other pages).

I have no idea why it caused havoc to the page when previewed.

BTW I need it to run from the year 2000. Will that make any difference to the script you have on your link?

Would really appreciate some further help here. Thanks.
User 187934 Photo


Senior Advisor
20,271 posts

Which one were you using? I just copied all the examples to one page and they appear perfect and don't force other content down.:)
I changed my first example to 2000.;)

Can you share a link?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 427394 Photo


Registered User
9 posts

No I don't have a link just yet. I'll need to upload to S-Drive for that.

I've just tried it again using the first '2000' script and its still doing the same thing. No matter where I place it on the page - top or bottom - it knocks out a number of other text boxes on the page, but not all of them! It actually appears quite random. Very strange. The copyright text doesn't show up either.

Not to worry, Eric. I'll do a bit of research into these scripts and html. I can't do much about it right now as I have other things I need to do. Thanks for letting me know that there is a way of getting the copyright year automatically updated via java. It's just getting it to work properly.

Thanks mate ;)
User 187934 Photo


Senior Advisor
20,271 posts

Do you have any other scripts or custom HTML box's on the page? Test it on a page with only a couple of text box's to see if it still does it.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

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.