Ask a Question related to Adobe Indesign Macintosh, Design and Development.

  1. #1

    Default Template problem

    Hi,

    I posted this somewhere else, but I don't think it was quite the right
    place, so I'll try here. I know a little about asp, but not much.

    This is on a FrontPage 2000 site.

    I have a template page. A full page design. I have to split it into a header
    and a footer, for some asp pages. To do this, I marked the beginning of the
    content area with xxxx. Everything above that, I saved as the header.
    Everything below it, I saved as the footer.

    I can open the template as an ASP page or as an HTML page, and it's fine. I
    can open the header (htm) or the footer (htm), and they are fine. But when I
    open one of the ASP pages of my cart program (that calls the header and
    footer files), I get this error message:

    Active Server Pages error 'ASP 0140'
    Page Command Out Of Order
    /header.htm, line 1
    The @ command must be the first command within the Active Server Page.

    The first line on the header is:
    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>


    But that is the same first line on all the other pages that do work. Could
    it have something to do with the fact that the cart ASP pages are written in
    vbscript? If so, what would I do about it?

    Thanks for any help!

    Jill


    JA Guest

  2. Similar Questions and Discussions

    1. Halo Template Problem
      Hi! I'm not sure how many people have noticed this, but the rollover menu used in the Halo template fails to function if the user scrolls down...
    2. Coursebuilder template fix problem
      I seem to be having the same problem, but my templates are just .dwt files. I have a page derived from a template, so when I try to put a...
    3. Updating template problem
      Raphael: Basic Introduction - In DMX, the region outside of the <html> tag can be made to be - 1. EDITABLE (by setting that parameter to...
    4. template/css problem
      Hi, I have made up a website using css and a template file. I have three columns the left and right column measurements in pixels and the centre...
    5. Template and CSS Problem, Please Help
      Hello; I have problem of CSS in Template, eventhough in the DW manual says so: " You can add a Cascading Style Sheet (CSS), timeline, or behavior...
  3. #2

    Default Re: Template problem

    "JA" <jarmour@kc.rr.com> wrote in message
    news:L4R8b.6629$jT6.4011@twister.rdc-kc.rr.com...
    > I can open the template as an ASP page or as an HTML page, and it's
    fine. I
    > can open the header (htm) or the footer (htm), and they are fine.
    But when I
    > open one of the ASP pages of my cart program (that calls the header
    and
    > footer files), I get this error message:
    >
    > Active Server Pages error 'ASP 0140'
    > Page Command Out Of Order
    > /header.htm, line 1
    > The @ command must be the first command within the Active Server
    Page.
    >
    > The first line on the header is:
    > <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
    I haven't used FP in a long time, but I would move that line into the
    top of the actual ASP page (remove it from the Header page) and then
    have the ASP insert the Header page just below that line. Like this:

    <Begin ASP page here>
    <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
    <Insert Header Page here>

    <The rest of the ASP continues here>

    <Insert the footer page here>
    <End of the ASP page>

    --

    Phillip Windell [CCNA, MVP, MCP]
    [email]pwindell@wandtv.com[/email]
    WAND-TV (ABC Affiliate)
    [url]www.wandtv.com[/url]


    Phillip Windell Guest

  4. #3

    Default Template problem

    I am running Indesign CS2 under OS10.4.7.

    When I double-click on an Indesign template it opens as a copy of the template, saved in the same place as the original, rather than an untitled new document.

    If I open templates by dragging onto the ID icon or through the open dialogue they are fine and open as an untieled document.

    Is this double-clicking issue normal? - I could have sworn I was opening templates OK by double-clicking on them a few months ago - but my memory could be fooling me!
    Vince_Bamford@adobeforums.com Guest

  5. #4

    Default Re: Template problem

    It's normal but I believe it's a recent normal.

    Keep all your templates in a folder and put it your sidebar, so they're always available following a command-o. That way, you stay within ID and don't have to navigate on the desktop to your template.
    DavidT Guest

  6. #5

    Default Re: Template problem

    2-clikking a template always creates a copy-- it's not an InD issue, it's an issue with the way the Mac OS handles templates. It's been that way since day one.
    Eric Otto Guest

  7. #6

    Default Re: Template problem



    it's not an InD issue, it's an issue with the way the Mac OS handles templates




    True, though I would argue that it is in a way an InDesign issue since Adobe chose to use the OS "Stationery Pad" feature to implement templates.
    Peter_Truskier@adobeforums.com 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