Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Templates in dreamweaver
    coach_z's Avatar
    Member Since
    Jul 23, 2004
    Location
    North NJ
    Posts
    3,169
    Specs:
    i dont have no mac's
    Templates in dreamweaver
    okay, still learning a lot of stuff in dreamweaver and website stuff. im trying to set up a template that will look like this http://bryantplayers.com/templatetest.html

    in my repeating regions i would like to be able to edit the file outside of dreamweaver and just have it read that page when it loads. For example i have an announcements.html file that i will like to open in the upper right hand corner where it actually says 'news'

    is this possible? and if so how would i do this?? i would like to get this site up and running in the next few days and i think i am almost there as of right now

    -chris

    note; only link that works with the css and the template right now is club information
    MoTM honor roll...
    when?
    i dont remember

  2. #2
    Templates in dreamweaver
    coach_z's Avatar
    Member Since
    Jul 23, 2004
    Location
    North NJ
    Posts
    3,169
    Specs:
    i dont have no mac's
    anyone?
    -chris
    MoTM honor roll...
    when?
    i dont remember

  3. #3
    vtupser
    Guest
    I believe you will only be able to do that if you use a scripting program like PHP to "include" your outside file. HTML is not a dynamic language and thus does not allow you to include or imbed external HTML files into itself (there are not any tags that I know of that will let you do that). My suggestion is turn your main file into a PHP file (replace the .html with .php) then you can use the require function inside it. To do so, in the area where you want your file included type <?php require ("NameofExternalFile.html"); ?> That should do it. The only problem might be is that your server must be running Apache/PHP on it in order for you to use it.

  4. #4
    Templates in dreamweaver
    coach_z's Avatar
    Member Since
    Jul 23, 2004
    Location
    North NJ
    Posts
    3,169
    Specs:
    i dont have no mac's
    thanks, i had a strange feeling today when i woke up and thought about this post and said "please dont need php"

    i guess ill see what happens
    -chris
    MoTM honor roll...
    when?
    i dont remember

  5. #5
    vtupser
    Guest
    PHP is not that hard if you are going to use it for simple things like the require function, etc. I suggest picking up the Visual Quickstart Guide on PHP at a bookstore. That's how I learned it and the book was very helpful for what I needed it for by physically showing examples of code.

  6. #6
    d-funct
    Guest
    You could use SSI's (Server Side Includes) I think but unless I'm mistaken most host won't turn it on because of the potential for abuse.... PHP includes are a much better direction to head it

  7. #7
    Templates in dreamweaver
    coach_z's Avatar
    Member Since
    Jul 23, 2004
    Location
    North NJ
    Posts
    3,169
    Specs:
    i dont have no mac's
    Quote Originally Posted by vtupser
    I believe you will only be able to do that if you use a scripting program like PHP to "include" your outside file. HTML is not a dynamic language and thus does not allow you to include or imbed external HTML files into itself (there are not any tags that I know of that will let you do that). My suggestion is turn your main file into a PHP file (replace the .html with .php) then you can use the require function inside it. To do so, in the area where you want your file included type <?php require ("NameofExternalFile.html"); ?> That should do it. The only problem might be is that your server must be running Apache/PHP on it in order for you to use it.
    so if my template is an html based template is their an easy way to change that to a php template and then use the require function?? i have a strange feeling that this isnt going to be that easy

    -chris
    MoTM honor roll...
    when?
    i dont remember

  8. #8
    design2
    Guest
    you could alternatively chop your page up into frames like you have in http://bryantplayers.com that pulls out 4 pages..the top navbar page, the content page, the right news page and the footer page.

  9. #9
    design2
    Guest
    just copy the source into a blank web page change the filenames to your filenames and shazam.

    <frameset rows="190,*" cols="1" framespacing="0" frameborder="NO" border="0">
    <frame src="topbar.html" name="topFrame" scrolling="NO" noresize>
    <frameset rows="*,53" cols="*" framespacing="0" frameborder="NO" border="0">
    <frameset rows="*" cols="745,255" framespacing="5" frameborder="NO" border="5">
    <frame src="main.html" name="mainFrame">

    <frame src="news.html">
    </frameset>
    <frame src="bottombar.html" name="bottomFrame" scrolling="NO" noresize>
    </frameset>

  10. #10
    Templates in dreamweaver
    coach_z's Avatar
    Member Since
    Jul 23, 2004
    Location
    North NJ
    Posts
    3,169
    Specs:
    i dont have no mac's
    Quote Originally Posted by design2
    you could alternatively chop your page up into frames like you have in http://bryantplayers.com that pulls out 4 pages..the top navbar page, the content page, the right news page and the footer page.
    i am attempting to abandon frames a) to learn something different and b) they were pissing me off while creating this page and stuff

    so yea....
    MoTM honor roll...
    when?
    i dont remember

  11. #11
    Templates in dreamweaver
    coach_z's Avatar
    Member Since
    Jul 23, 2004
    Location
    North NJ
    Posts
    3,169
    Specs:
    i dont have no mac's
    woot!!!!! I GOT IT TO WORK....had to copy the file over to a folder i ahd with all my php stuff in it...kinda forgot about that step....

    now i just need to do some formatting stuff because i am getting this: http://bryantplayers.com/phpnuke/templatetest.php

    note: i moved the entire page so no links are going to work and i didnt move over the dependant files
    MoTM honor roll...
    when?
    i dont remember

  12. #12
    Templates in dreamweaver
    Xarthan's Avatar
    Member Since
    Jan 25, 2005
    Posts
    18
    Quote Originally Posted by design2
    just copy the source into a blank web page change the filenames to your filenames and shazam.

    <frameset rows="190,*" cols="1" framespacing="0" frameborder="NO" border="0">
    <frame src="topbar.html" name="topFrame" scrolling="NO" noresize>
    <frameset rows="*,53" cols="*" framespacing="0" frameborder="NO" border="0">
    <frameset rows="*" cols="745,255" framespacing="5" frameborder="NO" border="5">
    <frame src="main.html" name="mainFrame">

    <frame src="news.html">
    </frameset>
    <frame src="bottombar.html" name="bottomFrame" scrolling="NO" noresize>
    </frameset>
    ugh, frames. ppl generally avoid using frames these days.

  13. #13
    design2
    Guest
    yeah i kno. i dont use them cos u cant back button but it iz quick and simple

  14. #14
    Templates in dreamweaver
    coach_z's Avatar
    Member Since
    Jul 23, 2004
    Location
    North NJ
    Posts
    3,169
    Specs:
    i dont have no mac's
    now how do i go about getting everything to align to the top of the table that it is in? i always thought that align = center|top was valid code but i guess not....
    MoTM honor roll...
    when?
    i dont remember

  15. #15
    design2
    Guest
    do u know css? u can make divs instead of tables and margin/padding and generally format your a s s off.. i love u css..mwa

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. CD Templates
    By DJ Gatto in forum Images, Graphic Design, and Digital Photography
    Replies: 0
    Last Post: 09-01-2009, 05:47 PM
  2. Looking for templates
    By frostygirl in forum OS X - Operating System
    Replies: 0
    Last Post: 07-19-2008, 05:29 PM
  3. Templates available?
    By agentgreg in forum OS X - Apps and Games
    Replies: 2
    Last Post: 01-06-2008, 09:44 PM
  4. Templates
    By thegrimmsleeper in forum Movies and Video
    Replies: 0
    Last Post: 03-13-2006, 03:58 PM
  5. Templates
    By dim in forum Web Design and Hosting
    Replies: 1
    Last Post: 10-29-2004, 03:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •