Using SSI with html page

I have several html pages I made use of SSI. The code would go like:

<div class="footer">
     <!--#include file="../ssi/footer.html" -->
      <div class="clr"></div>

But when I preview the page on the server, it does not show the code. If I bypass the SSI and paste the HTML directly that he presented.

I'm sure that the path is correct.  I can browse it and I also tried to put in the entire url just in case Insert of DW messed.

Insertion of the SSI works very well with the php files, but when I try it in htm files, I can't work.

Y at - it something I am doing wrong?

Most of the guests did not analyse the data on .html pages.  Some will if you ask.

For best results, rename your parent pages (those that contain include statements) with .shtm or .shtml extension.

Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
http://ALT-Web.com/
http://Twitter.com/ALTWEB

Tags: Dreamweaver

Similar Questions

  • form php with html page?

    This is an excerpt from a short form, I would like to put up on my site in HTML single page. It is powered by PHP, and my intention is to insert this form in the footer of the site.

    Can I copy the code for the form and insert in my footer & who would do it? Just change the extension of the file to PHP to support and then make the call PHP at the top of page?

    And, if it becomes too difficult - how could I change the electronic form to HTML only if needed tag?

    < div class = "formblock" >

    < label = "howHeard" class = "text-reader-screen" > how did you hear about this? < / label >

    < select name = "howHeard" id = "howHeard" value = "<?" PHP if (isset($_POST['howHeard'])) echo $_POST ['howHeard'];? ">" class = "tick" >

    < option value = "volvo" > Volvo < / option >

    < option value = "saab" > Saab < / option >

    < option value = "mercedes" > Mercedes < / option >

    < option value = "audi" > Audi < / option >

    < / select >

    <? PHP if ($howHeardError! = ") {? >}

    < br / > < span class = "error" > <? PHP echo $howHeardError;? > < / span >

    <? PHP}? >

    < / div >

    Is it a good idea to make the HTML page in a PHP page? -Thanks!

    Can I copy the code for the form and insert in my footer & who would do it?

    Well, the extract is not form tags, and you will need a script for the treatment, which may be the same "page or another page. You also need a way to send the form.

    Is it a good idea to make the HTML page in a PHP page?

    The server must commit more resources to treat a PHP page, so you don't want to convert HTML pages to PHP pages unless there is code inside PHP. But there is no harm in turn an HTML page in a PHP page.

  • How can I use an external HTML form with a file upload in my page of MUSE?

    How can I use an external HTML form with a file upload in my page of MUSE? I know I can insert an external form, but how do I create a link to my email

    Yes, in most cases. If it is not in your actual embed code, you will need to be added to the script that uses the code. There are literally hundreds of form manages the codes out there on the web, it would be impossible to tell you exactly where it needs to be added. Your best option is to use a third party such as JotForms or WooForms shape provider and use the third Muse Widgets for these services.

  • Can I use multiple &lt; class p 'logos' = &gt; tag with the same name in the same html page?

    I was told do not to use the < div class > tags too many times. I used them for the texts, the images, to clear the floats, basically, I built my website using multiple < div class > tags. So if I can not use several tags < div class > can I use the tags < class p > several times in the same html page?

    I have a string of logos at the bottom of my Web page that all use the same css for all logos features. It would be the right way to write the code:

    HTML

    < class p 'logos' = > Logo1 < a href = "... > < /a > < /p >"

    < class p 'logos' = > Logo2 < a href = "... > < /a > < /p >"

    < class p 'logos' = > Logo3 < a href = "... > < /a > < /p >"

    < class p 'logos' = > Logo4 < a href = "... > < /a > < /p >"

    < class p 'logos' = > Logo5 < a href = "... > < /a > < /p >"

    < class p 'logos' = > Logo6 < a href = "... > < /a > < /p >"

    CSS

    .logos {}

    margin-left: 10px;

    }

    Here is my site: http://www.darbymanufacturing.com/test_website/index.html - this is the site built with all the tags div class

    I restarted the site in order to write the code correctly so that I don't come from errors when downloading from the server, as I have with the above link.

    However, custom (and it's only a good one I think) are to use IDS to identify the primary container on your page.  Clearly you usually only have one header, content, footer, etc., area on a page.  This allows you to immediately identify where these rules apply.  Using a more generic class selector does not give you the same immediate locatability.  In addition to this, ID selectors have a specificity greated than the class selectors, which reinforces the rules cascade in the specific containers.

  • Here's a strange. I have a HTML page with this time a wmv video. It works perfectly from a USB stick or SD card, but does not work when they are copied to the hard drive

    I have an HTML page created with web expression 4. It contains only a wmv video. It works perfectly when it is called from a USB stick or SD card, but does not work when they are copied to the hard drive. The results are the same with IE and Firefox. It don't make no difference if I use Media Player V9 or V11. He has no control on the page Media Player. Video and html files are in the same directory. Here is the code snippet:

    LIFT, DRAG, THRUST and GRAVITY










    If I run it on a machine with Win 7 there is no problem.

    Richard Grosser

    Hi Richard c. Grosser,.

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Microsoft Expression forums.

    http://social.expression.Microsoft.com/forums/en-us/categories

  • Page DW8 with HTML to fit in the browser window

    I created a basic html page and wish to have the page continue to fit in a browser window as the window changes size. Tried with CSS "background-size = 100%" fixed online codes, but doesn't seem to work.

    The background-size setting is only to set a background image. Would not resize the entire page.

    Several things working against you in your code. The first and most difficult to treat while using it on the page, is "position: absolute". In General, this setting is the opposite of reagent. Position: absolute "can" be used in sensitive designs, but it requires additional code to make it happen. Absolute positioning of objects include an exact amount of pixels high, left, down or to the right of the parent (just up and left by default in DW) element. In your case, #Layer1 will always be 431 pixels from the top of the page and 329 pixels from the left that is decidedly "not suitable."

    These parameters (position, top and left) must be removed and the APDiv/layer button should be ignored here on out if you want your design to adapt to different screen sizes. You will need to learn how to position elements using css float, margin and padding if you want to create something sensible. Running through the tutorials at http://www.w3schools.com/css for some databases. Some other links on css positioning...

    Learn CSS positioning in ten steps: absolute relative static position float

    CSS - float and clear formatting

    Your width settings also say your items to an exact pixel size as well. To make your attentive elements, you can use % width settings. The actual size of an element using a percent width is determined by the setting of its parent element. For example, if you set the width of #Layer1 to 80%, instead of 674 pixels, it will eventually be 80% as wide as thesetting the tag. Given that theis assumed 100% unless otherwise stated, layer1 would end up being 80% of the width of the browser window. With ' width: 60% ", you can use a setting min-width" never get smaller than that "in css. If you set your same #Layer1 width: 80% a min-width: 400px will keep it from never has less than 400 pixels wide.

    Once you have the basics of layouts css under your belt, look into CSS Media Queries. Basically what they allow you to do, is put "break points" in your .css file so "once that window reached 401 pixels or more, use this css instead" so it allows you to write completely different rules for various devices.

  • How to display the new page with HTML, click the ADF

    I have an ADF page with a button.

    When I click that button, I call a method in backing bean that calculate a string that is HTML. I want to make this HTML as a new page in the same window of the browser as a result button click.

    How do I do that?

    I can also call a methodCall to task flow on a button click. But my next page should be a new HTML page including the calculation in the method call.

    You can convert the calling method in a servlet - your ADF page calls the servlet that returns the HTML code - this may be as a separate page using an af:goLink to call the servlet or it can be included in an af:inlineFrame in your page.

    Another option is to return the HTML string as the value for an af:outputText and the attribute of the escape of this element the value false.

  • Please help send an email with the html page in the body

    I need an html page on the body of an email to send a blast to send to our customers.

    HTML emails can be a bit complicated. You can design in Dreamweaver, but you shouldn't really have to send emails of mass through to your personal e-mail account (or your company account). Could you put blacklisted by spam filters in the company and make your pretty useless email addresses.

    Mass emailings (more than a few hundred addresses) I use http://www.icontact.com.

    You can build the email through their site (without DW) or you can import your DW html file to their service.

    Some things to keep in mind with the HTML email...

    1. the use of absolute links to the images and files on a server you control

    2. use a limited amount of inline css (no external css or integrated)

    3. specify in table based layouts, css support is spotty at best with email clients

    4. thewill be eliminated a number of email clients don't rely not on what it is between theTags makes to your recipients

    5. do not use an email only to images. HTML text is very important to keep from being labeled as spam, make the secondary images in the message, many email clients will not download images without permission of the user

    6. include a link to unsubscribe so people can get off your list

    There are more things to watch, but who are the biggest. Here are some other good info: http://alt-web.com/Articles/HTML-Emails.shtml

  • How to open an HTML page that is part of my project using Captivate 6

    I'm looking to create an HTML page that uses javascript to extract information from Captivate and then go to the window of the browser in the form of report.

    I can't see how you can open a page Web URL of Captivate (by putting in an address explicit IE www.abc.com or http://www.abc.com/myReport.html)

    but I'm curious to know what address can I use if the html file is in the SAME folder in the index.html file that launches the captivate project (or maybe a folder down)...    I am eager to ensure that this works if I just publish the project to a Web server or not.

    I thought, I could use a relative reference (IE something comme.\myReport.html), but I had no luck so far

    Ad hoc solution to Captivate demigods might provide us with a built-in server.

    Copy the dependencies in the said folder IE: C:\Users\Tom\AppData\Local\Temp\CP2840464090993Session\CPTrustFolder28 40464091009\CaptivatePreviewLoader\) then you will be able to simply F12 it and get an overview of your career. Remember, this is based on a single session of CP. If you close off CP, you lose this feature and need to copy these files in the folder of the new session again.

    The proposed closure should not affect it this way, only closing the application should.

    Seth

  • 10.6.8 using.  With Safari I can view the Apple start page.  OK, using Firefox.

    10.6.8 using.  With Safari I can view the Apple start page.  OK, using Firefox.  What happens in the last 24 hours. How can I solve this?

    You can solve it using only not the OS X version 10.6, Apple Safari here on out!

    Over the years, there were no updating security for what be for OS X 10.6.8 Snow Leopard!

    This version of Safari is obsolete and has not been safe to use for many years.

    There is one more, last recommended Mozilla Firefox web browser update complete (worms) 48.0.0 that is always available, and probably will be more safe to use until the end of the year.

    https://www.Mozilla.org/en-us/Firefox/desktop/

    Mozilla is complete, at the end of the present in August, full support for Firefox on OS X 10.6 - 10, 8.

    OR

    Guaranteed ONLY (not more new web browser feature) support for an earlier version of th is permanent to Mozilla Firefox, web browser (worms. 45.0.0) through their program of Firefox ESR, (that you CAN download, install and use) which will continue to receive the support of a security update to Firefox until next April 2017 for OS X 10.6-10, 8.

    You can use these versions of the ESR. Ignore the notes support educational/business.

    https://www.Mozilla.org/en-us/Firefox/organizations/FAQ/

    OR

    See SeaMonkey.

    http://www.SeaMonkey-project.org/

    Good luck!

  • I used to reload a page that several times with just a long wait on the F5 key, but now it hard to do 2 refills with even a prolonged pressure on F5?

    In the past, I used to reload a page several times with just one press the F5 key, with pressing long it charge more often, now long or short by pressing the F5 key is sufficient to reload a page or two times

    OK guys, I found the problem, it was because I had MCAFEE Advisor which limited my refreshes, but when I disabled it, everything is back to normal, loool

  • Let me know if there is an option to differentiate is with the color of the tab or return background color tab. I use to open differrent pages on the same site in different tab or window, in order to identify each i

    Let me know if there is an option to differentiate is with the color of the tab or return background color tab. I use to open differrent pages on the same site in different tab or window, in order to identify each...

    Try:

  • Try calling a WCF service hosted locally by a HTML Page customized using jquery. Error: 451: undefined

    Hello

    I created a WCF Service, customized and hosted locally by using application Console VS.

    I need to access the methods of the custom of a custom Page HTML application, using JQuery.

    I tested the WebService in Wcftestclient.exe and it works very well.

    Now, while trying to access it from the HTML Page (not no matter what Web Application), he runs into function() error of $. ajax()

    State of error: 451

    messageReason Error: Undefined

    Please share your suggesstions how approach when accessing the client HTML Page.

    Hello

    The question you posted would be better suited in the MSDN Forums; We recommend that you post your question in the MSDN Forums to get help:

    http://social.msdn.Microsoft.com/forums/en-us/WCF/threads

    Keep us updated on the status of the issue.

  • LOVs using cascading on the Page elements with values exceeding 4000 characters

    A few days ago, I asked a question on the community, but it turned out that there was something wrong with my account and they have removed the item, so I'll just post the solution I found here now:

    Well, I found a way to use LOVs cascading on page elements with values exceeding 4000 characters:

    Let's say I have a shuttle named P1_ORGANISATIE with "List of values" box, a dynamic LOV named "Source: lists of values Query" containing the value:

    Select NAAM as display_value, ID like return_value

    of NINEHAM

    order by 1

    If the number of records-NINEHAM is insufficient, the length of the value of P1_ORGANISATIE, which is a list of concatenated with colon separated digital ID, can exceed 4000 characters.

    Now, suppose I have a list of selection called P1_TEST that is connected through "List of values"-> "Cascading LOV Parent article (s)" with P1_ORGANISATIE, using a named LOV dynamic with "Source: lists of values Query" containing:

    Select distinct TST. NAAM as display_value, TST.ID as return_value

    of the OTE NINEHAM

    Join the AFDELINGEN ADG ON (ADG. OTE_ID = OTE.ID)

    Join the DEELNEMERS DNR ON (DNR. ADG_ID = ADG.ID)

    Join TESTDEELNEMERS TDR WE (TDR. DNR_ID = DNR.ID)

    Join TESTEN TST ON (TST.ID = RDT. TST_ID)

    where instr (":" |: P1_ORGANISATIE |) '':'', '':'' || OTE.ID | :'') > 0

    order by 1

    In this case, when P1_ORGANISATIE exceeds 3998 characters, you'll get an "ORA-01704: string literal too long"-error and the P1_TEST will show an element called "undefined".

    A way around this is possible because for a named LOV, you can use a "function that returns a sql query" instead of a simple sql query. In other words, we can apply in the context of PL/SQL and thus have maximum for expressions of 32767 instead of 4000 characters. In addition, it is possible to use the two APEX_UTIL. STRING_TO_TABLE and APEX_COLLECTION.

    Setting "Source: lists of query values" on the LOV appointed to P1_TEST with the following code will work:

    DECLARE

    l_selected APEX_APPLICATION_GLOBAL. VC_ARR2;

    l_qry varchar2 (32767): =.

    "Select distinct TST. NAAM as display_value, TST.ID as return_value

    of the OTE NINEHAM

    Join the AFDELINGEN ADG ON (ADG. OTE_ID = OTE.ID)

    Join the DEELNEMERS DNR ON (DNR. ADG_ID = ADG.ID)

    Join TESTDEELNEMERS TDR WE (TDR. DNR_ID = DNR.ID)

    Join TESTEN TST ON (TST.ID = RDT. TST_ID)

    $1

    order by 1';

    BEGIN

    IF: P1_ORGANISATIE IS NULL

    OR LENGTH(:P1_ORGANISATIE) < = 4000

    THEN RETURN

    Replace (l_qry

    ,'$1'

    ,' where instr (":" |: P1_ORGANISATIE |) '':'', '':'' || OTE.ID | :'') > 0'

    );

    ON THE OTHER

    l_selected: = APEX_UTIL. STRING_TO_TABLE(:P1_ORGANISATIE);

    APEX_COLLECTION. CREATE_OR_TRUNCATE_COLLECTION (p_collection_name = > 'ORGANISATIE_COLLECTIE');

    FOR id IN 1.l_selected.count

    LOOP

    APEX_COLLECTION.add_member (p_collection_name = > 'ORGANISATIE_COLLECTIE')

    , p_n001 = > to_number (l_selected (id))

    );

    END LOOP;

    RETURN

    Replace (l_qry

    ,'$1'

    ,'join apex_collections ON APC (APC. COLLECTION_NAME = "ORGANISATIE_COLLECTIE" AND APC. N001 = OTE.ID)"

    );

    END IF;

    END;

    Andreas Groenevelt says:

    A few days ago, I asked a question on the community, but it turned out that there was something wrong with my account and they have removed the item, so I'll just post the solution I found here now:

    Something was wrong with the whole site: AP invoice tolerance

    I don't post anything substantive until we find out what is happening.

  • JavaFX how to use WebView load the local HTML page?

    JavaFX how to use WebView load the local HTML page?

    If the HTML code of the files in the class path, which is in the package, the load using one of the following ways:

    String url = Main.class.getResource("/html/index.html").toExternalForm();
    engine.load(url);
    

    The above methods can only load files outside the class path!

Maybe you are looking for