Can you link to text?

Hello again...
Okay, here's the scoop: I'm building some websites which will
be expanding in size over the coming months and years. Right now I
have a footer with copyright info, it's text controlled ny an
external style sheet. Works lovely.
So let's say that I get into these pages, oh, 50-100 or more
pages and suddenly I realize that I have to change the text in the
footer to read differently. Don't ask why, please.
Can I link to a bit of text, stored elsewhere, just like a
photo or file, that will deliver the copyright info, just one
simple set of text that I can change once and affect a global
change on my large websites? I'd rather do it with text as opposed
to a graphic.
Any takers? It's late here in Las Vegas (12:31am) and the cat
on my lap won't tell me if he knows how to solve this issue.
Cheers all,
Wordman

Now Now! credit where credits due- both books on PHP and
dreamweaver- I
spent my money !;-)
Ian
"Walt F. Schaefer" <[email protected]> wrote in
message
news:[email protected]...
>> Incidentaly it's not that I'm clever I stole/ robbed
the code from an
>> extremely usefull publication called PHP for
Dreamweaver by someone
>> called Powers ;-)
>
> At least give yourself credit for being clever enough to
buy & read
> David's book. :-)
>
> --
>
> Walt
>
>
> "Ian Edwards"
<[email protected]> wrote in message
> news:[email protected]...
>> Hi
>>
>> I use it all the time
>>
>> add a line similar to this in your footer area
>>
>> <?php include("copyright.php"); ?>
>>
>> then create a file called copyright.php with the
following code - no
>> other code in the file
>>
>> <p>&copy;
>> <?php
>> $startYear=2006;
>> $thisYear = date('Y');
>> if ($startYear == $thisYear) {echo $startYear;}
>> else {echo "$startYear-$thisYear";} ?>
>> Junction24 Ltd &amp; Edwards Micros All Rights
Reserved<br />
>> </p>
>>
>> If you create a template inside say a footer div you
can then copy the
>> footer div with the include inside it and use find
and replace to add it
>> to all your pages.
>>
>> Then if you just change the copyright.php it will be
reflected on every
>> page.
>>
>>
>> Incidentaly it's not that I'm clever I stole/ robbed
the code from an
>> extremely usefull publication called PHP for
Dreamweaver by someone
>> called Powers ;-) Recommend it! introduced me to php
and now I'm an
>> Expert!!!!;-) Also qualified as a liar
>>
>> HTH
>>
>> Ian
>>
>> "Wordman-GL" <[email protected]>
wrote in message
>> news:[email protected]...
>>> Hello again...
>>>
>>> Okay, here's the scoop: I'm building some
websites which will be
>>> expanding in
>>> size over the coming months and years. Right now
I have a footer with
>>> copyright
>>> info, it's text controlled ny an external style
sheet. Works lovely.
>>>
>>> So let's say that I get into these pages, oh,
50-100 or more pages and
>>> suddenly I realize that I have to change the
text in the footer to read
>>> differently. Don't ask why, please.
>>>
>>> Can I link to a bit of text, stored elsewhere,
just like a photo or
>>> file, that
>>> will deliver the copyright info, just one simple
set of text that I can
>>> change
>>> once and affect a global change on my large
websites? I'd rather do it
>>> with
>>> text as opposed to a graphic.
>>>
>>> Any takers? It's late here in Las Vegas
(12:31am) and the cat on my lap
>>> won't
>>> tell me if he knows how to solve this issue.
>>>
>>> Cheers all,
>>>
>>> Wordman
>>>
>>>
>>
>
>

Similar Messages

  • Can you calculate multiple text boxes to achieve a total value?  If so how is that done?  I am trying to create a order form where multiple items can be purchased but i would like the values of each item to calculate so I can achieve a total value.

    Can you calculate multiple text boxes to achieve a total value?  If so how is that done?  I am trying to create a order form where multiple items can be purchased but i would like the values of each item to calculate so I can achieve a total value.

    Hi sashby51,
    I've moved your discussion to the PDF Forms forum--the folks who visit this forum regularly should be able to point you in the right direction.
    Best,
    Sara

  • Can you watch a texted video sent to your i-phone, on your mac computer?

    can you watch a texted video sent to your i-phone, on your mac computer?

    Assuming home sharing is enabled, the rental will appear on your Apple TV once it has fully downloaded on your Mac.

  • Can you link a app to a command?

    Hello guys,
    I was wondering today, "Can you link a app to a command?" like if i do Command+B i open my twitter app, is this possible and if so how??
    Dutchkid00

    Apple has yet to announce the licensing requirements for backing up for Lion.  We'll know by the end of July if that's advisable or possible.

  • Can you block a text message sender?

    Can you block a text message sender?

    Not from the phone itself. Contact your carrier. In the U.S., all the major carriers offer some type of blocking for calls and text.

  • Can you convert your text messages to your computer?

    Can you convert your text messages from your phone to your computer?

    Text messages are included with your iPhone's backup, which is updated by iTunes as the first step during the iTunes sync process. There are utilities such as this one that provide for extracting this and other data from your iPhone's backup for access on your computer for reading, printing, archiving, etc.
    http://mobilesyncbrowser.com/
    There are other utilities such as this one which is compatible with a Mac for extracting select data direct from the iPhone.
    http://www.ecamm.com/mac/phoneview/

  • Can you 'link' an image state icon, across a folio.....?

    Here's a thought for you all.....Can you 'link' an image state icon, across a folio.....
    for example a "blinking" 'tap me' 2 state icon, that if you alter, it alters across the whole folio via links??
    Object styles?

    For each icon that you want to use in your email signature:
    locate icon on internet webpage - right-click on the icon and select 'Save Image as'. Save the icon to your computer in a suitable file.
    Then in Thunderbird
    insert > Image
    choose file - locate the saved icon on your computer
    click on Link tab and enter the www etc webpage link info
    click on OK to insert image with link.
    Codewise, where you have the actual icon you would need something stating where the icon is located:
    eg
    <a href="https://www.facebook.com/pages/Ubiquia/146019678805381" target="_blank">
    path to image saved on computer included in within <> </a>

  • Can you move between text boxes without using the mouse?

    Can you move between text boxes without using the mouse?  When I have mutliple text boxes as a template, and then need to move from one to the next can I do it without having to use the mouse to click the next box??

    Jon,
    Option-Tab will sequence through the tables.
    Jerry

  • Can you change graphic text at runtime?

    can you change a text graphic item at runtime? There's no property for the text itself, or a visible property.

    No - use a Display Item - or put the text on a Stacked canvas and you can then hide the whole lot.

  • How do you link 2 text boxes in new pages

    How do you link two text boxes in the new pages.  The old one was much easier to use.

    I think this is impossible! Ive been trying today and I couldnt do it. Then I opened up an old document that had text linking in it and I got a message telling me that the text boxes were now unlinked!  Why would you remove that? For me this software is now useless. How on earth do I get my old version back?
    <Edited by Host>

  • Can you link / connect sony smartband to other apps such as : endomodo, MyFitnessPal, MapMyRun ?

    Can you link or connect sony smartband with/to other apps such as : Endomodo, MapMyRun, MyFitnessPal ? Is Does the sony smartband work for the lifelog ONLY? Thank you!

    The Core SmartBand is being handled by Sony Mobile team. Please visit Sony Mobile Community  here for further assistance. Thank you! 
    If my post answers your question, please mark it as "Accept as Solution"

  • How can you link up online files to a offline file

    I have asked this question before, but did not get the answer I needed. So I though for a bit and came up with a more understand able question and how to explain it and here it is:
    What I want to know, is how can you link an online html link to an offline swf file? Now this is needed because people need to download the swf file in order to use it, I have tried this:     file://swf/Lr1.swf (link), but it doesn't work it comes up with not found. So can any one help?

    drunkmafia wrote:
    I have asked this question before, but did not get the answer I needed. So I though for a bit and came up with a more understand able question and how to explain it and here it is:
    What I want to know, is how can you link an online html link to an offline swf file? Now this is needed because people need to download the swf file in order to use it, I have tried this:     file://swf/Lr1.swf (link), but it doesn't work it comes up with not found. So can any one help?
    Personally I think you are going about this all wrong.  I believe someone recommended to you in a previous post to look into the HTML5  ( http://forums.adobe.com/thread/874917 ) you need to end up creating the site with Adobe AIR as opposed to the way you are going about doing it.  That would be creating an application like Tweetdeck that connects to the internet and uses interactive elements.  http://www.adobe.com/devnet/air.html
    If you want to link a file within a Flash document you would receive a quicker and more in depth answer in the Flash forum as it will require ActionScript.
    http://forums.adobe.com/community/flash
    It sounds like you have a ton of ideas, but your lack of information suggests that 1. you don't have all the knowledge necessary to get the project off the ground and 2. your reluctance to share it suggests that you have an idea that you feel the program is proprietary.  Given that this is the case you might be best served looking for an experienced Flash or AIR developer to help get your ideas going in motion. There is nothing wrong with trying to learn but the information you are giving up to go on is very broad and unfortunately it does not appear that you are getting the answers you are looking for.

  • Can you link a iPad and iPhone together similar to a go pro

    Can you link a iPad and iPhone together similar to a go pro

    You mean view a live feed of the iPhone on the iPad?
    If so, there are 3rd apps that will let you do that in the store.
    https://itunes.apple.com/en/app/icam-webcam-video-streaming/id296273730?mt=8

  • Can you link two iPhones, one on pay monthly the other on pay as you go, to the same iTunes account? As once sync'd the pay as you go looses its service provider??

    Can you link two iphones to iTunes account, one is pay as you go the other is pay monthly on different service providers, the pay as you go when sync'd can't find it's service provider ??

    The iTunes account has nothing to do with the cellular service provider. So you should be able to have both phones on the same account. What problem do you have with it?

  • For iphone users with att, can you block incoming texts all together? After paying $20 for data i dont want to pay as i go/pay more for texts

    For iphone users with att, can you block incoming texts all together? After paying $20 for data i dont want to pay as i go/pay more for texts

    SMS is exchanged over the same network as calls - no data involved.
    MMS requires data.
    iMessage requires the same as email - internet access via an available wi-fi network or via your carrier's cellular data network.
    You can disable SMS/MMS altogther with your account by requesting this with AT&T. You can turn iMessage off unless your iPhone is connected to an available wi-fi network.

Maybe you are looking for