Why have a clue and main.html file?

Hello

Yet another question. Why have an index.html file and a file main.html for the same web page? It seems to be different from the other...

Thank you

Mobie Boy

index.HTML is a home page.

main.dwt is a Dreamweaver template page and never needs to be uploaded to a server (unless you share the file with anyone). TPL files are only used by Dreamweaver to create child pages based on them.

main.HTML is probably an example of child page from main.dwt (and not a secondary home page, at least, not intentionally). When you have a site defined in DW and a model defined for the site (a file .dwt in the site Templates folder), you can create pages based on the .dwt by selecting file > new > Page from the template. That selection will create a completely new page, based on the .dwt file where only the areas defined as editable regions in the .dwt will be editable in the child page. When you work with templates in DW, you can make any changes to a non-editable region in the .dwt file and it will propagate to all child pages based off of him.

It's a nice way to make changes large site for small Dreamweaver sites. I would never recommend using a file .dwt for sites approximately 15 to 20 pages. This is where SSI should take over and make life much easier in the updating and editing Department.

Tags: Dreamweaver

Similar Questions

  • Why have I not to close a file refnum after doing a file before a file of reading and writing

    Looking at the example of read-write text file I noticed on the Refnum case after making the text file write she closes the refnum and to read the text file opens again. Why must you close and reopen?

    Why can´t you use open file with the option create/open with read/write access, write to the file and then read it (and close the reference only after doing the reading? I try to do it but I Don t get all the data when I read from the file...

    OK, I assume you mean case #1 in the example I have just mentioned.

    If you do not close the file, you need to set the file position at the beginning before reading, otherwise it will read from the current position in the queue, which is after the stuff that you just wrote.

    (Re-opening and closing will be reset to zero position of ot, of course.)

  • Why can I I have no display and edit RAW files on the iPad?

    CMA view or edit RAW files in iPad? All three apps of photoshop can't see or edit RAW files. The pictures are on the Filmstrip, and other applications can open and edit them!

    Sorry, we currently do not support importing RAW files in difficulty of the PS. Please open your RAW file in another application, and then choose share > open with... > Photoshop Fix.

  • Why have I permission to open my files? I'm the only user on my computer.

    I have used all versions of windows except Vista and I am amazed by the level of intrusion of Windows 7.  I have an external hard drive that has been the essential motivation of an old laptop with Windows XP SP2.  I keep all of my old photos, music and various junk in it.  Tonight, I was feeling nostalgic and wanted to look at the OLD photos for years (which were originally on a Windows 98 computer).  Never, I have placed restrictions on the files on this disc.

    Windows 7 says I'm not allowed to open more than half of the images.  They're just JPEG files.  ARE YOU SERIOUS?  I have been bothered by this obnoxious 'permissions' system when I met first of all he's trying to move and unpack patches in the directory program files.  Now this is getting ridiculous.  Why can't some images while others are in the same folder?

    Please, if anyone can help me to disable these blocks "permissions" on my computer, it would be greatly appreciated.  I don't care if it make me more vulnerable to the virus, these pictures come from my childhood.  I'm ready to burn this point of sale, I am so frustrated with this garbage.

    How to grant permissions in Windows 7

    1. Locate the file or the folder where you want to take in charge in Windows Explorer.
    2. right click on the file or folder and select properties from the Menu
    3. click on the Security tab, then click the button change. Click OK to confirm the UAC elevation request if necessary.
    4 Select user/group permission windows or click Add to add other user or group (you may need to do this for multiple users - ex: administrator and your own user account).
    5. now under permission section check the rights you want for the user that is to say 'Total control' in the "Allow" column to assign the rights to full access control permissions to the user.
    6. click OK for changes to take effect and click OK again to exit the Properties window.

  • Flex 3 bases of data and large Html files

    Hi guys,.

    New to flex and I have a question, any help would be much appreciated, I a database of sql server 2005 I use orb web is there to connect throu flex, I books stored in the database of each page of a book is a separate file and has in all html tags, what I would do , it is display one page at a time to the user and then have them click a button to go to the registration page, that I could handle in a datagrid, I suppose, but the text pages are quite large is there a component that would be better for a large page of text such as the component text if so could you give me an example of how bind it my data and how to stop the tags HTML appears as text, or if I could customize the layout of the data grid that could be a better solution.

    I posted an attempt to use a text component, but have failed so far:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:mx mx:Panel ' http://www.Adobe.com/2006/MXML "layout ="absolute"width ="100% "height ="100% "title ="The Lord is near"> "
    < mx:Script >
    <! [CDATA]
    Import mx.collections.ArrayCollection;
    Import AlphaOmega.ActiveRecords;
    Import AlphaOmega.Alpha_Calendar;
    Import mx.controls.TextArea;

    public void GetTodaysLin (): ArrayCollection collection

    {
    Return ActiveRecords.Alpha_Calendar.findBySql ("SELECT Cal_ID, Cal_Text, Cal_Date, Cal_MP3 FROM Alpha_Calendar WHERE (Cal_Date = CONVERT (VARCHAR (30), GETDATE(), 102))" ");
    }
    []] >
    < / mx:Script >
    < mx:Text htmlText = "{GetTodaysLin}" width = "100%" height = "100%" id = "Lin" / >

    < / mx:Panel >

    Thank you

    GetTodaysLin seems to return a collection of ArrayCollection, but text 'text' property should probably not be an ArrayCollection collection. You should probably populate an ArrayCollection collection in creationComplete and then to initialize the text control with myAC.getItemAt (currentItemNum), where currentItemNum is a uint variable, and then subsequently and buttons to change the text using currentItemNum ++ or currentItemNum.

    currentItemNum should be can be linked with [Bindable], and you will need to make sure that the currentItemNum is not < 0="" and="" is="" not=""> = myAC.length ().

    If this post has answered your question or helped, please mark it as such.

  • Combine word files: Word needs more security-access to each file? I have to find and report each file...

    I use MacBook Pro mid 2012, latest OSX and Word 2016, 15.24, cloud of Document Adobe version 2015:010:20056

    Architecture: x86_64

    Build: 15.10.20056.167417

    AGA: 4.30.61

    CoolType: 5.14.5

    JP2K: 1.2.2.35592

    I'm trying to combine files, dragged two files word to combine-window, hit button combine and acrobats starting word to pdf conversion... but every time process stops due to the need to Word more than access to the files... I have to select each file again from the server to the conversion process... will this security? check for each document means a lot of extra work.

    Especially since I've made a few changes in the settings - the path of the server and the research should be trusted in the earlier version, it was possible to drag wordfiles to combine-window, hitting a button combines and conversion started in automatic.

    Since I combine the files several times a day, it's really annoying... How can I get rid of document access-windows in secure servers? I already tried to define the servers/search path as "Approved" in DC

    / Nils

    Hi Nils,

    It seems that this may be the known problem of Microsoft Office: grant access File: cannot open the document: user - Microsoft Community

    Have you checked with Microsoft on this issue?

    Kind regards

    Tariq Dar.

  • Why have I not and elliptical or circle Selection tool in photoshop touch?

    Is could someone please tell me why I have not a circle or an elliptical selection tool in photoshop touch... All I have is a rectangular selection tool.

    The circle selection tool is available by tapping and holding the icon of the marquee tool.

    Please take a look at the v1.3.pdf of PSTouchQuickStart:

    http://forums.Adobe.com/servlet/JiveServlet/previewBody/2452-102-4-3046/PSTouchQuickStart% 20v1.3.pdf

  • How can I fix the error 87. I have no installer and literally no file, adobe on my PC, but I still get the error code. If adobe wants either too much of a hassle and I cannot ffix it I'll just find another supplier for these programs.

    As stated above, I have no installers or the files on my pc, but the installer CC adobe still gives me 87 error code

    Thanks too you two to try to drive me to the bottom of the right way to difficulty it but none of you are guys suggestions worked, I had to completely reboot my computer in admin mode suppression of swathes of my hard drive, even the parts that were not affects adobe cc just so that I can make it work

  • I want to display and print HTML file I recorded on my hard drive.

    On the Symantec Web site, when I clicked for more information, he has opened a web page, but the Firefox menu did not appear in the upper right corner. I wanted to print the page. I right click to save the page on my hard drive. I still want to print it. What should I do?

    In almost all situations, Ctrl + p should call the print dialog box. (Unfortunately, there is not a similar shortcut to go to preview before printing, so you can see what you will get.)

  • Make one. Compatible with a HTML file. CSS file

    Hey. After all what I found possible shortening, I'm back and have found that my header.html file is incompatible with the style sheet "common-style". I need these two compatible files to be able to merge the header with my other files. If you find these difficult to change because of the pure life files, I'd appreciate help on how to make the even shorter files (while maintaining the compatibility). Thanks for the help.

    The 'head ': Html file

    Expertpcguides.com

    The style of the "head":

    http://www.expertpcguides.com/CSS/header-styling.CSS


    Jeh CSS Stylesheet whose header is incompatible with:

    http://www.expertpcguides.com/CSS/common-style.CSS

    Then work the other way around.  Develop your header, a line of CSS code both inside your stylesheet to common.css.  Save & preview after each addition.  When something breaks, stop & repair immediately.

    Nancy O.

  • The html file size

    Hello

    In dreamweaver how does one check the size of the file and the html file?

    Bob

    Rik is quite right, but that number may be misleading because it does not include scripts, images, and other files of dependant who uses the page.  For example, a 6 KB html file could really be 419 KB when loading in browsers.

    If you want a free analysis of the actual size / speed of your page, have a look at the link below.

    http://www.websiteoptimization.com/services/analyze/

    Nancy O.

  • What is the html file that is generated with published file?

    Love the program, just a beginner who is unclear about the important facts on how to bring the Flash files to the internet.

    My Question:

    Is the HTML file which is generated when the Flash project seems sufficient for just the name index.htm and then post the file .swf, the javascript file and the file index.htm to my internet site and then give address for others to see?

    - or - what I have to do a classic HTML file with a head and a body to contain the code that is written in the published HTML document generated by the Flash?


    TIA,

    Ken


    You need integrate the swf file with it is designated object & embed tag, best way is to look at the HTML code generated by Flash and copy & paste the necessary tags in your current design.

  • Security How can I remove the copy and paste the files I used?

    Security How can I remove the copy and paste the files I used?

    I can't get rid of all the e-mail addresses I have copied and pasted.  No matter what I will always appear if I hit paste again.  This is a shared computer and I would rather not have my copy and paste the files stored on the computer, after that I quit.

    Thank you

    Hi Ron,

    You can copy or move information (for example, text and pictures) between files and programs using temporary storage called the Clipboard. The Clipboard is not visible, so even if you use it to copy and paste information, you never actually see the Clipboard when you do this.

    The Clipboard contains a block of information at a time. Whenever you copy information to the Clipboard, the old contents of the Clipboard is replaced by the new information.

    When you shut down the computer everything is stuck in the memory of the Clipboard is cleared.

    Please click the below mentioned link to get an overview of the clip board memory.

    http://Windows.Microsoft.com/en-in/Windows7/copy-information-between-files

    Answer please if you have any questions.

  • What is the difference between the cat of the IR and IR data files in lightroom it please

    I have cat IR and IR data files in my backup. These two are big files of 500 MB, 900 MB respectively. My understanding is that these records did not contain real images but only thumbnails with the mods of lightroom. What is the difference between the cat of the IR and IR data files and should I make a second copy of both or the cat IR file

    The.lrcat is the file in your catalog. This is an important safeguard.

    The .lrdata files have previews. These can always be regenerated from the library, but it could take some time a large catalog.

    It is advisable to save them both. But if you are short on disk space, save the .lrcat file.

  • Hello, I just reinstalled Firefox 8.0 and imported my backup bookmarks.html file, but the bookmarks toolbar has not changed with my old favorites. Is this a problem or I have to manually add each bookmark again?

    don't know what details to tell you, that all important data are written in the question. Thank you.

    You have now two folders of Bookmarks Toolbar. One of the installation of Firefox (the main one) and a 2nd file to import a bookmarks.html file.

    Find the Bookmarks Toolbar folder that is under the bookmarks Menu folder and copy or drag ' drop these bookmarks in the Bookmarks Toolbar folder that is above the bookmarks Menu folder.

Maybe you are looking for