| Author |
Copyright Date Script or Snippet
|
|
| Chip off the O'l Proc 2005-01-21, 12:16 pm |
| I had a snippet or extension that automatically corrected the year for
copyright statements. I can't find it now.
Anyone got an idea where I can find it?
Thanks,
Chip
| |
| Chip off the O'l Proc 2005-01-21, 12:16 pm |
| Never mind- read the earlier post about snippets here:
http://www.dwfaq.com/Snippets/
and found what I was looking for.
Sorry to have a bother...
ttfn
Chip off the O'l Proc wrote:
> I had a snippet or extension that automatically corrected the year for
> copyright statements. I can't find it now.
> Anyone got an idea where I can find it?
> Thanks,
> Chip
| |
|
|
| Chip off the O'l Proc 2005-01-21, 12:16 pm |
| Chip off the O'l Proc wrote:
> Never mind- read the earlier post about snippets here:
> http://www.dwfaq.com/Snippets/
> and found what I was looking for.
> Sorry to have a bother...
Meant to say, Sorry to be a bother.
I have plenty of bothers already but can't seem to find a way to get rid
of most of them...
Chip
| |
|
|
|
|
|
|
| Chip off the O'l Proc 2005-01-21, 7:15 pm |
| Actually, I don't know anything about asp either.
I'm just trying to make clean code.
Seems you can't just paste an asp command into an html document and
expect it to work.
I guess I'm back to Javascript or the SSI.
Thanks,
chip
Dan Vendel *GOF* wrote:
> Chip off the O'l Proc wrote:
>
>
>
> No idea. Asp is either a fish or a tree in Swedish. That's about as much
> I know about it.
> Flattered you asked, though.
>
| |
|
|
>
> ..or a siser?
Getting pretty witty with the English jokes there, GOF. :-D
--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--
| |
|
|
| Chip off the O'l Proc 2005-01-21, 7:15 pm |
| So if I just change the page type to .shtml and stick that code in it
will probably work on most servers?
I've used alot of SSI just never with this particular client. Never
made it work and abandoned it for DW Libraries.
And BTW no sisers either...
Dan Vendel *GOF* wrote:
> Chip off the O'l Proc wrote:
>
>
>
> Look here: http://proformica.com/time.shtml
>
| |
|
|
| Mick White 2005-01-21, 7:16 pm |
| Chip off the O'l Proc wrote:
> So if I just change the page type to .shtml and stick that code in it
> will probably work on most servers?
> I've used alot of SSI just never with this particular client. Never
> made it work and abandoned it for DW Libraries.
<script type="text/javascript">
document.write(new Date().getFullYear());
</script>
No need for shtml, php, asp, cf suffices, or for libraries, ssi's,
templates; works with plain old .html (or .htm)
Mick
| |
| Dan Vendel *GOF* 2005-01-21, 7:16 pm |
| Mick White wrote:
> No need for shtml, php, asp, cf suffices, or for libraries, ssi's,
> templates; works with plain old .html (or .htm)
....but enabled javascript....
BTW: Are you really supposed to have a year beside the ©? I don't think
so, and I think the reason people have it is because ...people have it.
--
Dan Vendel - *GOF*
"Eagles may soar, free and proud, but weasels never get sucked into jet
engines."
Contact: http://www.proformica.com/contact.shtml or call/chat me via
Skype ID: danvendel, but DON'T ask questions that you can ask here! (get
Skype at http://skype.com)
Formmail tutorial: http://www.proformica.com/formmail-tutorial.shtml
Nested table demo: http://www.proformica.com/nested-table-demo.shtml
Basic HTML bulk mail tutorial: http://www.proformica.com/bulkmail.shtml
Search engine optimization: http://www.proformica.com/seo.shtml
| |
| Chip off the O'l Proc 2005-01-21, 7:17 pm |
| Mick & Dan,
I like Mick's solution because it's nice and tiny, and easy to work with.
I usually end up with Javascript on a page for something. I hate the
new SP2 "ACTIVE SCRIPTS" alert. Are there any good solutions people
have suggested? SSI seems obvious but it must be enabled.
I've tried SSI on a couple of client's sites hosted at GoDaddy and
couldn't make it work. GoDaddy Tech Support couldn't spell SSI so I
gave up.
Dan Vendel *GOF* wrote:
> Mick White wrote:
>
>
>
> ...but enabled javascript....
> BTW: Are you really supposed to have a year beside the ©? I don't think
> so, and I think the reason people have it is because ...people have it.
>
| |
| Joe Makowiec 2005-01-21, 7:17 pm |
| On 21 Jan 2005 in macromedia.dreamweaver, Chip off the O'l Proc wrote:
> I had a snippet or extension that automatically corrected the year for
> copyright statements. I can't find it now.
> Anyone got an idea where I can find it?
Colm Gallagher did an extension which had several different serverside
languages and formats you could do this in:
http://www.colmgallagher.com/new/dreamweaver.cfm
Look for 'Auto Copyright'.
--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php
| |
| Michael Fesser 2005-01-21, 7:17 pm |
| .oO(Chip off the O'l Proc)
>Mick & Dan,
>I like Mick's solution because it's nice and tiny, and easy to work with.
>
>I usually end up with Javascript on a page for something. I hate the
>new SP2 "ACTIVE SCRIPTS" alert. Are there any good solutions people
>have suggested?
If something has to be reliable you have to do it server-side. If you
can live with the fact that it will not work always then you can go with
a JS solution.
Micha
| |
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |