Different Ways Of Coding Templates?

Discussion in 'GR Classic Archive' started by Blazeman, Nov 2, 2004.

  1. Blazeman

    Blazeman Am I Evil?

    Age:
    38
    Posts:
    5,915
    Likes Received:
    1
    Joined:
    Oct 16, 2004
    Location:
    Maryland
    Hey i was just wondering what different ways are there to code templates? I dont know php but i dont want to use iframes because they have their own backgrounds and i hate that... are DIVs any good? i heard they have transparent backgrounds unless u set a background and they are like iframes but there is no targeting frames and etc. so canyone help out?
     
  2. .killjoy

    .killjoy Well-Known Member

    Age:
    36
    Posts:
    1,565
    Likes Received:
    0
    Joined:
    Jul 10, 2004
    i jsut use html not much complicated stuff with me also i use soem php. im learning manual stuff and learning java soon but iframes aint to confusing jsut take a week to learn :)
     
  3. Blazeman

    Blazeman Am I Evil?

    Age:
    38
    Posts:
    5,915
    Likes Received:
    1
    Joined:
    Oct 16, 2004
    Location:
    Maryland
    i just set up a div on the template i made and it turned out pretty good and those things are transparent so i guess ill stick with that
     
  4. SilentS

    SilentS Well-Known Member

    Posts:
    257
    Likes Received:
    0
    Joined:
    May 31, 2004
    Location:
    Canada
  5. Blazeman

    Blazeman Am I Evil?

    Age:
    38
    Posts:
    5,915
    Likes Received:
    1
    Joined:
    Oct 16, 2004
    Location:
    Maryland
    divs are better than iframes in my opinion.. they are like iframes but they can be placed on ANY part of the site as long as u position them properly.. also, they can scroll and have custom scroll bar colours. also, they blend in with your background so you can overlap and etc. also, search engines hate frames :lol:
     
  6. laMe

    laMe Well-Known Member

    Posts:
    250
    Likes Received:
    0
    Joined:
    Jul 22, 2004
    SS I'm a real big fan of ur site, nd i was just wondering if you can help me with a news system like that
     
  7. SilentS

    SilentS Well-Known Member

    Posts:
    257
    Likes Received:
    0
    Joined:
    May 31, 2004
    Location:
    Canada
    Actually, my news system is exclusively HTML (and I have to upload it everytime I update it), the "posted" thing is phony, because I just copy and paste one table for all the news paragraphs. I am getting sick of having to eternally upload and re-upload, so I am trying to reconfigure my site into PHP, and I hear that this PHP script program called "CuteNews" (http://cutephp.com/) is a really customizable database independant (PHP forums and such usually require what is called a MYSQL database, but I don't know much about it) so it seems good. If (and when) I do find a good way of making a news system, I'll let you know, but either use HTML and endure re-uploading, or try CuteNews. B)
     
  8. Blazeman

    Blazeman Am I Evil?

    Age:
    38
    Posts:
    5,915
    Likes Received:
    1
    Joined:
    Oct 16, 2004
    Location:
    Maryland
    is that the program where u dont have to go into the html to change the news.. and instead you use it to type the news and it will put it into the same format you have been already been using and etc. if so, ive been looking for that program for a longg time now
     
  9. Cana-Balistic

    Cana-Balistic Member

    Posts:
    8
    Likes Received:
    0
    Joined:
    Nov 24, 2004
    you knock html like you have a clue...
    I frames arent so bad cause your going to have to slice your image anyway. I dont use DIV tags much but they are transparent unless set otherwise.

    and on iframes you can make the scrollbar transparent if you like

    dont knock it untill youve tried it

    html is the easiest and probly the best
     
  10. Cana-Balistic

    Cana-Balistic Member

    Posts:
    8
    Likes Received:
    0
    Joined:
    Nov 24, 2004
    SilentSerpent

    Sry i just read your post...

    Heres an idea for your news thing, use javascript.

    put this where you want your news to appear <javascript src="news.js"></script>

    Then make a text file called news.js and put this into it

    document.write(' HTML code is allright to enter here ')

    then you'll only have to upload the script insted of the entire page everytime you change it
     
  11. Itachi Uchiha

    Itachi Uchiha Well-Known Member

    Posts:
    111
    Likes Received:
    0
    Joined:
    Oct 12, 2004
    i highly recommend he use cutenews for the news, you can set varibles and edit templates all in cutenews have cateogires and there are NO ads, so it is the prolly best free news software out there, highly customizable, full news, comment system, and all you have to do is php include it and the script does the rest.

    As for different ways of coding templates i assume you mean for templates that will never expand the length of the actuall template of that of the fold on the broswer (my ressy is huge so none of these templates pass the fold)

    But i recommend you try some templates that can expand pass the fold then you don't have to do all these iframes and scroll bars, its just a table. its so much easier. I have done the whole iframes thing and it can get out of hand if you have multiple iframes and have more than one frame chaning at a time it just causes problems.

    I think the easiest way espeically if you have a fairly large site is PHP. you can include things that change often like affiliate list, and navigation among some things. so that way when it comes to edit your site you don't have that much to edit, cause everthing is included.
     
  12. 4rs3n1c

    4rs3n1c Well-Known Member

    Posts:
    262
    Likes Received:
    0
    Joined:
    Aug 30, 2004
    uchila you know a good site to learn php?

    html doesnt have alot of the cool things php has, even though, i think it is enitialy much easier to make a html site, i guess php got the long run vote though. :lol:
     
  13. pbjorge12

    pbjorge12 Well-Known Member

    Posts:
    283
    Likes Received:
    0
    Joined:
    Nov 18, 2004
  14. Itachi Uchiha

    Itachi Uchiha Well-Known Member

    Posts:
    111
    Likes Received:
    0
    Joined:
    Oct 12, 2004
    well thats mostly because php is in a class on its own compared to html

    i class them completly differently

    I see html as an interface language where you can create tables, forms, links, buttons all basic stuff but can turn out nice with good graphics

    As for PHP its like real web based programing, things that are typically done with external programs like with c++ and visual basic. You can create varibles and execute endless commands and manipulate sites, post news, create content systems, integrate with mySQL, and just so much more(if you didn't know forums are programed in php and mySQL)


    As for learning PHP i recommend the main site
    http://www.php.net/

    for more user based tutorials
    http://pixel2life.com has a nice stock
     

Share This Page