Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Help.

  1. #1
    Join Date
    Jun 2007
    Location
    Kent
    Posts
    4,101
    Tokens
    981

    Latest Awards:

    Default Help.

    OK my site www.raydeeohh.com has got a new layout.

    But i want the same layout on the other pages with the layout.

    So how do i do it?

    +Rep for all good answers.

  2. #2
    Join Date
    Jun 2007
    Location
    Kent
    Posts
    4,101
    Tokens
    981

    Latest Awards:

    Default

    Sorry can't edit post above.

    If someone helps me, i give them the domain thishabbo.net with full access aswell with +Rep.

  3. #3
    Join Date
    Apr 2008
    Location
    England.
    Posts
    1,324
    Tokens
    0

    Latest Awards:

    Default

    What you will want to do is include the fill html/css of your current layout on all other pages, wherever you want the content to go just do a php include:
    PHP Code:
    <?php include 'home.html'?>
    Last edited by Excellent; 21-06-2008 at 12:49 PM.

  4. #4
    Join Date
    Jun 2007
    Location
    Kent
    Posts
    4,101
    Tokens
    981

    Latest Awards:

    Default

    It then goes to this

    PHP Code:
    <?php&nbsp;include&nbsp;'home.html';&nbsp;?>

    When i put the code you told me to.

    BDW im **** at coding, and HTML codes.

  5. #5
    Join Date
    Aug 2005
    Location
    London
    Posts
    9,773
    Tokens
    146

    Latest Awards:

    Default

    You'd use PHP includes but seeing as Icba to explain heres an ajax code that works perfectly aswell:
    http://dynamicdrive.com/dynamicindex17/ajaxcontent.htm

  6. #6
    Join Date
    Apr 2008
    Location
    England.
    Posts
    1,324
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by RyanDOT View Post
    It then goes to this

    PHP Code:
    <?php&nbsp;include&nbsp;'home.html';&nbsp;?>
    When i put the code you told me to.

    BDW im **** at coding, and HTML codes.
    Don't copy and paste then:rolleyes:

  7. #7
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    It's a shame none of you have any experience.

    You're using a web editor, switch to "code" view and paste it in, that should fix your problem.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  8. #8
    Join Date
    Apr 2008
    Location
    England.
    Posts
    1,324
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Jewish Bear View Post
    It's a shame none of you have any experience.

    You're using a web editor, switch to "code" view and paste it in, that should fix your problem.
    I do have experience but there isn't any point pasting a ton of code into a box when he can just use an include..:rolleyes:

  9. #9
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Excellent View Post
    I do have experience but there isn't any point pasting a ton of code into a box when he can just use an include..:rolleyes:
    Are you stupid like an idiot?

    The web editor converts all the stuff to html code.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  10. #10
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Jewish Bear View Post
    Are you stupid like an idiot?

    The web editor converts all the stuff to html code.
    What web editor is he using, because in cPanel code editor you don't get that.

    @ Ryandot.

    You can't rename a page's extension and expect it to work with HTML formatting, you'd need to use something like mod_rewrite.

Page 1 of 2 12 LastLast

Posting Permissions

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