Html page saving as template

My index page (a .html page) wants to save as a template... I
do not want it saved as a template, but the only way I can
apparently save it is to do a "save as" rather than just save.....
If I try to just "save" it goes to the "save as template" screen.
Help!

Huh? You certainly do not need to go to save as everytime.
And what do you
mean, anyhow?
Besides, the suggestion you make here will destroy the link
between this
template page and its child pages. I think you are confused
big time.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"phenixwars" <[email protected]> wrote in
message
news:g7ctu8$cbd$[email protected]..
> hi. same thing happened to me recently. when you're
learning you're
> learning
> right? anyway, just go into the code and delete all the
areas that say
> <!--TemplateBeginEditable or anything that says
template anything in your
> code
> and then you should be able to save it without having to
go to save as
> everytime.
>
> hope it works
>

Similar Messages

  • Viewing HTML page saved  on the server from the browser

    Hi all
    In my application i am having some HTML pages saved on the server. I had given an option to the user to view the HTML page from my application. behind the scene what i am doing is that the view request will get handled by a servlet and from that servlet iam locating the HTML page on the server directory and sending the HTML page to browser by using the Servlet OutputStream. The HTML page is shown on the browser but the attached images are not shown. The images are also there in the server directory and are refered in the HTML file correctly. When i directly open the HTML file then the images are shown correctly.
    Can anyone suggest wat's wrong there.
    The code i m using is
    ServletOutputStream out=response.getOutputStream();
                        if(format.equalsIgnoreCase("pdf"))
                             logger.info("Seleted format is pdf..\n");
                             response.setContentType("application/pdf");
                        else
                             logger.info("Seleted format is html..\n");
                             response.setContentType("text/html");
    String file = ReportingConstants.URL_GENERATEDREPORTS+reportPath+itemName;
    // file : HTML file absolute path as string.
                        URL url=new URL(file);                    
                        BufferedInputStream bis=new BufferedInputStream(url.openStream());
                        BufferedOutputStream bos=new BufferedOutputStream(out);
                        byte[] buff = new byte[2048];
                        int bytesRead;
                        while(-1 != (bytesRead = bis.read(buff, 0, buff.length))) {
                             bos.write(buff, 0, bytesRead);
                             bos.flush();
                        }

    You have to undertsand how the browser handles images and other resources in a HTML page. In the HTML there is an image tag that has a url to an image which can be a reletive url or an absolute url (starts with a "/").
    If the url is a relative url the browser interprets the url as being relative to the url currently displayed in the address field discarding the last element of the url . So if the url in the address bar is http://www.myserver.com/myapp/mypage.html and the relative url is images/myimage.jpg, the browser will submit a request to the server for http://www.myserver.com/myapp/images/myimage.jpg
    Now let's say that you are call mypage.html from a servlet that has the url http://www.myserver.com/myapp/servlets/myservlet. Then when the browser tries to retrieve myimage.jpg it will use the url http://www.myserver.com/myapp/servlets/myservlet/images/myimage.jpg and since this is incorrect it will not be able to display the images.
    One solution to this is to change all of the image urls to absolute urls. That is the start with a slash where the slash represents the start of the url after the application domain name. For example you used an absolute url for myimage.jpg it would look like /images.myimage.jpg and when accessing the page through the servlet url (http://www.myserver.com/myapp/servlets/myservlet) the browser will discard everything after http://www.myserver.com/myapp and look for the image at http://www.myserver.com/myapp/images/myimage.jpg which is the correct url.
    A second solution is to use the HTML BASE tag which tells the browser not to interpret the image tag urls (and other resourses) using the current url in the address bar but to use the url supplied in the HTML BASE tag. The browser will still perform the same process for relative urls but now relative to the BASE tag url. Since the BASE tag url will be the same every time the page is accesssed the images should be correctly accessed no matter how the page is accessed (eg directly, using RequestDistpatcher or via your servlet)

  • Generating PDF-files from HTML-page saved as Unicode?

    I have followed this Quick Start on how to generate a PDF-file from HTML using web services in .NET: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000093.html
    It works just fine when the html-page is saved as ANSI, but when it's saved as UNICODE I get problem. The code runs without errors but the PFD looks really strange. Any suggestions on how to solve this? I really need to use UNICODE as my application needs to handle different languages (including for example Chinese).

    I found out that UTF-8 worked as well so the problem is solved. :-)

  • Why is the formatting missing from my html page created from a template?

    Hi All!
    Hope you can help me.
    I've created a new template in dreamweaver - all good. When I preview the template page in a browser everything looks perfect.
    But when I create a new html page from that template, even though the page looks perfect in design view, all the formatting is missing when I preview it in a browser.
    The site settings were relative to the site root and I've changed that to be relative to the document (not sure if that should make a difference). Either way, it hasn't changed anything.
    Any ideas?

    The site settings were relative to the site root
    If you have not enabled "Preview using temporary files" in your PREFERENCES then site root relative links will fail on preview. Why? Because site root relative links *always* begin with "/", and when the browser sees that, it (since it knows nothing about Dreamweaver sites) correctly looks for the path starting from the root of your hard drive, not the root of the DW site. When you enable preview using temp files, before handing the file to the browser, DW obligingly converts all root relative links to document relative links (which *will* work on preview) but to do that it must create a temporary file (there are other things that happen as well, like external files being embedded in the code for the preview, but that is not relevant to this discussion). The reason a temp file is created is so that these changes don't affect your saved file.
    So, if you want to use site root relative links, and do previews of your pages, you must enable the temporary files in preview. There is really no downside to doing this except that you may occasionally see a curious file named xzys139(.html in your local file list - this is a temporary file that was handed to the browser for preview, and for whatever reason was not deleted. In fact, this can save your bacon sometimes because it gives you a 'backup' of that page to which you can revert in the event of something catastrophic.
    In the larger picture, there is no benefit to using site root relative links UNLESS you are also using server-side includes. It will make your life a bit simpler if you do not use them.
    Finally, having made those links in your template file with the site root relative option enabled, changing that option to document relative will only affect NEW links, not existing ones. This is why Ken asked to see the link in your template - it's because he knows that even though you have made the option change, that old link will not be affected and will therefore fail on preview (assuming you have not enabled the temp file thing).

  • Can a menu link to .html pages?

    I want to make a DVD that will start with a video introduction, and upon finishing the brief minute or so intro, it will display a menu screen.
    1.) I would like the menu buttons to link to .html pages saved on the DVD. So after clicking on a link from the menu, it will open up a full-screen .html page.
    2.) Each .html page will link to other .html pages and have embedded images, and short quitcktime video clip links that will open up in small windows when links are clicked.
    3.) I need to have a link on each .html page that links back to the main dvd menu.
    Can this be done? Any issues with doing something like this?
    Thanks in advance for any advice!!!!

    Mark - you need to read up on DVD@ccess if you intend doing this through DVDSP. Yes, it is all possible, but you haven't quite got the way it works correct.
    What happens is you embed a URL into a menu. When the menu is accessed (typically by a button from a previous menu) the link is activated and the resource is launched. This opens in a window in front of the DVD playback window. The DVD player continues to run in the background - so you need to allow for that when returning. The viewer will simply close the web browser window and be back at the DVD window - by then you should have made the @ccess menu 'time-out' and return to the previous menu.
    You set up the HTML file (or whatever file you are using) in a folder on your Mac, and place it all within a parent folder. From within DVDSP you then use the property Inspector for the disc itself (click not he disc icon in the outline view) to specify a ROM folder. You browse for the parent folder you just created. Everything inside that will get added to the root level of the DVD, which is why you place your HTML inside a folder within that parent folder (unless of course, you don't mind your HTML file/s being scattered all over the root of the DVD).
    You set the URL for the @ccess link by using the following path format:
    file:///DVDname/ParentFolderName/filename.extension
    So if your html file is called 'index' and it is in a folder called 'ROM' on your DVD called 'Project' then the URL you set in the menu would be:
    file:///Project/ROM/index.html
    This should then get activated (as long as you have enabled DVD@ccess links in your DVD Player software).
    However, there are some caveats.
    Whilst this will work quite well on a Mac, a PC user will have a wildly varied experience - for some the links will work. For some the links won't work, and for some, all links will launch the moment the first link is encountered... ALL PC users will need to install the DVD@ccess software (which will be on the built DVD by default (DVDSP includes it there for you), unless they have already done so previously (unlikely).
    In order to maximise the experience for PC users and Mac users you should consider using Sonic's 'eDVD' to add the hyperlinks. This makes use of the Interactual player which has a far higher installed base in PCs, but will need installing in Macs. Again, this gets included on the disc when you use eDVD.
    eDVD is a PC only app - you'll need to build your project and transfer the VIDEO_TS folder to a PC, add the links and then burn it to disc or use software such as Gear Pro to create a DLT. Hopefully Jim (WTS) will see this and give more advice on how to use eDVD.
    Getting DVD@ccess working on a PC is a tricky thing to do - a lot depends on the PC software spec, and since you can't govern the user's choice in this, you are walking a tightrope of compatibility.
    Of course, you could simply set some text into your menu to say that there is additional content on the disc, and let the user browse to it at their leisure instead of relying on embedded links...

  • Flash not playing on html page after template is altered

    Hi,
    Can anyone help. If i alter anything on a template none of the .swf files on pages based on that template will work when previewed in the browser.
    I am using DW CS3.
    Anyone any ideas

    Good day,
    This issue can be considered as a limitation at some point because Dreamweaver lacked the ability to "auto-update", although it was not really the best practice to include Flash contents in a DW template.
    There is a workaround though. You may need to edit the template (.dwt) itself and work in Code View.
    While in Code View, use the Find and Replace (Edit > Find and Replace) feature so it will be easier for you to find what you are looking for.
    In the Find and Replace window, choose Current Document as value for Find in, and Source Code as Search.
    In the Find input field, type --> 'src' (including the single quotes) and click on Find Next.
    Once you found 'src', pay attention to the text next to it enclosed in single quotes. The value in the single quotes is the path of where the Flash file is saved. try to remove ../ if you happen to see it. (do this if the Flash file is located in the same folder where the HTML page which uses it is saved)
    Using Find and Replace again, this time, try to search for 'movie' (including single quotes). You'll see again the text next to it which is the same value as what you have searched before. Do the same thing, try removing ../. (do this if the Flash file is located in the same folder where the HTML page which uses it is saved)
    Save the DW template file and try to preview the pages again in the browser.
    I hope this helps.
    Regards,
    Christine R.
    Adobe North America Technical Support

  • Vs 2013 community screws up formatting of html page when saving file

    I have seen other people having this issue with suggestions like 'Formatting and visualizations, tag specific options. However this is not solving my issue
    example
    I type the following code this way
    <asp:Panel ID="Panel1" runat="server">
    <asp:Label ID="Label1" runat="server" Text="Days Old " />
    </asp:Panel>
    <asp:Panel ID="Panel2" runat="server">
    <asp:Label ID="Label2" runat="server" Text="Days Old " />
    </asp:Panel>
    then when I hit save the code changes to
    <asp:Panel ID="Panel1" runat="server">
    <asp:Label ID="Label1" runat="server" Text="Days Old " />
    </asp:Panel><asp:Panel ID="Panel2" runat="server">
    <asp:Label ID="Label2" runat="server" Text="Days Old " />
    </asp:Panel>
    This messes with the outlining and makes it hard to see where controls like Panel2 is in the code.
    I am using a fresh install of visual studio community 2013 on a fresh install of windows 8.1 so this is not an issue with my istallation.
    I have tried setting tag Specific options with no change
    It doesn't do this every time or just on asp:panels
    I have tried adding line breaks and spaces etc. this doesn't help either.
    is this just a bug in visual studio or is there a general setting out of wack. I didn't have this problem with vs express for web 2012. but I did have it with vs express for web 2013 and community 2013

    Hi PBPuddin,
    Thank you for posting in MSDN forum.
    Based on your issue, I tried to add this code as you said into a html page and then I saved the code. I found that the code formatting of the html page did not occur like you said that in VS2013 Community.
    So to check if this issue is related to the VS2013 Community IDE, I suggest you could try to copy the  same version of the VS2013 Community setup file on other machine and then install it check this issue again.
    (1) If you still get the issue, I assume that the issue maybe related to this VS2013 Community setup file, so please download it from Microsoft official website and then install it again.
    https://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx
    (2) If you did not get same issue, I suggest you could try the following suggestion to check the issue.
    (2.1) please try to open your VS in safe mode and then check if you install some add-ins in the VS IDE.
    https://msdn.microsoft.com/en-us/library/ms241278.aspx?f=255&MSPPError=-2147217396
    Or you could try to check if you install some third-party tool/ software on your machine.
    Hope it help you!
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Need help with creating template. Changes are not going through to index.html page

    Hi all,
    I have an issue with my template that I am creating and also a question about creating template Regions (Repeating and Editable).
    Somehow my changes to my index.dwt are not changing my index.html page.
    Also my other question is: For my top navigation bar and left navigation bar links, do I need to select and define each individual button or link as Repeating/Editable Region? or can I just select the whole navigation bar (the one on the top) etc...
    Below are my steps for creating my template...I am kinda fairly new to using DW and this is my first attempt to making a template following the DW tutorial CD that came with DW CS3.
    I appreciate any help with this...regards, Dano
    -Open my index.html file
    -File/save as template
    -Save
    -update links - yes
    -Select Repeating and Editable Regions (I selected the whole top navigation bar and selected Repeating Region and Editable Region, same with the left side navigation links)
    -File close all
    -Open the index.dwt
    -Save as and selected the index.html and chose to overide it..
    When I make changes to my index.dwt it is not changing the index.html
    I feel that I am missing some important steps here.....
    Website address
    www.defenseproshop.com

    Figured out

  • How to insert a Jquery slideshow to a template based html page?

    I would like to insert a simple jquery slideshow into an existing div in an html page which is linked to a template page. Do I add the js files and code to the template html or the child html where I want the slideshow? Do I need to divorce the page from the template? It seems that the js has to be put into the head from what I've read so far and this is not editable in a template child...
    lunairecollective.com/news.html is the page I wish to alter, currently there are very simple links with swap text of container. I would like to have a cyclic slideshow in the div to replace the current swap images and links.
    The website is in html4 transitional, and I'm using Dreamweaver cc
    Thanks for any help!

    Yes, there are editable areas in the child page as you saw from the website address. And I can see there are some editable elements in the head, though not all of it. Could you show me where I should insert the javascript code for a jQuery slideshow please? The relevant code follows:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html><!-- InstanceBegin template="/Templates/lunaire4_temp.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <meta name="description" content="The most recent review of Lunaire Collective printed in The Australian newspaper.">
    <meta name="keywords" content="review, The Australian, Whistler, Tom Green, Birtwistle secret theatre">
    <title>LUNAIRE COLLECTIVE: Reviews and photos of Lunaire Collective - News and Reviews</title>
    <!-- InstanceEndEditable -->
    <link href="desktop.css" rel="stylesheet" type="text/css">
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <!-- InstanceBeginEditable name="head" -->
    <script type="text/javascript">
    function MM_setTextOfLayer(objId,x,newText) { //v9.0
      with (document) if (getElementById && ((obj=getElementById(objId))!=null))
        with (obj) innerHTML = unescape(newText);
    </script>
    <!-- InstanceEndEditable -->

  • How do I customize my html page in Dreamweaver CS5 to an Avery template that I wish to print out?

    How do I customize my html page in Dreamweaver CS5 to an Avery template that I wish to print out?

    Dreamweaver and websites do not easily match up to Avery templates.  If you are trying to develop a program for customers/etc to print labels, you should look for a script to generate a PDF file to ensure the accuracy of the printing.
    If you are trying to use Dreamweaver as a substitute to print your own labels, I would highly recommend using Microsoft Word, or Adobe InDesign for a better solution.

  • File-Save window(saving the html page by clicking a button)

    Hi,
    when I click a button, a window should open which is same as the one which appears when we click File-save.
    This should happen to save the data that is displayed on the internetExplorer, when the user clicks the submit button on his page.(ie,Saving  the html page in his desired location).
    Thanks in advance.

    Refer FileDownload and FileUpload tutorial.
    If the idea is just to save the html page, I am not sure if it is possible.
    If the idea is to save the data in the html page then you can save it as xml format or csv format. Refer to the following tutorials:
    a) FileUpload and FileDownload
    b) Web Dynpro Binary cache
    Regards,
    Subramanian V.

  • O, Is there a way to fix grey ghosted template code on a html page?

    Hello, Is there a way to fix grey ghosted template wrong placed code on a html page in DWCS6? I have about 15 pages out of about 900 that need the same fix. Only one template is for these 15 pages and it  looks fine but won't attach to pages because of the error on line1.
    The first line below is the error problem and also below is the error when I try to attach the Template.
    (error problem)  <!-- InstanceBegin template="/Templates/Cotton_Silk.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/single.css" rel="stylesheet" type="text/css" />
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <head>
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <meta name="title" content="Luna Luz Silk Cotton and Cotton Lycra Button Front Dress  - TodaysClothing.com" />
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX
    (error)    not updated, error in template or instance file

    Hello, Is there a way to fix grey ghosted template wrong placed code on a html page in DWCS6? I have about 15 pages out of about 900 that need the same fix. Only one template is for these 15 pages and it  looks fine but won't attach to pages because of the error on line1.
    The first line below is the error problem and also below is the error when I try to attach the Template.
    (error problem)  <!-- InstanceBegin template="/Templates/Cotton_Silk.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/single.css" rel="stylesheet" type="text/css" />
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <head>
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <meta name="title" content="Luna Luz Silk Cotton and Cotton Lycra Button Front Dress  - TodaysClothing.com" />
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX
    (error)    not updated, error in template or instance file
    in Dreamweaver support forum • Reply • Like Show 0 Likes(0)

  • How to embed a HTML Page in a Web Template and display it

    Hi All
    Can you please share ideas how I can embed a HTML page in a web template and how I can make it displayed as a popup when a button is pressed.
    Also, how do I call a HTML page stored in Portal KM from the press of a button in the web template.
    Your help is greatly appreciated.
    Thanks
    Karen

    Using C# or javascript to authenticate the user to AD to read the property directly will be very difficult. Creating a custom user profile property and adding a sync from AD to that property is definitely the easiest way to do what you are describing.
     Once its in User Profiles there are lots of samples on how to add it to the page.  
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Issue with templates and updating .html pages in my website

    Hello,
    I have taken over updating a website for the charity I work for. I have updated some eleements of the .dwt template page, however it does not seem to be updating the other .html pages for the website. I do not get the update pages box just a box saying 'You placed the editable region "breadcrumbs" inside a block tag. Users of this template will not be able to create new blocks in this region. Move the region outside the block tag if you want users to be able to do this" - I click OK and it saves the .dwt page, but does not update any other .html pages.

    I cannot answer your question(s), I have only hearsay experience, but I can offer some links on where to get information regarding Flash SEO...
    http://www.seobook.com/archives/001457.shtml
    http://www.flashseo.com/
    http://blog.searchenginewatch.com/090317-120653
    and the O'Reilly book: Search Engine Optimization for Flash by Todd Perkins, ISBN: 978-0-596-52252-0

  • Only non html pages being saved in History; also can't change homepage

    The last time Firefox actually saved an html page in the history was May 16th. Firefox will only save pages that I visit that are non-html pages, a page that ends in .pdf, jpg, .doc, etc.
    I have tried several times messing around with options - picking don't remember history, then restarting and selecting remember history.
    I uninstalled Firefox, but kept personal data. Then I reinstalled. Still didn't work.
    I then used the reset FireFox. It only made things worse. Now I can't change the home page.
    This is Firefox 22 beta on Win 8 Pro 64bit

    Does this only happen when you close and restart Firefox or already during a browsing session?
    In case you are using "Clear history when Firefox closes":
    *do not clear the Browsing History
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.

Maybe you are looking for