Template from shtml page

When I create a template from an existing page (shtml) and save it to the templates folder, it asks me to update links, I say OK. Now when I go to create a new page from the template (File>New>from template), I don't get the header, footer, or menu. These are separate files in an "includes" directory. How do I get the entire template to show. I undersatnd about setting editable regions and I've done a bit of reading and searching, but can't find out why I don't get the entire file (header, footer, menu) with my template. Thank you in advance for your time and consideration.

John,
I don't have time to really get into the code, but it does appear by navigating directly to the includes, they are fine - so that's not a problem.
However, what I don't see in the dwt file is any links to the stylesheets or to the javascript file or any of the onbody load events.... all the things that trigger the menu for example.
The template should include all the elements in the code from the rhinoplasty page - including the css and js links, but just mark out the areas that are going to be editable and where the includes will be located...
Below I paste a section of a page I use as a template, that uses a dropdown menu and includes... as you can see all the links to the css file, the javascript files and any behaviours associated with the page are all in the head of the document.  I've highlighted the editable and non-editable region as well as the includes, so you can see where they are - so you can see from my example compared to yours, you page is missing a lot of necessary code to make the page work  :-)
See if that helps and if not post back, I'm sure someone will pop in and hopefully offer any further help, while I take a break for the night
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="imagetoolbar" content="no">
<link href="../css/resources.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../scripts/resources.js"></script>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
MM_reloadPage(true);
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
//-->
</script>
<!--[if gte IE 5]>
<style>.menu a {zoom: 100%;}</style>
<style>.menu a {height: 1em;}</style>
<![endif]-->
</head>
<body>
<!-- beginning of templates dropdown -->
<!--#include virtual="/includes/mainnav.html" -->
<!-- TemplateBeginEditable name="toptable" -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<!-- TemplateEndEditable -->
<!--#include virtual="/includes/quickjump.html" -->
<!-- TemplateBeginEditable name="maintable" -->
<p> </p>

Similar Messages

  • Detatch template from all pages

    I have about 300+ pages and 1 Template. I would like to
    detatch the template from all pages and delete it. I will no longer
    be using a template on this site.

    P.S.   There seems to be something wrong with this forum software, at least  for me.  After I write this and hit Post, it says "There was an error,  please check below        ", where it says I can't post a blank  message.  I cut it and paste it back and it then works.
    Sorry - I hate this forum software passionately.  And thankfully, I'm not responsible for it!  You would have to direct these comments to Adobe's Customer service.
    As an example, the metatags remain from the template, if I had them in an editable region.
    The more important issue to me is:
    When    I said I wanted to remove ALL tags, I meant all the tags in the    documents, including style, font, heading, etc. I would like only    paragraph tags to remain.
    The objective is to take    pages that are built on a template and move them into a new template    with new styling.  Unfortunately, the author has loads of style/class    tags that need to be removed.  I want to start over by creating a new    template with new styles and taking the content from the original    editable regions, removing all the tags, putting it in the new   template,  and then adding the new style tags.
    Perhaps there is a simple way to do this?
    How many pages are you talking about here?  The only way to do it under the conditions you are describing would be to create your template, spawn new pages from it, copy content only from the old pages and paste it into the new pages, and then save the new page with the old page's name.

  • Opening downloaded templates from the Pages start menu

    can you do that? i downloaded a template for avery address labels and just have it sitting on my desktop right now. is there any way i can integrate it into my pages application thing so when i click to open the program, that template is one of the option i have to choose from?

    Pages stores documents you created & saved as templates in HD > Users > [your account] > Library > Application Support > iWork > Pages > Templates > My Templates. You can also move any downloaded templates into this folder to be available in the Pages template chooser. If you haven't saved any templates you've made, this folder path won't exist. The easiest & safest way to create it is to save a template. If you create it yourself, there is always the chance you may misname one or more. I have put an alias of this My Templates folder in a couple of places - in a folder of frequently accessed folders & files in my Dock and in the toolbar of Finder windows. You could also put it in the left panel of a Finder window. I find this is a much easier way for me to access my templates rather than using the Pages template chooser.

  • Stop Template From Overwriting Page Title

    I have a site of several hundred pages that I want to apply a
    template to. All the pages are already properly titled with the
    Title tag that I want. However, when I apply the DreamWeaver
    templates to the page, it overwrites the Title. Any advice on how
    to avoid this so that the original titles aren't overwritten when a
    template is applied?
    Also, is there any way to apply a template to more than one
    page at a time or do I have to open every file one at a time, apply
    the template, save, then start that routine over again?
    I am using Dreamweaver CS3.
    Thanks for any assistance you can provide!

    > However,
    > when I apply the DreamWeaver templates to the page, it
    overwrites the
    > Title.
    > Any advice on how to avoid this so that the original
    titles aren't
    > overwritten
    > when a template is applied?
    This is the sign of an improperly made template.
    Do this -
    Create a new page (Basic HTML).
    Use FILE | Save as Template....
    Look at the code in the head region of the page, particularly
    the editable
    region around the <title> tag, and the other editable
    region in the head
    called "head".
    Make your template file look like that.
    Always use FILE | Save as Template when you create your
    templates and you
    won't have this problem again.
    > Also, is there any way to apply a template to more than
    one page at a time
    > or
    > do I have to open every file one at a time, apply the
    template, save, then
    > start that routine over again?
    Not really. But this is not the best way to do it anyhow. I
    would always
    suggest that you create a new page from the template, copy
    and paste from
    the existing page into the new page, and then save the new
    page over the old
    one.
    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
    ==================
    "dbatbug" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have a site of several hundred pages that I want to
    apply a template to.
    >All
    > the pages are already properly titled with the Title tag
    that I want.
    > However,
    > when I apply the DreamWeaver templates to the page, it
    overwrites the
    > Title.
    > Any advice on how to avoid this so that the original
    titles aren't
    > overwritten
    > when a template is applied?
    >
    > Also, is there any way to apply a template to more than
    one page at a time
    > or
    > do I have to open every file one at a time, apply the
    template, save, then
    > start that routine over again?
    >
    > Thanks for any assistance you can provide!
    >

  • How do you remove a template from a page?

    I want to remove a template from some of my pages and can't
    figure out how to??

    The much better thing to do is to modify the template to
    accommodate the
    different layouts - that way, everything is still under
    template control,
    and you don't have to remember to also change things in those
    pages you have
    detached.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "SilverRoad" <[email protected]> wrote in
    message
    news:f85pmk$okm$[email protected]..
    > because these pages have a different format. i figured
    out how to do it
    > with modify - templates.

  • Deleted my BLANK template from my Pages templates page. Help!

    Hello
    Ive stupidly deleted my original blank template from Pages 09.
    Now I can only open exisiting templates all of have page rules that i cant seem to disable.
    How do I make a blank page so I can the template again. Or get rid of all page rules and start a fresh.
    Thanks

    Do you have a Time Machine back up? If so, navigate to (your account) > Library > Application Support > iWork > Pages > Templates > My Templates & then use Time Machine to find a previous copy.

  • Converting Template from European Page Size

    I am new to FrameMaker and to the company I now work for, which is a U.S. site from a European based company.  The FrameMaker templates were established using a page size of A4 (apparently standard size in Europe).  My problem is that when I try to print files on 11.5 X 8 paper, I receive errors and can't get the files to print.  Could someone please provide some tips as to how I can remedy this issue?

    If all you want to do is print the files, then make a PDF of the Frame files using Adobe PDF as the printer and setting the paper size to A4. Then print the PDF to the physical printer, setting the paper size to letter and select scale to paper size in Acrobat print dialog.
    Most likely, eventually you will want to reformat the files for letter size paper. To do this, you will need to edit the master pages in one of the files, changing the page size and margins, moving headers and footers where necessary. Then copy the master pages into all the files of the book. Then update the book.

  • I bought a magazine template from Pages Toolbox and it's only showing 2 pages out of 10 why?

    This morning I bought a template from the Pages Toolbox Kit. It's a new magazine template and when I viewed it before I bought it there were 10 pages. I procedded to buy it. When I opened it to work on it it is only showing the cover and the first page. Where are the missing pages on the template. I have tried everything and it is not working, does anyone know what the problem is....please help thanks!

    Pages '09 should still be in your Applications/iWork folder.
    Archive/trash Pages 5, after Exporting your files to Pages '09, and rate/review it in the App Store, then get back to work.
    Peter

  • How to set a template to multiple pages

    Hello,
    I'm using Oracle Portal 10.1.2.0.2 and I've created a hiearchy of pages and a template with regions for banner, navigation portlet and content area and I want to set up this template to multiple pages. Manually and uncomfortably, I can edit my page and in [Template] tab in [Properties] select my template. But how can I do it for example for a whole page group? Default template for page group doesn't work for me - though I've set up it in page group, in a particular page I still see [Page template]=none with no effect. Is it possible to do it through some sql query? (With specification of region, in which the page will be mapped?)
    Thank you for your advice,
    tb

    Observation:
    Pages from one page group can't see templates from another page group. In case of multiple page groups I have to put my templates in [Shared objects]. Unfortunately I didn't find a way (if even exists) how to copy template from one page group to another, especially to shared objects :(

  • Open dynamic tab from remote page

    Hi!
    I have a question. We use JDeveloper 11.1.2.1.0
    We are using dynamicTabShell template for dynamic tabs managment in our application. Everything works as it should if page is using dnymicTabShell template. But...
    I would like to have a Home.jspx that would load when client logs in. Home should be a special page without dynamic tabs support. I would like to have quick links on Home.jspx that would open certain page and bounded task flow with page fragments in application. How can I achieve that? Do I have to enable URL invoke property? Problem is, we implemented custom security that checks if client has proper permissions before task flow is launched through _launchActivity* method in launcher.java. URL invokation would make security more complex.
    In fewer words: Is there's a way of opening certain tab in application from page that does not use dynamicTabShell template? Or do I have to enable URL invoke property on bounded task flows with page fragments? How can I then check permissions if task flow is reachable through URL.
    I hope I'm being clear.
    Regards, Marko

    OK, is there no other way of opening a bounded task flow with page fragments in a page (which is using dynamicTabShell template) from other page that is not using dynamicTabShell template?
    Maybe calling _launchActivity in beforePhase is completely wrong approach, because "java.lang.NullPointerException: UIComponent is null" is returned.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • My hard drive crashed and I am using a different machine. How do I retrieve my personalized Pages 5.2 templates from my backup drive? I have searched at length and can't seem to find them.

    My hard drive crashed and I am using a different machine. How do I retrieve my personalized Pages 5.2 templates from my backup drive? I have searched at length and can't seem to find them.

    login_directory = /Users/yourname
    If the Library folder is not shown in your login directory, then open a Finder window, and press command+J. This will open a Finder View Options panel. On it, there is a selectable entry to Show Library Folder. Once this is selected, the Library folder will appear. Now, follow the instructions in my May 6 post. You will have to right-click on com.apple.iWork.Pages and choose Show Package Contents, before continuing.
    Correction: login_directory/Library/Containers/com.apple.iWork.Pages/Data/Library/Applicatio n Support/User Templates/
    The host software persists in changing the correct Application Support text above to Applicatio n Support, which does not exist.

  • Templates from Pages disappeared?

    I created a newsletter last October using a template from Pages and it was awesome. Now I'm trying to create another one and there are only 4 templates for newsletter. What happened to the rest that I saw in October? Did I lose them after upgrading to OS Mavericks? Where do I find them again?

    Your version of Pages '08/'09 was upgraded to Pages 5.
    Apple has removed over 90 features from Pages 5. Because Pages 5 can not do much of what was in Pages '09, Apple removed 2/3rds of the templates in Pages 5 and simplified the rest.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    If you had Pages '09 before, it should still be in your Applications/iWork folder.
    Archive/trash Pages 5, after Exporting your files to Pages '09, and rate/review it in the App Store, then get back to work.
    Peter

  • Deleting templates from Pages.

    I want to delete self created templates from Pages.
    I go to Application Support/iWorks'09 but all that is there are 'content' and 'frameworks' folders.  
    I am running on Lion 10.7.2. 
    Please can someone assist me. 
    Thanks

    For some reason the Apple has hidden the Library you need to go to.
    The way to the user's Library is hidden in Lion but it is easy to open. In Finder, hold down the Option key while clicking on the Go menu & your users Library will appear about halfway down the list.
    Pages stores those you created & saved as templates in (your account) > Library > Application Support > iWork > Pages > Templates > My Templates.

  • Can't find a way to delete Templates from the "My Templates" window in Pages.

    How can I delete Templates from the "My Templates" window in Pages?

    If you want to delete user-made templates, go to ~/Library/Application Support/iWork/Pages/Templates and you'll find the individual files that you can just delete.
    If you want to delete iWork's own templates, that's a bit trickier.  Right-click (or Control-Click) on the Pages application, choose Show Contents.  Drill down to Resources and Templates and there they are.  I'm not sure I'd delete anything from the application package, however, so my advice would be to copy the app and try it on that to make sure it doesn't foul anything else up.
    Good luck.

  • Template from page???

    I mistakenly have deleted a template.  I know I should have backed it all up, but what's done is done.  Now, I have several pages created from that template.  Is there any way of creating a template from one of those pages so that I can use that as the template again for those pages that used it???  Thanks!

    Actually you don't even need to use the 'apply to page' scenario.
    I would have opened a current child page, renamed it to test.html and left the original in tact.
    Using the test.html to recreate the template  -
    1.  Firstly detach from template.-
    2.  Now you will need to recreate the editable regions.  Easiest way wouuld be to have a child page open and copy and paste the editable region code into the various areas in the test.html page.
    3.  Remove content etc from editable regons.
    4.  Save as a template - using the same name as the original template.
    Make a small change the new template to see if it asks for the changes to be applied to the child pages of the very original template...... you will know by the dialogue box that comes up whether the changes were made to the child pages.  If done correctly, the child pages would update.
    I've used this process in the past and haven't had any problems doing it this way.
    Nadia
    Adobe Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

Maybe you are looking for

  • Printing gibberish

    I have an HP PhotoSmart Plus B210 Printer and an HP Officejet Pro 6830. Both printers are printing "gibberish". It may print 1/2 page of what I want to print, but then it prints a bunch of random letters or symbols or black lines all over the page. T

  • Updating master data from WEB UI

    Hi experts, Is it possible to change the partner attributes such as e-mail, box no, phone, etc from CRM WEB UI? I am planning to create an admin to where he can change the partner details in WEB UI. My assumption is the master data/attributes of part

  • Netboot drives not showing up on post start up of client macs

    Hello I just had a question regarding netboot my images works fine its just that when I boot up my client computers and hold the alt key to see available drives it does not show any of the netboot or netinstall drives. But when I open a clients compu

  • Indicator width

    I am facing a big problem regarding numaric indicator width. In my vi it is always showing as of 0 width and I am unable to change it. Is there any way to make it visible ?  There are hundreds of variables I have for which I am facing this problem. I

  • Where is the iTunes Side Bar in ver12. I hate not having the Side Bar!@

    Where is the iTunes Side Bar in ver12. I hate not having the Side Bar!@ Continually feel like I am in Apples 1984 video, except Apple replaces IBM as the "Big Brother", lets all walk in lock step to the Apple Reich! Give us back the iTunes side bar A