Skip navigation
Strom37
Currently Being Moderated

Renaming Tag Attribute

Nov 3, 2013 6:14 AM

Tags: #dreamweaver_cs6 #tag_attributes

Cannot rename an "a" tag attribute in a DWT. I go to Modify, Templates, Make Attribute Editable. In the pop up I click add, another pop_up box asks me to name the new attribute. However it will not let me type anyting in the naming box.

 

Any assitance is appreciated.

 

Thanks

 
Replies
  • Currently Being Moderated
    Nov 3, 2013 8:43 AM   in reply to Strom37

    2 step procedure. 

     

    First, define the editable attribute in the main template.dwt file.  In this example, I'm making the class attribute editable on my <body> tag.

    DWT-EditableTagAttribute.jpg

    Next, open a child page based on your Template.  Go to Modify > Template Properties.

    DWT-Editable-attributes2.jpg

     

    Is that what you're doing?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 3, 2013 9:05 AM   in reply to Strom37

    I don't really need a lesson on all this .  It's works fine for me.

    Can you tell us which version & build # of DW you're using?

    Also, elaborate a bit on what isn't working for you and in which screen shots?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 3, 2013 9:38 AM   in reply to Strom37

    Does your Template.dwt contain any class attributes in the code like this?

     

    <ul>

    <li><a class="home" href="home.html"></a></li>

    <li><a class="about" href="about.html"></a></li>

    <li><a class="contact" href="contact.html"></a></li>

    </ul>

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 3, 2013 9:53 AM   in reply to Strom37

    After you make the class attribute editable -- in this example "home," your code should look like this:

     

    <li><a href="home.html" class="@@(home)@@"></a></li>

     

    I've tested it both ways -- with and without classes in the code.  It works for me on Win with CS6 12.2 build 6006. 

     

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 3, 2013 11:54 AM   in reply to Strom37

    I can't reproduce your problem at my end.  When things don't work the way they should, it's sometimes a bad Cache or Personal Configuration file.

    See Deleting Corrupted Cache in DW

    http://forums.adobe.com/thread/494811

     

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points