Hitman247m Posted July 16, 2006 Share Posted July 16, 2006 How do you create so many seperate pages (on this site) while carrying the formatting over (ie: structure, images, nav bar)? Do you create a seperate HTML page for each page, or is there an easier way to do it. I'm asking this question because if you create a site with many HTML pages by themselves, it would be a major pain if you had to change one problem that carryed over onto each seperate page (ie: dead link in the nav bar) :| It would take forever and make expanding your site extremely hard. If someone could please help me out here, it would be great :D Link to comment Share on other sites More sharing options...
tunaboy692004 Posted July 16, 2006 Share Posted July 16, 2006 Theres many methods of doing this actually, google "web structure" i belive thats what taught me how to do it. But i would try to avoid using frames if i was you. Current Goals80/80 Fletching60/75 Woodcutting97/100 Combat Link to comment Share on other sites More sharing options...
Albosky Posted July 16, 2006 Share Posted July 16, 2006 It actually just depending on how you are writing the pages. If you are using basic HTML only , then yes , unfortunately you would have to make duplicates and just edit in the content that you want to appear on each specific page. But take RuneTips for instance , the whole site is written using PHP and the whole site(pretty much) is driven completely from the index.php , and the pages containing the content we want to display are included dynamically, keeping the default "structure" of the page intact. I like to fart silently but deadly in movie theatersArd Choille says (11:41 PM):I wouldn't dare tell you what to do m'dear Link to comment Share on other sites More sharing options...
tunaboy692004 Posted July 16, 2006 Share Posted July 16, 2006 Yeah, thats the same method i use for my websites. Its actually one of the most commen ways to manage content now. Current Goals80/80 Fletching60/75 Woodcutting97/100 Combat Link to comment Share on other sites More sharing options...
Endasil Posted July 16, 2006 Share Posted July 16, 2006 Using a base php page is one of the best ways to maintain a template. However, some programs like Dreamweaver (and I hate to say it, but Frontpage) allow you to implement "templates." These put the main banners, menus, etc into EVERY page, but they "lock" template areas so that 1. You can't accidently change any of the template area. and 2. It will ALL be updated when you update the template. The template lets you lay out your page and then specify editable areas which will hold the differences from page to page. Then you can simply update the template, and all of its child pages get updated. But if you have the time and ability to study php, you'll be better off. You're usually best to combine it with a simple database to store the location of different content. Link to comment Share on other sites More sharing options...
Hitman247m Posted July 16, 2006 Author Share Posted July 16, 2006 I'll look into the PHP, thanks a lot :P Does anyone have a guide that they can recommend for learning how to do that in PHP? :D Also; I get 100 megs per MySQL database, is that enough? Link to comment Share on other sites More sharing options...
wooden_fire Posted July 16, 2006 Share Posted July 16, 2006 You could use CSS and link that to each page. RSN :: Wooden_Fire Time Zone :: GMT Link to comment Share on other sites More sharing options...
Hitman247m Posted July 16, 2006 Author Share Posted July 16, 2006 CSS wouldnt be good fo what I need to do Link to comment Share on other sites More sharing options...
tunaboy692004 Posted July 16, 2006 Share Posted July 16, 2006 Css works just as good as html in most cases. And in my opnion it gives you more flexibility in your webpages as well as better organization. Current Goals80/80 Fletching60/75 Woodcutting97/100 Combat Link to comment Share on other sites More sharing options...
Greatsilverwyrm Posted July 16, 2006 Share Posted July 16, 2006 Css works just as good as html in most cases. And in my opnion it gives you more flexibility in your webpages as well as better organization. True, but you can't use it to create dynamic content any more than you can with HTML. Link to comment Share on other sites More sharing options...
Albosky Posted July 16, 2006 Share Posted July 16, 2006 Also; I get 100 megs per MySQL database, is that enough? For a starter site , that is WAY more then enough. I like to fart silently but deadly in movie theatersArd Choille says (11:41 PM):I wouldn't dare tell you what to do m'dear Link to comment Share on other sites More sharing options...
Hitman247m Posted July 17, 2006 Author Share Posted July 17, 2006 Also; I get 100 megs per MySQL database, is that enough? For a starter site , that is WAY more then enough. I get 25 100mb databases, lol Do you have a guide or something that you can reccomend for a beginnner? Link to comment Share on other sites More sharing options...
zonda Posted July 17, 2006 Share Posted July 17, 2006 try iframes if no one else suggested that already. ... Link to comment Share on other sites More sharing options...
____ Posted July 17, 2006 Share Posted July 17, 2006 try iframes if no one else suggested that already.As much as I like you, say that again and I'll have to cut off your hands. iframes = teh devil (along with frames, in-line styles and such bad html practices) :P Link to comment Share on other sites More sharing options...
Greatsilverwyrm Posted July 17, 2006 Share Posted July 17, 2006 try iframes if no one else suggested that already.As much as I like you, say that again and I'll have to cut off your hands. iframes = teh devil (along with frames, in-line styles and such bad html practices) :P I second that - Don't use iFrames, or you will be publically flogged by all the "cool" web-developers. ;P Link to comment Share on other sites More sharing options...
Hitman247m Posted July 17, 2006 Author Share Posted July 17, 2006 yes, frames are bad 8-) does anyone have a good php guide? Link to comment Share on other sites More sharing options...
tunaboy692004 Posted July 17, 2006 Share Posted July 17, 2006 Buy a book about php. You can get some decent ones for less then 20$ which will help you alot more then tutorials will. But before you start learning PHP make sure you have a good understanding of Html, and how variables work. Knowledge of any other languages will help to actually. Current Goals80/80 Fletching60/75 Woodcutting97/100 Combat Link to comment Share on other sites More sharing options...
Hitman247m Posted July 17, 2006 Author Share Posted July 17, 2006 My specialty is HTML/XHTML and CSS, I also used turing, which looks somewhat like PHP, with all the variables and arrays and junk 8-) Link to comment Share on other sites More sharing options...
zonda Posted July 18, 2006 Share Posted July 18, 2006 Ouch, I just got attacked by... everyone So don't listen to my suggestion, it turns out iframes are :shame: :shame: :shame: ... Link to comment Share on other sites More sharing options...
Hitman247m Posted July 21, 2006 Author Share Posted July 21, 2006 Ok, I just got a PHP book, and solved my problem, thanks everyone Link to comment Share on other sites More sharing options...
superdumb6 Posted July 23, 2006 Share Posted July 23, 2006 Dude whoev said css, do u know wat css is? Its for setting the style for specific items on the page, such as changing the scrollbar, heres my fav one. I just typed it out yesterday :D BODY { scrollbar-face-color : #000000; scrollbar-highlight-color : #32CD32; scrollbar-3dlight-color : #FF0000; scrollbar-darkshadow-color : #008000; scrollbar-arrow-color : #FFFFFF; scrollbar-shadow-color : #00FF00; scrollbar-track-color: #FFFFFF; } ~The superdumb kid who learned and mastered html 4.01 and css in 2 days Thank you everybody for rising up against macroing!!! Link to comment Share on other sites More sharing options...
____ Posted July 23, 2006 Share Posted July 23, 2006 Scrollbar styles is one of the most useless attributes of CSS :uhh: Link to comment Share on other sites More sharing options...
Vape Posted July 24, 2006 Share Posted July 24, 2006 Not to mention invalid. Where the bloody hell are you? Link to comment Share on other sites More sharing options...
Mercifull Posted July 24, 2006 Share Posted July 24, 2006 replace mastered with "fooling IE into doing almost what you want while making invalid code for other browsers" Mercifull <3 Suzi "We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now