Sent for review: template path changed from relative toabsolute

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default Sent for review: template path changed from relative toabsolute

    On our site we use DW, Contribute and third party code to generate the site
    navigation. The workflow is
    ckeck out site, download, create page(s), update navigation in template,
    update pages, upload, check site in.

    If users change and publish a page everything seems to work well. However,
    when a user changes content and sends the draft for review CT changes the path
    to the template from a relative path: <html lang="en"><!-- InstanceBegin
    template="/Templates/myTemplate.dwt" to an absolute path: <html lang="en"><!--
    InstanceBegin template="http://www.mysite.com/Templates/myTemplate.dwt"

    When we update the template, the pages that were published after being
    reviewed still have an absolute path, and thus DO NOT GET UPDATED.

    We can reapply the template to a page to solve the problem. But this is not
    practical for a site with hundreds of pages and a dozen content updaters.
    Would appreciate any suggestions,
    Thank you,
    Ruben

    rubenvasquez Guest

  2. Similar Questions and Discussions

    1. User control + relative path
      Hi. I need some help on this. I have a user control (a header) in my root directory, and all my pages use that control. Then a created a folder (in...
    2. Relative Path for Shared Movies
      Is it possible to used shared assets without specifying a URL but a relative path to the shared swf file? I am currently specifying...
    3. relative path
      Hi, I wrote some scripts using File::Find's find function like this find (\&process, $path) I get $path either from the command line or from...
    4. #25506 [NEW]: <xsl:include> with relative path
      From: cryo28 at rbcmail dot ru Operating system: Win2K PHP version: 4.3.3 PHP Bug Type: DOM XML related Bug description: ...
    5. File, relative path handling.
      Before I attempt to re-invent this wheel: Has anyone come up with a method for converting an absolute filesystem path into a relative path, given...
  3. #2

    Default Re: Sent for review: template path changed from relativeto absolute

    Have you figured out this problem yet?

    We are suffering from the same problem -- our templates are modified by
    Contribute whenever a draft is sent for review and then published. When a page
    is simply edited and published, we have no problems. But when a draft is sent
    for review and then published, the relative path for a template is turned into
    an absolute path!

    For example, this:
    <!-- InstanceBegin template="/Templates/three-col.dwt"
    codeOutsideHTMLIsLocked="false" -->

    Becomes this:
    <!-- InstanceBegin template="http://www.abc.com/Templates/three-col.dwt"
    codeOutsideHTMLIsLocked="false" -->

    Regards



    bobolech Guest

  4. #3

    Default Re: Sent for review: template path changed from relativeto absolute

    We just did some more testing of this issue and we noticed a new, more
    disturbing aspect of the problem. We noticed that the paths to the templates
    were modified when a draft was sent for review and then published. But we also
    noticed that the paths to our stylesheets, which use relative paths like this:
    <link rel="stylesheet" href="/local_scripts/styles.css" type="text/css"
    media="all">
    were being converted when published to take this form:
    <link rel="stylesheet" href="http://staging.abc.com/local_scripts/styles.css"
    type="text/css" media="all">
    where staging.abc.com is the domain name of our staging website, which is an
    internal server where we post changes to test them -- the changes are then
    automatically copied to the live server throughout the day. A page with a
    stylesheet declaration that uses a relative path is fine -- it doesn't matter
    what site the stylesheet file resides on -- but when a fully-qualified path to
    a stylesheet on an internal server is used and then published to an external
    server, the page breaks since it is referencing an internal URL it cannot
    access.

    The bigger question for us isn't why Contribute is taking liberties with our
    template paths, but why it's messing around with the path to our stylesheets.
    My understanding was that Contribute didn't mess around with content in the
    header. Why should it???

    This product is so aggravating.

    And we've tested this with both version 3.1 and 4.0, which is the first thing
    their tech support will insist we try...

    Stay tuned...


    bobolech Guest

  5. #4

    Default Re: Sent for review: template path changed from relativeto absolute

    We are also seeing this problem, and not only is it bad for updating templates,
    we also use template parameters, so we cannot adjust template params until we
    manually change the template path back to "/Templates".

    Has anyone been in touch with Adobe Tech support about this one, and if so,
    what is the status of the problem?

    xarina Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139