Results 1 to 7 of 7
  1. #1
    ABW Ambassador Doug247's Avatar
    Join Date
    January 18th, 2005
    Location
    DE USA
    Posts
    931
    I use dreamweaver mx along with webmerge to develope pages for my site. In the html template files I have a constant proble where dreamweaver will constantly change my webmerge tags.
    For example...here is a section I use to show a larger image in a window:

    onClick="MM_openBrWindow('[WM-Field: field_xxx]',''......

    when the file is save in dreamweaver the link is changed to

    onClick="MM_openBrWindow('%5BWM-Field:%20field_xxx%5D',''.....

    Has anyone came acrossthis problem?? I am guessing that there is a setting some where in dreamweaver that I need to adjust. Does anyone know where that would be??


    Thanks
    Doug

    Why am I wasting my time doing this???

  2. #2
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    2,419
    Look in the "Code Format" section of Dreamweavers preferences and the "Code re-writing" section of preferences contains two choices that need to be deselected (both under special characters section):
    1. Encode special characters in URL using %
    2. Encode <, >, & and " in attribute values using &

    I think that will fix your problem.

    ===============================
    PeePee merchants with PooPoo policies allow our earnings to be flushed down the crapper.

    Why give parasites unlimited cookie durations and credit for sales where they divert our users and overwrite our cookies. PP merchants directly support what many consider unfair trade practices and thievery!
    ===============================

  3. #3
    Newbie
    Join Date
    January 18th, 2005
    Posts
    6
    I also get %20 being added by Frontpage, sometimes, and screwing the pages up, it's easy to fix using find and replace but it's a pain in the a*** and I'd like to workout how to stop it.

  4. #4
    Affiliate Manager Allen Nance's Avatar
    Join Date
    January 18th, 2005
    Location
    Colorado River, Bullhead City AZ
    Posts
    1,604
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Kenmerge:
    I also get %20 being added by Frontpage, sometimes, and screwing the pages up, it's easy to fix using find and replace but it's a pain in the a*** and I'd like to workout how to stop it.<HR></BLOCKQUOTE>

    I had the same problem in front page when I would create different templates from one base one.

    I would go to fp source code, copy then paste into a new page. Then saving it would cause the problem.

    Way's around:

    1. close the initial file before saving the new one.

    2. Copy code and paste to notepad, then select all in notepad and paste into the new fp file. Save new file in frontpage, then edit.

    Now I don't have the %20 problem.

    Allen

  5. #5
    ABW Ambassador buy_online's Avatar
    Join Date
    January 18th, 2005
    Location
    Richmond, VA
    Posts
    3,234
    Doug, did happypoon's suggestion work for you?

    Also, don't forget. You can use the "raw" command in the tag, in order to prevent webmerge from changing any of the html into something else.

    Fred

    &lt;font face=verdana size=1 color=43639C&gt;&lt;b&gt;You might just be a Parasite if..."You can't schedule a family reunion until after the parole board meets"&lt;/b&gt;&lt;/font&gt;

  6. #6
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    [QUOTE]Originally posted by buy_online:
    Doug, did happypoon's suggestion work for you?

    Also, don't forget. You can use the "raw" command in the tag, in order to prevent webmerge from changing any of the html into something else.[/QUOTE

    The raw option works great for preventing WebMerge's normal conversion of non-ASCII characters into valid HTML character entities, but I'm afraid there's nothing we can do about HTML authoring tool that are too smart for their own good.

    "[" and " " (space) are valid characters in HTML, and it's silly for programs to rewrite them. The exception would be when a WM-Field tag is used inside an "&lt;a&gt;" tag, where the authoring tool might have reason to believe that the link should be cgi-encoded. But the better HTML authoring tools leave you in control of such things; both Dreamweaver and GoLive offer ways to prevent having your code mucked with; I haven't worked with FrontPage, but unless the designers are as sloppy as Microsoft's security team they should have an option for that a well.

    --
    Richard Gaskin
    Fourth World Media Corporation
    Developer of WebMerge: Publish any database on any site
    ___________________________________________________________
    Ambassador@FourthWorld.com http://www.FourthWorld.com
    Tel: 323-225-3717 AIM: FourthWorldInc

  7. #7
    ABW Ambassador Doug247's Avatar
    Join Date
    January 18th, 2005
    Location
    DE USA
    Posts
    931
    That seemed to work...but I only updated my WM pages 2 time since then.

    Thanks Happy

    Why am I wasting my time doing this???

  8. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. creating links using Webmerge tags
    By swamala in forum Programming / Datafeeds / Tools
    Replies: 3
    Last Post: February 29th, 2012, 05:33 PM
  2. Webmerge tags and Javascript
    By kramurph in forum WebMerge (Fourthworld.com)
    Replies: 2
    Last Post: January 10th, 2008, 08:25 AM
  3. Can Webmerge Create alt tags for images?
    By gravitydex in forum WebMerge (Fourthworld.com)
    Replies: 7
    Last Post: April 23rd, 2005, 10:11 AM
  4. Webmerge Templates in Dreamweaver
    By Tiebreaker in forum WebMerge (Fourthworld.com)
    Replies: 11
    Last Post: December 20th, 2004, 09:12 AM
  5. Dreamweaver, Templates and Meta Tags... Oh My
    By philgaertner in forum Programming / Datafeeds / Tools
    Replies: 3
    Last Post: May 7th, 2004, 07:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •