How (best) to include links in a template?

I'm creating a ~55 page site, where most of the structure of
the site (3 nav bars, etc.) will be similar throughout. I know the
client will change the order and names of the links, as well where
they point. Yet they want to have it mostly created first.
I thought working from a template would be the best, but I
would then be unable to disable the link of the current page, say,
the "home" button when I'm already on the home page etc. Can anyone
advise a work-flow that would allow me to just edit something once
and propagate it throughout when I need to, yet not when I don't?
Thank you so much!
Nick

Take a look at my divaGPS for this. With divaGPS added to
your template,
you can freely change the menus, their links, whatever you
want, and
divaGPS will still highlight AND disable the link on the the
current
menu item automatically when the page is viewed in the
browser.
fyi divaGPSfree might be adequate for you except for the fact
that it
will not disable the current menu item's link, which is a
feature you
requested. Some people feel it is okay merely to force the
cursor (via
css) back to the default pointer. If you agree, then
divaGPSfree might
be adequate. However, if you prefer to truly disable the
current link,
then divaGPS is what you'd need.
Either work perfectly in Templates or their Children with now
special
steps needed.
http://divahtml.com/products/divaGPS/current_menu_location.php
http://divahtml.com/demo/index.php
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

Similar Messages

  • How best to include a copyright in JavaDoc?

    Hello.
    I am wondering how best to include a copyright notice, standard legal boilerplate, etc. in JavaDocs.
    I realize that many developers include the text directly in a JavaDoc comment (perhaps using a template in their IDE for generating that automatically), but that seems less than ideal to me. Having a long boilerplate takes up a lot of unnecessary space in source files; with several hundred or thousand source files, that can be a big waste. Also, if the notice needs to be changed or updated, than going back to find and edit every instance of the notice can be challenging, even with a global search and replace. What I would like is basically the equivalent of an "include" tag that will include a single copyright notice wherever it appears, but JavaDoc does not appear to have a suitable feature.
    The initial approach I have taken is to define a custom taglet with this ability. I am also playing with a custom annotation for noting copyrighted code as an additional reference to the copyright notice. The basic structure I have so far looks like this, in org.sample.legal:
    - Copyright.java (interface defining a few constants such as default copyright date, default owner, etc. as well as the full default copyright notice)
    - CopyrightAnnotation.java (annotation type for marking code as copyrighted)
    - CopyrightTaglet.java (taglet for adding "@copyright" tags in JavaDoc)
    Here's what the top of CopyrightTaglet looks like, to give a better sense of what it can handle:
    package org.sample.legal;
    import com.sun.tools.doclets.Taglet;
    import com.sun.javadoc.*;
    import java.util.Map;
    * Represents the "@Copyright" tag.  If empty, the default copyright notice
    * will be displayed.
    * <p>This tag can be used in any overview, package, class, or interface
    * {@link com.sun.javadoc.Doc}.  This is not an inline tag.</p>
    * <p>The tag can display a default value, the default value modified with
    * a different copyright date, or a completely custom value.  To display the
    * default value, use "@Copyright" alone.</p>
    * <p>To specify a different date, enter the copyright years separated by
    * dashes (-) or commas (,); optional spaces are allowed.  For example, the
    * following will be recognized as valid dates:</p>
    * <ol>
    * <li>"@Copyright 1999"</li>
    * <li>"@Copyright 1999, 2000"</li>
    * <li>"@Copyright 2001-2003</li>
    * <li>"@Copyright 2001-3, 2005</li>
    * </ol>
    * <p>To display a completely custom value, simply enter whatever text is to be
    * displayed after the "@Copyright" tag.</p>
    * <p>The text is displayed in italics to remind the reader of its
    * importance.</p>
    * @Copyright
    @CopyrightAnnotation
    public class CopyrightTaglet
    implements Copyright, Taglet {
    private static final String NAME   = "Copyright";
    private static final String HEADER = "Copyright:";The "@Copyright" tag by itself produces output (based on the constants in the Copyright interface) like this:
    Copyright:
    Copyright &copy; 2008 by Sample Organization. All rights reserved.
    I have this all working fine, but my main question concerns whether this is a reasonable approach. Is there a better approach to this problem of making a single copy of the copyright text available everywhere? What other approaches are common?
    Thanks for any advice.
    Edited by: Richard.J.Barbalace on Jun 25, 2008 9:16 AM
    Edited by: Richard.J.Barbalace on Jun 25, 2008 9:18 AM
    Edited by: Richard.J.Barbalace on Jun 25, 2008 9:20 AM
    Edited by: Richard.J.Barbalace on Jun 25, 2008 9:22 AM

    Your approach lets you choose which classes, interfaces and members are copyrighted, or apply different copyrights for different parts of the source code. But in many cases (such as the Java API), the entire published API gets the same copyright notice. So we put the notice in the footer of each page:
    -bottom '<font size="-1">Submit
    a bug or feature<br><br>Java is a trademark or registered trademark of Sun Microsystems,
    Inc. in the US and other countries.<br>Copyright 1993-1999 Sun Microsystems, Inc.
    901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font>' ^
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#commandlineexample
    -DOug

  • How can I include coltrl in a template?

    I want to include a colctrl component in my template. I could include a parsys that has the colctrl component enabled and it's specific layouts defined in the design, but then that leaves the users the ability to add items outside of the colctrl.
    My approach is to include the colctrl directly on the template with a cq:include.
    <cq:include path="banner" resourceType="foundation/components/parsys/colctrl" />
    When I do this, I am able see the components edit bar on the page, and I can select the layouts as needed, but it doesn't generate the parsys_column areas to add content.
    Is there another approach I should try? Is there another way to accomplish this? The idea here is to give the user options on the way the columns are laid out in this section, but not be able to add anything outside of these columns.

    The best way to do this os edit your template node do receive a colctrl. An example:
    <?xml version="1.0" encoding="UTF-8"?>
    <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
        jcr:description="Page with a parsys"
        jcr:primaryType="cq:Template"
        jcr:title="Page with a parsys"
        allowedPaths="[/content(/.*)?]"
        ranking="{Long}100">
        <jcr:content
            jcr:primaryType="cq:PageContent"
            sling:resourceType="fiat-portal/containers/empty-container">
            <banner
                jcr:primaryType="nt:unstructured"
                sling:resourceType="foundation/components/parsys">
                <colctrl
                    jcr:created="{Date}2013-07-05T11:06:16.396-03:00"
                    jcr:createdBy="admin"
                    jcr:lastModified="{Date}2013-07-05T11:06:16.396-03:00"
                    jcr:lastModifiedBy="admin"
                    jcr:primaryType="nt:unstructured"
                    sling:resourceType="foundation/components/parsys/colctrl"
                    controlType="start"
                    layout="2;cq-colctrl-lt0"/>
         </banner>
        </jcr:content>
    </jcr:root>
    The colctrl needs to be inside a parsys component. The template node "page" in the geometrix-outdoors, (/apps/geometrixx-outdoors/templates/page) is an example of a template with columns.

  • How best to include additional on-page info (*as well as*) page numbers in a Table of Contents?

    Hi all -
    I'm creating a directory / listings document. At the end of the publication, I need to create a "quick reference" section - with an alphabetised listing of each entry, some key info from each entry, and the page number for each entry.
    I've created a unique paragraph style for each of the lines that I need to include here - so the Table of Contents is picking them up successfully.
    However, I'm struggling to style the outputs of the Table of Contents the way I need: I want a tab between each of the included paragraph styles that are returned for each entry, and then a line return at the end.
    So…
    First Hotel name -> Star Rating -> Number of Bedrooms -> etc etc
    Second Hotel name -> Star Rating -> Number of Bedrooms -> etc etc
    Instead of…
    First Hotel name
    Star Rating
      Number of Bedrooms
       etc
    Second Hotel name
    Star Rating
      Number of Bedrooms
       etc
    Any suggestions?
    One important point to note - I'm using CS5.5… an upgrade is in my future, but I want to finish this project first! (Don't want to switch mid-stream.)
    Thanks!

    Thanks. I went there and bulleted align by decimal, but it didn't work on the page. For one thing, when I highlight that page, for some weird reason the numbers from 9 up DO NOT HIGHLIGHT. !  Only the text following those numbers highlight, altho all the other numbers and text following 9 highlight!
    Don't know why it would have this weird situation! Seems like a flaw in the design.
    I tried moving the little blue cursors above, but I'd need to move it half a step either way to bring those one-digit number decimals in alignment with the rest. For some reason the cursors will ONLY move a full step! So they're out of alignment no matter what I do. Darn!
    Kristen
    gemsandbeyond at aol dot com

  • How to change text + links in footer of existing template

    Hello,
    I need to change the text and links on the template footer that goes to all TABs. (Home, Articles, About Bluemont, BCA, Contact Us).The file is named NavigationBlank.dwt."
    This footerwas created to link visitors to our "join or contribute" page on another site. Now I want to stop using that external site and build the capacity to take memberships within the BluemontVA.org site itself. However the template footer can't be changed so easily as text on a page.
    I am webmaster for a local nonprofit (web address =  www.BluemontVA.org), but work on a website I inherited. It is a wonderful design, but I don't fully understand it. I have not worked with templates before.
    I have read O'Reilly on "Adding a basic editable region"  in a template, but need further help.
    A couple questions worry me:
    How much damage may I have done already by trying? For example, I do seem to have removed the old text/links and added a new text message on the NavigationBlank.dwt page -- but these changes do not show up on the other TAB pages.
    Also, when I place the cursor n the design side  it no longer tracks to the corresponding spot on the code view. (the cursor shows up in code view way above where it is supposed to be by the text). This is true for the home page and also for several pages I took a look at.
    Can I follow instructions to change the template from any of the pages on which it appears? Or do I have to be at NavigationBlank.dwt?
    Thanks for any help or advice you can provide.

    I'm confused.
    Working With Dreamweaver Templates (.dwt files).
    PART 1
        1. Create a page with all the sitewide elements (common header, footer, sidebar,  CSS styles, etc..) that you will need for your project.   This requires some careful pre-planning even for small web sites.
       2. Validate your code & test this prototype page in all major browsers. 
       3. When you're completely satisfied with the page layout, SaveAs Template.   DW will save this as a .dwt file in a site folder called Templates.
       4. DW will ask you to add Editable Regions for stuff that will change from page to page.   Do this and SAVE.
       5. Close your Template.dwt file.
    PART 2
       1. File > New Page > from Template.  Select the template you wish to use.  Hit OK.
       2. This is a child page.  An exact duplicate of your Template however you can only edit content within editable regions.  Everything else is locked.
       3. SaveAs index.html (your home page) or some-other-filename.html.
    PART 3
       Repeat PART 2 for each additional site page required.
    PART 4
        1. Open your main TEMPLATE file and add a navigation menu with links to your site pages.  Do not put this into an Editable Region!  If you do it won't show up on child pages.
       2. SAVE.
       3. DW will ask if you want to populate changes to child pages.  Hit yes.
       4. Publish all site pages to your server.
    PART 5
       If you should ever need to edit your TEMPLATE .dwt file, Repeat PART 4.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How best we can use the Rollback and RollbackAlways mechanism in Visual Studio Release Management Template

    Hello All,
    We need a clarification on Rollback and RollbackAlways in Release template.
    We checked a scenario for Rollback and RollbackAlways:
    In Release Template, we have the first activity as “Configure Application Pool” and then followed by a rollback action of “Create Application Pool”
    and “Create Web Site” then followed by "Code Deployment" via TFS build.
    We tested with 2 scenario’s:
    With App Pool and Web Site already existing: when triggered the build, configure
    app pool succeeded, then Rollback action was skipped (as previous action was successful), finally deploy the code executed (code deployed) and build got succeeded.
    Deleted App Pool and Web Site: when triggered the build, configure app pool failed (as no app pool existed), Rollback action executed (as previous action failed) – created app pool and web site then finally
    deploy the code executed (code deployed)
    But build failed (Error: Configure app pool action failed).
    Ideally the build should succeed as the roll back action got executed and code deployed successfully.
    Please correct us if our understanding is wrong.
    Also, Kindly let us know how best we can use the Rollback and RollbackAlways mechanism in Release Management
    Looking forward for your positive response.
    Thanks in advance.
    Regards,

    Hi Shashank,
    Rollback Always runs if any of the actions in the template failed. Rollback will run if action just above rollback fails or if any of the actions below the Rollback fails.
    Article here (http://www.incyclesoftware.com/2014/03/understanding-rollbacks-release-management/) clearly explains how Rollback and Rollback
    Always work.
    I think you come across this issue since you are using build to do the "code deployment" action. You should use the release template to do that. 
    As far as I know you cannot use Rollback to achieve condition check (App pool exist in your case) action.
    For this you can create your own Power Shell component (which checks if the app pool exist and is not create it) and add it as a tool in RM server (RM Server Inventory).
    Another option is you can follow the workaround in below thread "Answer" quoted below. That is execute Remove app pool regardless if it exist or not (which does not fail) and then create app pool.
    I was able to get it working by removing the app pool which does not fail if it doesn't exist. Removing then creating seems the long way around but it works.
    Flow:
    Remove Application Pool
    Create Application Pool
    https://social.msdn.microsoft.com/Forums/en-US/43bf21c8-e233-4e58-a5a8-2592b78bc466/vs-2013-release-management-create-application-pool-fails-if-it-already-exists?forum=tfsbuild
    Cheers!
    Chaminda

  • How do I include a link to a file on my server, in an outgoing message?

    Hi,
    I manage an office with several desktops and a Mac Pro running Leopard Server. Users share files over afp. I want users to be able to write emails that include links to files on the server. Is there a way they can do this without laboriously typing in the entire path to the file? e.g., afp//:12.34.56.78/NetworkDrive/Project/Folder/This Is My File.doc
    ?

    Hi,
    Creating the alias on the desktop works fine, and accessing the file/folder from the desktop works fine too. And if the alias is to a file, I can drag it into a new Mail message and that works ok.
    But if the alias is to a folder, dragging it into a Mail message window results in a 507KB attachment that, when clicked, says 'The document "NAME" could not be opened.'
    By the way, dragging any alias onto the Mail dock icon in order to create a mail message from it, results in an entirely different behavior: rather than sending an alias, it send the original file/folder.

  • How to make link in a template editable in a page?

    I am new to Dreamweaver. I'm trying to create a link in a
    template where the URL is editable in all pages derived from that
    template. I tried using
    Modify->Templates->Make Attribute Editable..., but the
    link still cannot be edited in any of the pages. Can someone help
    me with this?
    Thanks,
    PeterM

    On Wed, 18 Jun 2008 17:11:41 +0000 (UTC), "PJMonty"
    <[email protected]> wrote:
    > Per Gary's suggestion, I tried
    Modify->Templates->Make Attribute
    >Editable... and made the HREF attribute editable,
    but again, when I went to
    >an updated child page, I still get the red circle with a
    slash cursor that
    >prevents me from editing the link. I was able to modify
    it by using
    >
    Modify->Template Properties..., but that's a pretty
    indirect method. Is
    >there not some way to simply have a link that is on a
    template, but that also
    >allows you to simply click on the link in the child page
    and modify the URL?
    Sorry, that's just the way editable attributes work.
    > I'm just trying to have a "Next Page" link at the bottom
    of the template so I
    >can have a series of related pages link to each other.
    For example, I have a
    >link in the menu on the left of the main page which, when
    clicked, leads you to
    >a topic. That topic might span 4 or 5 pages. I want a
    link at the bottom of
    >each page in a topic that says "Next Page" which lets the
    viewer click to the
    >next page. I want that link to be editable on child
    pages. Not all pages need
    >the "Next Page" link, so I need to be able to make it
    invisible on some child
    >pages.
    Just put the link inside an editable region. The link will
    appear in
    new pages made from the template, but you can edit or delete
    the link
    in those child pages.
    Gary

  • How to remove phantom links in templates

    I like the concept of templates, but their application I'm finding too buggy.
    A common problem I have is that when I make a change to a template for a link, only some of the pages show the changed link, while others don't.
    I was reading about different relative paths and I believe I want site-root relative paths for the whole site instead of the default document relative paths.
    When I change a link from  .../test1.htm   to .../test1a.htm to the template, shouldn't every page using the template now automatically use the new anchor path?
    Where is the cached path info stored that is telling one page to use the new version of the template (ie test1a.htm), while another page is using an old link that no long exists on the template (ie: test1.htm)
    When I make a change to a link on a template and re-upload it (or even on the local machine, re-save it), I would like all the pages on the site to use the new links I made to the template instead of the old.
    Does anyone have a quick and reliable solution?
    Andy

    Here's the code for it (still a wok in progress) ...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Concept 22</title>
    <!-- TemplateEndEditable -->
    <meta name="robots" content="index, follow" />
    <meta http-equiv="Expires" content="0" />
    <meta name="resource-type" content="document" />
    <meta name="distribution" content="global" />
    <meta name="copyright" content="Copyright 2011" />
    <meta name="rating" content="general" />
    <link href="../bev.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../p7tmm/p7TMMscripts.js"></script>
    <link href="../p7tmm/p7TMM06.css" rel="stylesheet" type="text/css" media="all" />
    <link rel="stylesheet" href="../print.css" type="text/css" media="print" />
    <style type="text/css">
    .style12 {
    text-align: left;
    font-size: 18.0pt;
    font-family: "Times New Roman", serif;
    color: red;
    margin-left: 0cm;
    margin-right: 0cm;
    .style16 {
    font-family: "Times New Roman", serif;
    .style29 {
    font-family: "Times New Roman", Times, serif;
    .style34 {
    color: #FF0000;
    font-family: "Times New Roman", Times, serif;
    font-size: x-large;
    font-style: italic;
    .style36 {
    font-size: 12.0pt;
    line-height: 150%;
    font-family: "Times New Roman", Times, serif;
    .style39 {
    font-family: "Times New Roman", Times, serif;
    font-size: x-large;
    font-style: italic;
    .style41 {
    font-family: "Times New Roman", Times, serif;
    font-size: medium;
    .style42 {
    font-size: medium;
    .style43 {
    color: black;
    .style44 {
    text-decoration: underline;
    font-style: normal;
    </style>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body>
    <div id="pictureDiv">
    <div class="center"><img src="../jpegs/map-3.gif" width="838" height="396"></div>
      <div id="textDiv">
        <table width="700" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="20" class="table-white-background-top"> </td>
          </tr>
          <tr>
            <td class="table-white-background-middle"><table width="660" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td> </td>
                </tr>
                <tr>
                  <td><h1 class="center"> </h1>
                    <!-- TemplateBeginEditable name="main_content" -->Body Content Goes here<!-- TemplateEndEditable -->
                    <p> </p>
                    <h1 class="center"><span class="style29"><font size="3"> </font></span>
                    </h1>
                    <p>
                    <div id="footer">
                      <h5>Gomburg Brown &amp; Co - Since 1989 - <br />
                         PO Box 3132 Fredericton, NB. Canada. E3A 5G9.<br />
                        506-470-0380</h5>
                      <p>COPYRIGHT - GOMBURG BROWN &amp; CO, NOVEMBER 2010</p>
                      <p> </p>
                    </div>
                    <!-- End Footer -->
                    </p>
                    <hr /></td>
                </tr>
                <tr>
                  <td> </td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td class="table-white-background-bottom"> </td>
          </tr>
          <tr>
            <td> </td>
          </tr>
        </table>
      </div>
      <!--end textDiv-->
    </div>
    <!--end pictureDiv-->
    <div id="navDiv">
      <table width="240" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="20" class="table-purple-background-top"> </td>
        </tr>
        <tr>
    THESE ARE THE LINKS I'M HAVING TROUBLE WITH...
          <td class="table-purple-background-middle"><div id="p7TMM_1" class="p7TMM06">
              <ul class="p7TMM">
                <li><a href="../index.htm" >Home</a></li>
                <li><a href="../about.htm"  >About</a></li>
                <li><a href="../contact.htm">Contact</a></li>
                <li><a href="../comment.htm" >Comment</a></li>
                <li><a href="../program.htm" >GB Program</a></li>
                <li></li>
                <li><a href="../opinion.htm" >Opinion</a></li>
                <li><a href="../donate.htm"  > Donate</a></li>
              </ul>
              <!--[if lte IE 6]>
    <style>.p7TMM06 .p7TMM, .p7TMM06 a, .p7TMM06 li {height:1%;}</style>
    <![endif]-->
              <!--[if IE 5]>
    <style>.p7TMM06 a, .p7TMM06 a {overflow: visible !important;}</style>
    <![endif]-->
              <script type="text/javascript">
    <!--
    P7_TMMop('p7TMM_1',3,0,0,3,1,1,0,1,-1,150);
    //-->
              </script>
            </div></td>
        </tr>
        <tr>
          <td height="100" class="table-purple-background-middle"> </td>
        </tr>
        <tr>
          <td class="table-purple-background-bottom"> </td>
        </tr>
      </table>
    </div>
    <!--end navDiv-->
    <script type="text/JavaScript">var TFN='';var TFA='';var TFI='0';var TFL='0';var tf_RetServer="rt.trafficfacts.com";var tf_SiteId="74geef2c4e352bf3a5ac8136326f81aa18a8e1803fbh18";var tf_ScrServer=document.location.protocol+"//rt.trafficfacts.com/tf.php?k=74geef2c4e352bf3a 5ac8136326f81aa18a8e1803fbh18;c=s;v=5";document.write(unescape('%3Cscript type="text/JavaScript" src="'+tf_ScrServer+'">%3C/script>'));</script>
    <noscript>
    <img src="http://rt.trafficfacts.com/ns.php?k=74geef2c4e352bf3a5ac8136326f81aa18a8e1803fbh18" height="1" width="1" alt=""/>
    </noscript>
    </body>
    </html>
    posted temporarily as a page using the template at http://www.vu22.com/Bev-T/index.htm
    or
    http://www.vu22.com/Bev-T/Templates/main_template.dwt
    Now when I checked this earlier on one computer, a couple links weren't working, but now on a different computer, they're fine.

  • How can i create link between ipad(xcode) and webserver?

    Hi, I'm a new to iPad development and i need help,
    i'm not good with english but i try to explain my question:
    how can i create link between ipad(xcode) and webserver?
    (the webserver ".NET" with driver odbc is connected with DB Oracle)
    so, how can my ipad application access to the Oracle DB?
    Create a webservice (.NET) to be place between iPad and DB, is this correct?
    how can i do it?
    which are libraries to include in the xcode's framework?
    thx

    I think the following URL will be your best answer:
    http://stackoverflow.com/questions/3510468/connecting-iphone-to-an-odbc-database

  • How to insert a HYPERLINK in a template Editable Field?

    Question:  How to insert a HYPERLINK in a template Editable Field?
    Hi
    Does anyone know how to insert a HYPERLINK in a template Editable Field?
    I want the link to always display the word "Cities".
    But the URL will change with each child page.
    Here's what I've got so far . . .
    <!-- TemplateBeginEditable name="Cities" -->Cities<!-- TemplateEndEditable -->
    Thanks so much!

    NOTE: This is to go into the TEMPLATE
    Your best bet is to keep the hyperlink OUT of the editable Field and to make the HREF attribute of the link editable.
    This would go in the head of your document:
    <!-- TemplateParam name="href" type="URL" value="" -->
    This would go where you want the link to appear:
    <a href="@@(href)@@">cities</a>
    THE BETTER WAY: You can either paste these quotes into the appropriate places in your template or you can insert:
    <a href="#">cities</a>
    and click inside the opening <a> tag.
    Then go to Modify > Templates > Make Attribute Editable
    In the dialog box "Editable Tag Attributes" you should now see "Choose which attributes of this A tag should be editable."
    If HREF is not showing in the drop-down, do Add and put it there.
    Check the box to Make this attribute editable.
    Give a name for this editable attribute (if you have more than one on a page, you will want it to be understandable, like "cities" for your cities links).
    Make sure it is of Type URL
    If you want a default URL in place, put one in the Default field.
    Then push OK.
    To use it, on each page, do Modify > Template Properties... choose the property to edit, and put the new URL in the entry field.
    Press OK.
    Beth

  • Link properties in templates

    I'm using dreamweaver cs4 in desing mode and I cannot
    understand how to make my hyperlinks appear differently than set by
    the page properties. I see some explanations on here but they all
    explain it in "code" view which is harder for me to understand.
    My problem is that I set the default link propertie in the
    "page properties" of the template. The links work fine because they
    are a dark background in the template. When I include links in the
    edit regions of the finished page with the template applied they
    are hard to read because that potion of the page has a white
    background.
    What is the easiest way to set default link colors in pages
    with different backgrounds?

    >I see some
    > explanations on here but they all explain it in "code"
    view which is
    > harder for
    > me to understand.
    As the Bard said, "Therein lies the rub". If you browse this
    group you will
    find not dozens, but hundreds of posts advising "learn HTML
    & CSS" before
    proceeding further. That is proper advice as your experience
    shows. Design
    view will allow you to do simple and basic things, kind of
    like following a
    well-beaten path. Now you want something off that path,
    specialized link
    formatting. That requires direct code modification. Sorry,
    that's just how
    it is. If you're willing to pay that price here is an
    excellent starting
    point:
    http://www.projectseven.com/tutorials/css/pseudoclasses/index.htm
    Walt
    "RodEich" <[email protected]> wrote in
    message
    news:gf9hpg$7a8$[email protected]..
    > I'm using dreamweaver cs4 in desing mode and I cannot
    understand how to
    > make my
    > hyperlinks appear differently than set by the page
    properties. I see some
    > explanations on here but they all explain it in "code"
    view which is
    > harder for
    > me to understand.
    >
    > My problem is that I set the default link propertie in
    the "page
    > properties"
    > of the template. The links work fine because they are a
    dark background in
    > the
    > template. When I include links in the edit regions of
    the finished page
    > with
    > the template applied they are hard to read because that
    potion of the page
    > has
    > a white background.
    >
    > What is the easiest way to set default link colors in
    pages with different
    > backgrounds?
    >

  • How to: site organization: many different navigation templates

    Hi there dear experts.
    Am making one of those site, that has different navigation for the different sections: About has it out category of nav, Info has its own category, etc.
    What is the best way to do this, with template, library items, both, and how does one do it?
    Is there some best practice?
    Thanks so much.
    Hope

    You question is a little difficult to understand, but if you have different sections of a page that will be updated, then looking at Server Side Includes would be your best option I think  :-)   If you're server suppost php, then php includes would be the way to go.  Using different templates or nested templates I believe will only lead to confusion.
    A comparison of the various options:
    Using the template function within Dreamweaver is a good way to go if it's a small site . .
    For larger sites then server side includes would be more practical and easier  for maintenance purposes.
    Templates:
    You create a master template page, you declare which areas will be the same for every page, (non-editable regions)  and then declare an area that will change on every page (the content area) , these are editable regions.
    Once you create the template and save it, you are then able to create 'child' pages from this template  - as many as you like  :-)  If you every need to make a change to the menu or the footer or the header, change it in the master template, save it and the changes will flow through to the child pages created from the template.
    Using DW Templates:
    http://www.adobe.com/devnet/dreamweaver/templates.html
    http://www.adobe.com/devnet/dreamweaver/articles/dw_templates.html
    The other option is to use Server Side Includes (SSI)
    A bit more about SSIs here:
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f 693f21-7b6ca.html
    http://bignosebird.com/ssi.shtml
    Using PHP includes if your server supports php:
    http://www.w3schools.com/PHP/php_includes.asp 
    One major difference between using Templates and SSIs or PHP includes?
    When you make a change to a template page, you will need to re-upload all the pages to the server that were changed - may become very tedious if it is a very large site.
    With using SSI, you make a change to one file and only have to upload the one file and all pages on the server will be update accordingly.
    When to use Templates, Library Items & SSIs -
    http://www.adobe.com/devnet/dreamweaver/articles/ssi_lbi_template.html
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.perrelink.com.au
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    http://csstemplates.com.au/
    http://twitter.com/nadiap

  • Including link to one topic in message of 2nd topic

    Hello,
    I'm new to SDN so please excuse my basic question.
    My problem/question is how to include a link to one topic when posting a new topic or reply to an existing topic.
    The reason this came up is that I received e-mail notification when someone updated one of my watched topics but not another. I was going to create a new topic asking why this happens and include links to both topics but I can't figure out how.
    The url in my IE address bar doesn't change as I go from topic to topic.
    Thanks in advance for any replies.
    David

    Hi David,
    the links are for example accessible at:
    1. The top left corner "Topic" if you read a message
    2. In the topic lists of the forums.
    In general you can click on a link with the right mouse button and choose the Copy option from the context menu.
    Pasting this you'll get something like: Including link to one topic in message of 2nd topic
    If you want to make the links more readable use this template (remove the '_'s): [_url=href]display[_/url].
    Sample: Replacing "href" with the link to the SDN home page and "display" with "goto SDN" this results in:
    If you need more infos, <a href="https://www.sdn.sap.com/sdn/index.sdn">goto SDN</a>.
    Hope that helps.
    Regards
    Stefan

  • How do I include 'Edge Web Fonts' into Edge Animate?

    How do I include 'Edge Web Fonts' (not Google Web Fonts) into Edge Animate?

    Have you tried to use google fonts? I have used them and they work for me.
    When you add your font for example:
    Copy paste:
    <link href='http://fonts.googleapis.com/css?family=Finger+Paint' rel='stylesheet' type='text/css'>
    and then for font family.
    'Finger Paint', cursive;
    then select addfont on the addfont screen

Maybe you are looking for