Creating a new page type or editing an existing one?

whenever i create a new document, i select blank page then under page type list several diffent page types. i would like to edit an existing one or create a custom one. for example, every time i create a new document i have to clear out the code and type the following...
<?php
require_once('classes/class.layout.php');
$layout = new Layout;
$layout->page_title = 'This can be different each page';
$layout->render_header();
$layout->render_footer();
?>
i tried to create a template but it always wants editable regions and i don't want it to be stuck using that system. i would like the above code to be typed out every time i create a new document. is this possible? do i have to edit some kind of system file that's xml or js? i'm using CS5 and i'm on a mac.

this is exactly what i was looking for! thank you murray! i created my own Page Type and it shows it. all you have to do is add your custom document type.
inside the DocumentTypes folder you will find the MMDocumentTypes.xml file. this file contains all of the default dreamweaver document types: html, asp, php, asp.net, etc. you can add your entries here, just use the same structure. it's safer not to modify it but create your own. so i created a CustomDocumentTypes.xml file. i just used camel-case to keep the file names consistent. according to documentation, dreamweaver checks this directory and uses the settings it reads off the xml files. so as long as it's a well formed xml file, it will try to read it. if not, it will ignore it.
next i created my default page in the NewDocuments directory. i restarted dreamweaver and there it was.

Similar Messages

  • Create a new page in Text Edit?

    I know Text Edit has limited functionality but I havent been able to find any tutorials or basic information on Text Edit and eventually I may get Pages or Word for Mac, but for right now, I dont really need anything fancy so I'm hoping Text Edit will work.  Im thinking there's no reason you couldn't do a resume even on here - although I think Pages has pre-done layouts which would make it look a lot prettier.
    Anyway, simple Text Edit question:  Is there just a way to create a new page - basically a page break like you did in Microsoft Word on a PC where  you would hit control+enter.  Im assuming there should be as that seems like a pretty basic function.
    Also if anyone uses Text Edit regularly, can you tell me what are the basic things it can and cannot do...what do you need Pages (Or word for mac) for and for what will Text Edit suffice.  (I assume, for example, that Text Edit is not going to allow you to automatically do page numbers while Pages will)

    sajam wrote:
    I know Text Edit has limited functionality but I havent been able to find any tutorials or basic information on Text Edit
    TextEdit->Help->TextEdit Help
    https://help.apple.com/textedit/help/10.7/help/index.html?lang=en

  • Create a new costing variant or use a existing one

    Dear Friends,
    Company XYZ does not use absorption cost.
    In Company Code 1000, Costing variant XY  does not do any calculation because zero values are entered in acitivity type,costing sheet.
    For new company code 2000 &3000, Users want to enter values at activity,costing sheet etc.
    I like to know the following,
    Should we use the existing costing variant XY  OR  Create a different cost variant for Company code 2000&3000.
    Regards
    Sridhar

    You can use the same if your Valuation Variant is gonna remain same
    entering act prices is part of master data which is independant of Costing var

  • How to create a new page as a hyperlink to an external one?

    I've been trying to solve this for like 2 hours and still haven't found the way!
    When you create a new page in iWeb, it automatically adds its name into the navbar and creates a new page and folder with its content. Well, I want to create a new page that is a link to an outside webpage opening in a new tab. How do i do this? Editing the new page .html? I've tried that, but what should I write?
    Anyway, hope somebody can give me a hand...
    Thanx!

    This may be what you're looking for:
    http://discussions.apple.com/message.jspa?messageID=9105295#9105295

  • Create a new page format

    ... Hi everybody !!!
      I need to create a new page forma for a checkt:  Width  165   / MM,   Height     / Unit       67    / MM    
      i created it in spad transaction, 
      Full Administration -> Extended admin -> Device Types
      But when i execute the program in order to print the format the system send a message
    Device type HPLJ5 does not support page Z165X67, where z165x67 is  a format that i created.
    I  think the problem is  in the the definition format Z165X67 associated to devide type,  in the actions
    ( printer initialization, reset after exit,  cover page, end of page, etc ), here uses a hexadecimal code and i don'r undestand
    this, someone can give me any suggestion.
        Thanks
        Best Regards

    .. Hi !!!
      I can asociate the new format page, i can print a check, but i have a little problem,  when I send to print more than 1 check,
    the jump of page is not equal,  so the output for the other checks is nor rigth.
       Do you have any suggestion ??
      Thanks
    Noemí Huerta

  • How to paste an image from the database by creating a new page?

    Hai,
    i'm trying to paste more than 6 images in two pages...
    The condition is that i want to paste only 3 images in a page.
    When the first 3 images were pasted... i want a new page to be automatically created and the next or 4th image will be pasted on the
    next page...
    i have codings for creating a new page and for pasting the image...
    But how shall shall i paste the 4th image in the next page...
    Can any one plzz explain me...

    >
    Hi, I'd like to display a dynamic image from the web inside a JLabel or any other swing component it could work in. I've been looking on the Swing tutorials and others forums, all I can have is that a JLabel can load an Icon object, defined by an image URL, but can this URL be like "http://xxxxx/image.jpg" somehow or can it only be a local image URL?>
    I do not know why you start talking about an image on the web then go on to show concerns about whether it will work for a 'local' URL.
    But perhaps this answer will cover the possibilities.
    So long as you can from an URL to the image, and the bytes are available for download (e.g. some web sites wrap a direct call to an image in HTML that embeds the image), the URL based icon constructors will successfully load it.
    It does not matter if that URL points to
    - a web site,
    - a local server ('localhost'),
    - an URL representation of a File on the local file system, or
    - it is inside a Jar file that is on the application's run-time classpath.
    How you go about forming a valid URL to a 'local resources' (or indeed what you regard as local resources) is another matter, depending on the form of the project, and how the resources are stored (see list above).
    Probably the main reason that examples use images at a hard coded URL on the net is that it makes an 'image example' self contained. As soon as we compile and run it, we can see the result. I have posted a few examples like that on these forums.
    Edit 1:
    BTW - Welcome to the Sun forums
    Edited by: AndrewThompson64 on Apr 21, 2009 12:15 PM

  • Minimum privileges needed to create a new page at runtime

    Some body know the minimum privileges needed by a user to create a new page at runtime (using PORTAL.WWSBR_API.add_folder). Actualy the user have MANAGE_CONTENT on the parent page where the page need to be create by we got an exception (If we had the MANAGE_CONTENT on the page group, we dont receive this exception)
    thanks
    J.
    Message was edited by:
    user510720

    You'll need to set the "series" property of the chart. This will be an array of BarSeries objects.
    You may also need to set the horizontalAxis and verticalAxis properties for the chart. (I forget if there are defaults for these.)

  • How do you create a new page when user checks a box?

    I guess it would be a check box.  I'm looking for a way to have the user select create a new page when the user runs out of space in the text box that is given.  So if its possible is there a way to create a new page with a continuing text box when the user has selected the create a new page check box.  Thanks.

    Hi,
    You can achieve this by just making some changes to the textfield (and the page layout).
    First, select the textfield and then in the Layout palette, tick 'expand' height to fit'. When you preview the form, you will see that as you type information into the field, a scroll bar will appear. When you exit the field, it will expand automatically to display the full contents.
    Now the problem will be that the textfield will expand over objects that are positioned below it - not good!
    So what you need to do is set up your form for a flowed layout. First select all of the objects that do not grow in size and wrap them inside a 'positioned subform'. When you select the subform you can see this setting in the Object > Subform palette. You should name the subforms in the hierarchy. So you will end up with a positioned subform above your textfield and a positioned subform beneath your textfield (if you have objects beneath it).
    Then select page1 in the hierarchy and in the Object > Subform palette, change the content to 'flowed'. Hopefully the layout won't change too much (because you will have most of your objects in their positioned subform).
    Last step is to select the textfield and in the Object > Field palette tick 'Allow page breaks within content'. This tells Acrobat/Reader to split the object if it overflows onto a new page.
    Now save the form as a Dynamic XML Form in the save as dialog and previewed it. Now when the textfield expands it will push objects beneath it down. Also when it gets to the bottom of the page, it will start a new page automatically and continue the content on the new page.
    Here is an example:
    https://acrobat.com/#d=kwa4t2vu6mXbgMCyqEF0aQ
    Paul Guerette is giving an online tech talk on dynamic forms on the 30 November, which I would recommend. Details here:
    http://acrobatusers.com/events/49326/tech-talk-developing-flowable-form-content
    Hope that helps,
    Niall

  • Organizational structure : create a new object type

    Hi all,
    i need to create a new object type in Organizational Management, anyone have documentation, link or some helps to this subject.
    Thanks,
    Cheers

    Small correction
    Personnel ManagementOrganizational Management-Basic settings-Data Model Enhancement--Maintain Object Types
    T-code OOOT
    Edited by: Sikindar on Jul 30, 2008 3:57 PM

  • Dump error while creating a new page in smartforms URGENT pls!!!

    while creating a new page it is showing me a dump error , that the superior program execption was not intercepted , i have even given the next page field also correctly, i have attached a mainwindow to that page and a text element to that . .
    thanks
    sridhar

    Hi Deena,
    This error:
    "[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
    javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub"
    is known issue
    Go to metalink, article: Unable To Connect To OVD 11g Webinterface Using ODSM. [ID 1282757.1]
    You need to apply that patch.
    I hope this helps,
    Thiago Leoncio.

  • How to create a new document type for PO and Requisition

    Hi All
    Can you please help me with the steps of creating a new document type for PO and PR. Also the steps that need to be update for the procure pay cycle to work properly. 
    Once the document type is been created. I want to create the PO referecing the new PR and PO document type.I am new in MM.
    Thanks, Ros

    Hi,
    1. You can create new PR and PO docu types at the following path:
    For PR docu type:
    First you need to create number range for docu type or you can use existing number range also. The path for creation of no. range is
    SPRO>Materials Management->Purchasing->Purchase Requisition->Define Number Ranges
    Then create PR docu type at below path and assign no. range to PR docu type here only
    SPRO>Materials Management->Purchasing->Purchase Requisition->Define Document Types
    For PO docu type:
    Follow same procedure as mentioned for PR docu type. Path is
    SPRO>Materials Management->Purchasing->Purchase Order->Define Number Ranges
    SPRO>Materials Management>Purchasing->Purchase Order->Define Document Types
    If you want to create PO referencing new PR docu type, link the PR docu type to PO docu type at below path:
    SPRO>Materials Management->Purchasing->Purchase Requisition->Define Document Types--> Link purchase requisition - document type
    Regards
    Chetan

  • How can I create a new page in pages, without creating a new section?

    how can I create a new page in pages, without creating a new section?

    Good morning graywright,
    It sounds as if what you are wanting to do in the Pages application is to insert a Page Break. Follow the steps in this article -
    Pages '09: Inserting a Page Break
    In a word processing document, click where you want the break to occur, and then choose Insert > Page Break. 
    To remove a page break, click at the beginning of the line that follows the break and press the Delete key.
    In a page layout document, to insert a new page in your document, click Pages in the toolbar and choose from the template page options available.
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Creating a new "Class type" in release procedure.

    Hi guys,
    how can I create a new <b>"Class type"</b> in release procedure?

    Hi,
    But I do not know why anyone would create a new batch type for release strategies, it is totally unnecessary and provides no additional options. The class type indicates which objects can be classified and there is already one for release strategies.
    You can create a new class or add characteristics to the existing class used in the release strategy anyway.
    Ther is also NO WAY that two classes can be used in the release strategy and this new class type would not change this either???
    Steve B

  • Creating a new class type in the classification system

    We are wanting to classify objects in a ZTABLE.  We have a home grown system for defining our customer requirements that is used as the way for the sales people to communicate to the engineering dept. what the customer wants.  A new need has come up that seems to be a good fit to be able to classify our customer requirements.  I have been trying to create a new class type that is linked to our ZTABLE.  However, even though it looks like we should be able to do this I have not been able to do it.  I ran across some documentation that seems to imply that adding a new class type used to be possible, but no longer is.
    Can anyone verify that creating a new class type is still possible to do?  We are on ECC 5.0.

    Can someone point me in the right direction as to how to create my own Class Type.  Is there some documentation as to how to dow this? Other than what is fould in SPRO I have tried and tried but no joy for me. 
    This is what I have done so far:
    in SPRO:
    1) Created an Object Key for my table ZLO_CUSTREQ.  This table has a primary key of CRQNR (custormer requirements number which is I created)  The documentation says that I need to add this key field to structure RMCLY (I did that).  BUT, it also says the RMCLY is embeded in structure RMCLX and it is not.  Do I need to modify RMCLX to add RMCLY as an append structure?
    2) Went to Maintain Object types and Class types and selected my table. Double clicked on Class Types in the Dialog Structure tree, which displayed an empty list of class types. 
    I then Clicked New Entries button and filled in the fields: Class type(Z10), Description(Customer Requirements), Table(ZLO_CUSTREQ).  in the Screens group I selected Keywords and Characteristics.  In the Functions group I selected: Standard class type and Multiple classifications. I then Clicked the back arrow.  This returned me to the Class Types list which now displayed my new class type. 
    When I click the save button it kicks me out the the SPRO menu screen and I get the warning message "Class type Z10 does not have the classification status incomplete system" . 
    Then, it won't let me re-enter the Maintain Object types and Class Types screen due to an error "View cluster is already open, go back with F3"
    When I hit F3 I am returned to the main SPRO screen.  After navigating back to the Maintain Object types and Class types I continue to get the View cluster already open error.  The only way I can get back to Maintain Object types and Class types  is to completely exit SPRO and start over.  When I do, class type Z10 is gone.
    I have repeated this procedure several times with always the same results.
    Can anyone please help me?

  • Creating a new order type in OM

    Hi dear
    I have to create a new order type in order management.
    Once the order is booked, the inventory should decrease automatically without passing through "Release Sales Orders", "Transact Move Orders" and "Shipping Transactions".
    After the line status is closed, i can generate the invoice for the order through the autoinvoice master program in receivables.
    Can somebody explain me how to create such an order type?
    Thanks.
    Regards,
    Mustapha.

    Thx a lot for ur help dr.
    I have activated the material transaction interface and now the stock quantity has decreased.
    I just wish to confirm some points in the creation of the new Order Type.
    I have done the following setups:
    Order Category: Mixed
    Transaction type code: Order
    Fulfillment Flow: Order Flow - Generic
    Line workflow assignment: BO Line - Inventory Interface
    Default return line type: Credit Only Line
    Default order line type: BO Line - Inventory Interface
    Plz confirm if the setups parameters are ok especially the Default return line type: Credit Only Line
    Thanks a lot dr.

Maybe you are looking for