by-expession

Expression Web Resources

Variables and Substitutions

Latest post 10-25-2007 9:49 PM by cdwise. 2 replies.
  • 10-01-2007 6:44 PM

    Variables and Substitutions

    In FP under Site Settings you could create a variable and assign a value to  it, then use that variable on any page.  It's a lot like includes where you can create a page and insert or include that reusable content at various places.  An example of a variable might be

    CopyrightNotice  "Copyright 2007 by Tom Jones.  All Rights Reserved."

    In FP the example would be

     <!--webbot bot="Substitution" S-Variable="CopyrightNotice" -->

    How do we do that in EW?

    Paul 

     

  • 10-25-2007 1:18 PM In reply to

    • Tina
    • Top 10 Contributor
    • Joined on 12-22-2006
    • UK
    • Posts 42

    Re: Variables and Substitutions

    Variables in Expression Web are under Page Properties in the Custom Tab same as in FP. It is Parameters that is under Site Settings in FP. The subsitution bot while it can be used as a code snippet cannot be added or edited in EW because it is a bot as far as I can determine. I cannot find parameters within Expression Web unlike variables probably because its' related to the subsitution bot. I did find that bot useful ... you should go to connect and campaign for it to be kept if you really want it.

    This might be helpful however Kaosweaver addins FP_dateInsertion, FP_BreadCrumbs, FP_copyright, FP_dateInsertion, FP_randomText

    Tina

  • 10-25-2007 9:49 PM In reply to

    • cdwise
    • Top 10 Contributor
    • Joined on 12-22-2006
    • Houston, TX
    • Posts 532

    Re: Variables and Substitutions

    That substitution include relies on the FPSE bots. You can use it by hand coding or copying from an exisitng site or use a standard design time include (using either the code snippet method or using the free add-on available on the http://panemanager.com site)

    Something like a footer though I'd simply put in the DWT or Master Page in a locked region.

    Cheryl D Wise MS MVP Expression Instructor: starttoweb.com

Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems Sponsored by: Start to Web
@ 2005-2008 Cheryl D Wise