Contribute Publishing Changing Template

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

  1. #1

    Default Contribute Publishing Changing Template

    I have a series of dreamweaver templates that pages are built from. I then
    allow users to edit certain regions of those pages via contribute. When the
    page is created, the call to the template is correct, is relative, and looks
    something like:

    <html lang="en"><!-- InstanceBegin template="/Templates/Music.dwt"
    codeOutsideHTMLIsLocked="false" -->

    (note this is NOT an editable region of the page)

    Once the page is published in Contribute, the call to the template changes to
    an absolute address and will no longer be affected by template updates. It now
    looks something like:

    <html lang="en"><!-- InstanceBegin
    template="http://www.mydomain.edu/Templates/Music.dwt"
    codeOutsideHTMLIsLocked="false" -->

    The only way to fix this seems to be to re-open the page in Dreamweaver and to
    reapply the template. The absolute call that the publishing procedure changes
    thigns to is valid and a readable directory, but apparently Dreamweaver won't
    allow it.


    Any ideas on how to fix this? It creates quite the burden when managing many
    users to have to re-open all published pages and reapply the template.


    NCSAclaggett Guest

  2. Similar Questions and Discussions

    1. Publishing PHP with Contribute
      Hello, We want some users to publish php files with Contribute to our sites. We do these steps; - Edit Page with en External Application -...
    2. Is Contribute Publishing Server REQUIRED for draftreview & publishingContribute Publishing Server
      I want to set up a very basic workflow with one or more writers and a publisher who does final review and then publishes the pages. Is Contribute...
    3. Is Contribute Publishing Server REQUIRED for draftreview & publishing
      Please have look on the below mentioned link to have an idea of CPS and few advantages of it...
    4. Do I need Contribute AND Contribute Publishing Server?
      Do I need to have Contribute Publishing Server installed on the web server on order to update web pages with Contribute? - Andrea
    5. template publishing folder
      Hi there, I was wondering if it was possible to preset the publish folder for certain templates. This would be very convieniant for maintaining...
  3. #2

    Default Re: Contribute Publishing Changing Template

    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: Contribute Publishing Changing Template

    Yes, that's the exact same issue.

    Nope, I've yet to hear anything from any source that addresses the issue. For
    now I've been vigilantly opening every sent and published page in dreamweaver
    and reapplying the template. This has proven to be an annoying addition to the
    publishing procedure, but it at least keeps things running for now. I'm very
    much hoping someone notices this thread and addresses the issue.

    If you do come across any solution, please let me know and I'll do the same.

    NCSAclaggett Guest

  5. #4

    Default Re: Contribute Publishing Changing Template

    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

  6. #5

    Default Re: Contribute Publishing Changing Template

    Yes, you're in the same boat I am. What you're describing (and the testing
    you've done) is the exact path I've walked down without any luck. I'm in
    complete agreement with you...I have NO idea why Contribute is altering the non
    editable region of the page and taking liberties with the address. Even if it
    wasn't breaking things and sabotaging the way the products were supposed to
    work together, I don't see why it' would ever need to do it. Apparently my
    definition of 'non editable' and theirs is different.

    I am really glad you've tested it in 4 and posted this. I haven't yet
    upgraded to 4 and am not especially motivated to unless this problem is
    resolved.

    NCSAclaggett Guest

  7. #6

    Default Re: Contribute Publishing Changing Template

    Well, we haven't exactly upgraded to Contribute 4 either. We have v4 installed
    on one PC so we can test it in instances like this, but we aren't about to
    upgrade all our installations until we see some compelling reason to do so, and
    so far all Adobe/Macromedia has been able to tout as a reason to upgrade is the
    abilitly to edit blogs and vague references to lots of fixed bugs. They have
    carefully avoided publishing any lists of "What's Been Fixed in This Release"
    or "Remaining Issues with This Release." They've concentrated mostly on
    selling to folks who might be tempted by the very, very slight list of new
    features (Editing blogs? Give me a break!) or those who can afford to take the
    risk of upgrading from one unstable version to another in the hopes that the
    new one might be better. Myself, I'd rather deal with a pile of known issues
    than step into a new pile...




    bobolech Guest

  8. #7

    Default Re: Contribute Publishing Changing Template

    Just letting you know we are having the same problem, and for us it also blocks our ability to set template parameters.


    xarina Guest

  9. #8

    Default Re: Contribute Publishing Changing Template

    My company is having the same issue. It would be great if somebody from Adobe would comment on this issue.
    Fred Clown Guest

  10. #9

    Default Re: Contribute Publishing Changing Template

    Does anybody at Adobe have any ideas on this?
    Fred Clown Guest

  11. #10

    Default Re: Contribute Publishing Changing Template

    Does anybody from Adobe even check this?
    Fred Clown Guest

  12. #11

    Default Re: Contribute Publishing Changing Template

    This issue is fixed in Contribute CS3. Please check the same in Contribute CS3.

    ~Lakhwinder
    L.Kaur Guest

  13. #12

    Default Re: Contribute Publishing Changing Template

    No they don't check this. Look at the bottom of the page...

    Important Note: These online forums are for user-to-user discussions of
    Adobe products, and are not an official customer support channel for Adobe. If
    you require direct assistance, or prefer to contact Adobe support staff
    directly, please contact Adobe support.


    ThinkInk Guest

  14. #13

    Default Re: Contribute Publishing Changing Template

    [q]Originally posted by: L.Kaur
    This issue is fixed in Contribute CS3. Please check the same in Contribute CS3.

    ~Lakhwinder[/q]
    Thanks, Lakhwinder....

    What do you mean please by "CS3". I have Contribute 3 (stand-alone, not
    publishing). Is this what you mean? (I still have the problem on this version.)

    Thanks,
    Carina

    xarina Guest

  15. #14

    Default Re: Contribute Publishing Changing Template

    Hi,

    There is new release of Contribute( 'Contribute CS3') which is a part of Adobe Creative suite 3 and this bug is fixed in the CS3 release. Hope i am clear.

    ~Lakhwinder
    L.Kaur 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