RootsWeb.com Mailing Lists
Total: 2/2
    1. Re: [FreeHelp] include files?
    2. Kim Mills
    3. Ok I've given up for now trying to get my local server to show the includes files. Very frustrating but they just will not show. I also downloaded the newest WAMP to see if that was the problem. No luck... (sigh) Anyway I put my templates into a test site on rootsweb. I'm having trouble getting the includes to pick up the css. This is how the sidebar links should look. http://freepages.genealogy.rootsweb.ancestry.com/~kmills/test/Test2/ And no I don't have dreamweaver :) a friend made the template for me when I thought my program might have been causing the includes errors. Anyway once I move the menu to an includes the formatting looks like this: http://freepages.genealogy.rootsweb.ancestry.com/~kmills/test/index.html All I had done was copy the same menu links in the index.html file and put them into a txt file for the includes. The code in the index to call the menu is <div class="sidebar1"> <!--#include virtual="includes/leftmenu.txt" --> <!-- end .sidebar1 --></div> and the code in the includes is: <div id="sidebar1">Site Navigation</div> <ul id="nav"> <li><a href="index.html">Home</a></li> <li><a href="#">Link two</a></li> <li><a href="#">Link three</a></li> <li><a href="#">Link four</a></li> </ul> I must be over looking something simple. I need them to pick up the styling like they did before moving the code to the includes. So then I can finish editing the css to get the colors/look I want. Any help is much appreciated! Kim ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3441 - Release Date: 02/13/11

    02/13/2011 07:06:06
    1. Re: [FreeHelp] include files?
    2. Lorrie Laskey
    3. Kim, What file extensions did you configure the server on your local machine to check for includes directives? .html? .shtml? .htm? or possibly all files? Lorrie On 02/13/11 13:06, Kim Mills wrote: > Ok I've given up for now trying to get my local server to show the includes files. Very frustrating but they just will not show. I also downloaded the newest WAMP to see if that was the problem. No luck... (sigh) > > Anyway I put my templates into a test site on rootsweb. I'm having trouble getting the includes to pick up the css. > > This is how the sidebar links should look. > http://freepages.genealogy.rootsweb.ancestry.com/~kmills/test/Test2/ > > And no I don't have dreamweaver :) a friend made the template for me when I thought my program might have been causing the includes errors. > Anyway once I move the menu to an includes the formatting looks like this: > http://freepages.genealogy.rootsweb.ancestry.com/~kmills/test/index.html > > All I had done was copy the same menu links in the index.html file and put them into a txt file for the includes. > The code in the index to call the menu is > <div class="sidebar1"> > <!--#include virtual="includes/leftmenu.txt" --> > <!-- end .sidebar1 --></div> > > and the code in the includes is: > <div id="sidebar1">Site Navigation</div> > <ul id="nav"> > <li><a href="index.html">Home</a></li> > <li><a href="#">Link two</a></li> > <li><a href="#">Link three</a></li> > <li><a href="#">Link four</a></li> > </ul> > > I must be over looking something simple. I need them to pick up the styling like they did before moving the code to the includes. So then I can finish editing the css to get the colors/look I want. > > Any help is much appreciated! > > Kim > > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1204 / Virus Database: 1435/3441 - Release Date: 02/13/11 > > ------------------------------- > To unsubscribe from the list, please send an email to FREEPAGES-HELP-request@rootsweb.com with the word 'unsubscribe' without the quotes in the subject and the body of the message >

    02/13/2011 07:17:17