Include files?  As in this:  !-- #include file="file.htm" --

Can anyone get include files to work in iWeb?
So I made my own header navigation and put it in an HTML snippet widget. It does work great, however I have to put the widget code on every single page, and when I change the header, I need to go back and change all that code.
I thought I would be clever and instead use one file for the header, and just use the HTML snippet to hold a call to include that file.
That doesn't work. I managed to find where the widget code is stored, and changed a filename to .shtml, and a few other things, but no dice.
Does anyone know how to use an include file from within iWeb without it being more work than just replacing whatever code you want to include in the first place?
Thanks!

Are you using .Mac as your host? If so, I think it does not support doing what you want. If not, I think the server has to be configured to recognize .shtml correctly.

Similar Messages

  • Have Windows XP and Adobe 9 Reader and need to send a series of large documents to clients as a matter of urgency     When I convert 10 pages a MS-Word file to Pdf this results in file of 6.7 MB which can't be emailed.     Do I combine them and then copy

    I have Windows XP and Adobe 9 Reader and need to send a series of large documents to clients as a matter of urgency When I convert 10 pages a MS-Word file to Pdf this results in file of 6.7 MB which can't be emailed.  Do I combine them and then copy to JPEG 2000 or do I have to save each page separately which is very time consuming Please advise me how to reduce the size and send 10 pages plus quickly by Adobe without the huge hassles I am enduring

    What kind of software do you use for the conversion to pdf? Adobe Reader can't create pdf files.

  • How do i make firefox automatically open a file. "Do this automatically with files like this from now on." does NOT work.

    I have firefox set to Open .wav files with VLC and i have the check box marked to "Do this automatically for files like this from now on." But every time i click download for a .wav voicemail from gmail, i get the same dialog box. I just want firefox to hand the downloaded file to VLC and play it. I don't want to have to click anything after i click the download link. Isn't that action what i'm telling firefox to do after i mark the checkbox with "Do this automatically with file like this from now on." ? Isn't that implied with my selection of the box? How can i fix this?i want to click a "download" link for a .wav voice mail in Gmail and have it automatically play in VLC without any further interaction from me.

    No it's saving the preferences and the check box remains checked from session to session. It will even continue to ask me to what to do with the file even in the same session when i try to download the same file again 5 seconds after i downloaded it the first time.

  • Hi, i changed policy file.. still this exception but file wrote plz...plz..

    hi,
    i have done one applet to write file in local system. i allowed thorugh policy file...
    i was done well.
    i DIDNOT MENSION ANY CODEBASE IN POLICY FILE JUST TARGET FULL C:
    but , one applet write mov file this exception i got i posted both code as well as code
    plz ... plz........
    SOURCE CODE
    import javax.media.*;
    import javax.media.protocol.*;
    import javax.media.format.*;
    import java.security.*;
    import java.io.*;
    import java.util.*;
    import java.awt.*;
    import java.net.*;
    public class VideoWriteApplet extends java.applet.Applet {
    Panel window = null;
    VideoStore videoStore = null;
    public void start() {
    window = new Panel();
    videoStore = new VideoStore(this);
    public void stop(){
    videoStore.stop();
    class VideoStore implements ControllerListener,Runnable {
    Processor processor =null;
    DataSource source = null;
    DataSink ds = null;
    Thread t = null;
    VideoWriteApplet applet = null;
    public VideoStore(VideoWriteApplet applet){
    this.applet = applet;
    t= new Thread(this,"child");
    t.start();
    public void run() {
    done();
    public void done(){
    MediaLocator ml = new MediaLocator("vfw://0");
    try{
    processor = Manager.createProcessor(ml);
    }catch(Exception e){
    System.out.println(" "+e);
    processor.addControllerListener(this);
    boolean result = waitForState(processor, Processor.Configured);
         if (result == false) System.out.println("Couldn't configure processor");
    FileTypeDescriptor avOutputType = new FileTypeDescriptor( FileTypeDescriptor.QUICKTIME );
         processor.setContentDescriptor(avOutputType);
    result = waitForState(processor, Controller.Realized);
         if (result == false) System.out.println("Couldn't realize processor");
    try{
    source = processor.getDataOutput();
    }catch(Exception e) {
    System.out.println("|||||||| Exception getouptut "+e);
    System.out.println("out data source got "+source);
    URL url = null;
    try{
    url = new URL("file://c:/gg.mov");
    }catch(Exception e){
    System.out.println(" Exception "+e);
    MediaLocator outfile = null;
    try{ 
    outfile = new MediaLocator(url);
    }catch(Exception e){
    System.out.println("|||||||| output locator "+e);
    System.out.println("protcocol "+ outfile.getProtocol());
    try{
    ds = Manager.createDataSink(source,outfile);
    }catch(Exception e){
    System.out.println(" |||||||| Exception create datasink "+e);
    System.out.println("data sink created "+ds);
    try{
    ds.open();
    }catch(Exception e){
    System.out.println("|||||||| Exception data sink open "+e);
    System.out.println("data sink opened ");
    try{
    ds.start();
    }catch(Exception e){
    System.out.println("Exception data sink starat "+e);
    System.out.println("data sink started ");
    try{
    processor.start();
    }catch(Exception e){
    System.out.println("|||||||| Exception processor starat "+e);
    System.out.println("processor starated ");
    public void stop(){
    try{
    t.stop();
    processor.stop();
    processor.deallocate();
    processor.close();
    }catch(Exception e){
    System.out.println("Exception "+e);
    System.out.println("processor disposed ");
    try{
    ds.close();
    }catch(Exception e){
    System.out.println("Exception "+e);
    System.gc();
    System.out.println("data sink disposed ");
    private Integer stateLock = new Integer(0);
    private boolean failed = false;
    Integer getStateLock() {
         return stateLock;
    void setFailed() {
         failed = true;
    private synchronized boolean waitForState(Processor p, int state) {
         //p.addControllerListener(new StateListener());
         failed = false;
         // Call the required method on the processor
         if (state == Processor.Configured) {           
    p.configure();
    } else if (state == Processor.Realized) {           
    p.realize();
         while (p.getState() < state && !failed) {
         synchronized (getStateLock()) {
              try {
              getStateLock().wait();
              } catch (InterruptedException ie) {
              return false;
         if (failed)
         return false;
         else
         return true;
    public void controllerUpdate(javax.media.ControllerEvent controllerEvent) {
    if (controllerEvent instanceof ControllerEvent) {
              synchronized (getStateLock()) {
              getStateLock().notifyAll();
    //System.out.println(" incomming event "+controllerEvent);
    if(controllerEvent instanceof ConfigureCompleteEvent)
    processor.realize();
    if(controllerEvent instanceof RealizeCompleteEvent)
    System.out.println( "processor Realized " );
    OUTPUT OF APPLET COSOLE
    out data source got com.sun.media.multiplexer.BasicMux$BasicMuxDataSource@3caa4b
    protcocol file
    processor Realized
    data sink created com.sun.media.datasink.file.Handler@969c29
    |||||||| Exception data sink open java.lang.RuntimeException: No permission to write files from applets
    data sink opened
    data sink started
    processor starated

    Double post, answered here:
    http://forum.java.sun.com/thread.jspa?threadID=577937&tstart=0

  • Firefox will not recognize when I change the settings for .torrent and .rar files to "do this automatically for files like this from now on", EVEN AFTER I change the setting in Tools Options Applications.

    Um, why is this? I think my Question pretty much covers it. Is there a way I can fix the settings so Firefox automatically opens .torrent files and .rar files with the programs I tell it to always use?

    I'm sorry to hear that you didn't receive a reply to this problem. As far as I can tell, there '''is''' no reply or solution to this problem so far, as I have exactly the same problem too.
    One solution that I did try (and which worked, but not for my exact needs) was to tell Firefox to ''always'' '''save''' the torrents to the download folder. Then, in your personal torrent program, change the settings so that torrents from the download folder are automatically searched and added. In this way, torrents are automatically loaded in your torrent program. However, for me, I need to see the contents of the torrent before I download it all, which wasn't possible with this method. If that isn't important to you, this should be a sufficient solution.
    Regards,
    Lewis

  • While browsing a web site, firefox told me it detected a virus, scaned, displayed infected files and asked to down load a file. Is this a legitimate file or some scam?

    I want to know if the virus detection and file are legitimate Firefox software or some scam. I did not continue with the process. My own virus detection only found one infection where as the other found several. I have a copy of the screen if needed.
    Thanks
    Doug

    It's a scam, Firefox does not scan for viruses. The site will be trying to get you to install some form of malware/virus/trojan. The scan was not a real scan.

  • Valiable file name in JSP include

    Hi,
    I am trying to include a html file in a JSP page. The filename comes from the properties file and hence is a variable. The JSP file that has this include does not cache the JSP page plus it "refreshes" (reloads) ever 30 seconds.
    When I include the HTML file using jsp:include I am not getting the HTML file on alternate browser refreshes. Wierd?
    I then hard coded the filename and included the html file using <% @ include... and it works just fine.
    But I cannot have a variable name in <%@ include.
    Please comment on this wierd behaviour of jsp:include and gimme a solution.
    Thank you all in advance,
    Ravi Mittal

    Sorry this isn't a solution, because I have the very same problem and was just getting ready to post a question when I saw your post. I have also tried using:
    <jsp:include page="<%= myFilename %>" flush="true" />
    as well as
    <%@ include file="<%= myFilename %>" %>
    Neither of these work. This kind of approach seems to work just fine using <jsp:forward....>, but there's something funny about trying to include a file dynamically.
    I would also appreciate a solution. Good luck.
    - Joe

  • "Error: the xajax Javascript file could not be included. Perhaps the URL is incorrect? URL: /includes/javascript/xajax_js/xajax.js". other posters with a xajax error on this board got the response to go look for developer resources. (i'm not a developer)

    I'm on a mac running 10.6.8, was using Firefox 6.02 when the problem started, i performed a clean install of 7.01, installed the latest Flashplayer, and reinstalled java (the 10.6.5 update file from apple's site).
    I seem able to load video at youtube.com, and was able to load web-based irc chatrooms at ircchat.tv. however, at jamplay.com a paid member site, all of the lessons are flash video, and there's a live video feed chat room that is also flash based, and I am not able to view this content. the video content pops up the error message "Error: the xajax Javascript file could not be included. Perhaps the URL is incorrect?
    URL: /includes/javascript/xajax_js/xajax.js" and the clicking on the "launch chatroom" button does exactly nothing.
    I have contacted the jamplay site team but their recommendations are the steps I have already taken, mentioned above, that did not resolve the issue.
    some links to content on their site visible without being a member:
    http://www.jamplay.com/
    this one has a flash interface that, if things were working, would have a video in the center and members and staff talking abouth that area of the site when you click on one of the title buttons. Now that I am having this problem, nothing is clickable and there's no indication that there should be a video in the center. The error message regarding xajax does not come up at all.
    http://www.jamplay.com/guitar-lessons/beginners/1/527-16-circle-of-fifths
    same thing. video content is missing, xajax error does not appear.
    http://www.jamplay.com/live
    when I load these all content except the video loads on the page. this page does not give me the error at all, just does not load the video
    I can't seem to recreate the actual error without being logged in as a member of the site.
    The apple support team gave me a one-time free suppport ticket to troubleshoot an ethernet issue I was having. Unfortunately, the databases I removed were not deemed either by apple or me to be noteworthy or necessary to retain (all of them were for software I not longer have or use). I don't know which plist file might have been the one I need now. I did reinstall the java and flash items. The only other item that I think it might be is a set of belkin router software that I uninstalled because i'm not using any belkin hardware anymore.
    If someone has any kind of idea I would be most appreciative.

    That's a comment in the file. It has no effect at all.

  • When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message. I use Exchange 2010 only local users.

    When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message.  I use Exchange 2010 only local users.

    I think there is not native rule for this, but you could try a transport rule which removes all attachments over a very small file size like 1KB.
    http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
    CRM Advisor

  • My 16GB iPhone 4S has 4.40GB of "other" file. What does this include and how do I reduce it? Kindly help me.

    My 16GB iPhone 4S has 4.40GB of "other" file. What does this include and how do I reduce it? Kindly help me.

    Text messages, MMS messages, email, music catalog, operating system settings, safari cache, siri cache, Genius data (if enabled), game center data -- esentially everything on your phone that isn't explicitely listed in the bar chart at the bottom of iTunes on your computer.
    Sometimes there is also data corruption on the phone that ends up in Other. To get rid if it try restoring the phone with iTunes. If that makes no difference the corruption is in your backup; restore again as a new phone, then add content back.

  • Mac died, hard disk data recoverable - does this include Desktop files?

    Hi there,
    My G5 died (well, it fell victim to my ex's violent outrage - logic board dead), anyway... I have had my hard disk made up so I can mount it / access it on my new mac. But will this include the files that were saved on my Desktop?
    Thanks in advance,
    Bree

    The desktop is just a graphical representation of a folder inside your User's home folder. Naturally, the folder is named "Desktop." For those that work in a cluttered environment and have a hard time finding files or folders on their desktop, you can see the contents of the desktop in alpha/numeric list view by going to the desktop folder (Users->[your user name]->Desktop).
    -DH

  • File Adapter: need to include filename in content being written

    I want to use the file adapter to write a file, using the filename convention to generate part of the name dynamically.
    However, I need to include the filename used for the output file in the actual content too.
    Any ideas if this can be done?
    Thanks
    Toby

    At a customer we implemented the file adapter to create a file based on a specic name for appending:
    <assign name="AssignStaticFilename">
    <copy>
    <from expression="'Output.csv'"/>
    <to variable="gFileAdapterOutboundHeader" part="outboundHeader" query="/ns2:OutboundFileHeaderType/ns2:fileName"/>
    </copy>
    </assign>
    In de FileAdapter WSDL we set:
    <jca:operation
    LogicalDirectory="OutputDirectory"
    InteractionSpec="oracle.tip.adapter.file.outbound.FileInteractionSpec"
    FileNamingConvention="%SEQ%"
    NumberMessages="1"
    OpaqueSchema="false"
    Append="true" >
    </jca:operation>
    Does this help you, based on a given input to set the filename and this variable to put it into the file?

  • How  to include the inner classes in a jar file in netbeans ide

    Dear java friends
    how to say to netbeans ide that it has to include the
    inner classes in the jar file.
    (i have one single applet class
    with two inner classes that show up
    in the build/classes file but not in the jar).
    The applet works in the viewer but not
    in the browser (I believe because the
    xxx$yyy etc should be in the jar)
    willemjav

    First, please stop posting the same question multiple times:
    Duplicate of http://forum.java.sun.com/thread.jspa?threadID=5269782&messageID=10127496#10127496
    with an answer.
    Second, If your problem is that you can't do this in NetBeans, you need to post to somewhere that provides NetBeans support - like the NetBeans website's mailing list. These forums do not support NetBeans (or any other IDE) - they are Java language forums.

  • Including web service jaras in final jar file

    Hello all.
    Im using netbeans 4.0. I have used JAXB code in my program, ie. Ive used a few packages I created with the XJC compiler so i can unmarshall some XML documents. I have included the four JAXB Jar files from the Java Web Services Developer Pack in my project by including them in the projects "Classpath for compiling sources". This works fine when running in netbeans. But when I try running the project outside netbeans by double clicking on the generated JAR file I get a
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    Im guessing this is because it can't see the jaxb jar files when not run from within netbeans. How would I include the jaxb jars in the jar file that netbeans generates?
    I know this is partly an IDE related question but I thought it must be a fairly common problem when creating JAR files so i posted it here.
    Any help is appreciated.
    thanks

    Im guessing this is because it can't see the jaxb jar
    files when not run from within netbeans. How would I
    include the jaxb jars in the jar file that netbeans
    generates? You wouldn't include them in that jar file. You would include Class-Path entries (which refer to the jaxb jars) in the manifest of the jar file that Netbeans creates.
    Don't ask me how to do that, I don't use Netbeans. I assume that Netbeans must support it somehow, but if you can't find out how then a Netbeans forum would be a good place to ask.
    I know this is partly an IDE related question but I
    thought it must be a fairly common problem when
    creating JAR files so i posted it here.

  • How do I get image files to show up, including theme images?

    I was working on a keynote presentation and sharing it with another person (google drive). All of a sudden I get the file back and all of the images are gone. This includes the theme images. Any suggestions on how to fix?

    The Podcast area in iTunes is where your subscribed podcast feeds would show up. Files (audio and video) downloaded from links contained in the feed would be listed underneath the podcast they were from.
    If the files are public domain or you have rights to them you could create your own podcast feed to share these with the world. You'd need a publicly accessible internet web address with space to hold your files, you'd need to upload the file to this space, and create a podcast RSS XML feed and submit that feed to iTunes.
    Check here for more information, links and tutorials:
    http://www.apple.com/itunes/store/podcaststechspecs.html
    Erik

  • CSV File Doesn't Get Included In The Package

    Hello friends,
    We have problem with  packaging the indesign document.
    we are opening have data merge CSV files which show in the links pallet.
    when we run the package command the .csv file doesn’t get included in the package
    so if there are any extra settings that copies  .csv files in the current package please help me.
    Regard
    Tahir

    Hi
    And how about this technet article
    http://technet.microsoft.com/en-us/library/ff980461(v=exchg.141).aspx
    To avoid this error in the future, follow one or more of these steps:
    Do not manually modify message tracking log files. By default, these files are located in the following directory: C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking.
    Make sure that your file-based antivirus software is configured to exclude file directories that contain message tracking log files. For more information about configuring your file-based antivirus software on an Exchange server, see
    File-Level Antivirus Scanning on Exchange 2010.
    Review the System log for disk-drive-related events. Use the information in those events to determine whether the disk that stored the log files has any hardware failures. You may have to use
    CHKDSK tool to check a disk and display a status report. For more information about
    CHKDSK, type CHKDSK /? at a command prompt.
    Cheers
    Zi Feng
    TechNet Community Support

Maybe you are looking for

  • Acrobat 9 Pro  " An error occurred while sending mail"

    Dear Gurus: Free ice cream to the person with the answer that works.      I use Vista OS, 32 bit;    IE (Primary) and Mozilla;   Outlook E-mail (primary) and Windows Mail.  The preceding has been the case for the last two years so "nothing has change

  • Populate PDF from Excel Data

    I have an excel worksheet with employee sales data. this worksheet has a column that has a drop-down list. I want to set it up so that whenever "Warning" is selected from the drop-down, a pdf is created. this pdf will be like a warning notice, and pu

  • Stock at Vendor Materialwise for the given postingdate

    Hi, I got a requirement to develop a report which lists the Stock at Vendor materialwise for the given postingdate. How to calculate the opening & closing stock for the given date for a vendor materialwise? Regards, VK.

  • RE: Adding Custom Background

    Hello Everyone. I have Imported the .psd file into Encore. Later, I opened the Backgrounds Inside the Library, and I Dragged the .psd file Into the Backgrounds. But the .psd file dose not show Inside the Backgrounds, But It dose show Inside the Image

  • AST Acctype Accounts - Need a different value at the PARENT level of Time Dimension

    Hi All, We have a planning model wherein we have the following hierarchy in the account dimension: CLOSECUSTOMERS           OPENCUSTOMERS           NET ADDS                    GROSS ADDS                     MIGRATE                     DISCONNECTIONS