PDA

View Full Version : Help.



RyanDOT
21-06-2008, 11:53 AM
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.

RyanDOT
21-06-2008, 12:39 PM
Sorry can't edit post above.

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

Excellent
21-06-2008, 12:48 PM
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 include 'home.html'; ?>

RyanDOT
21-06-2008, 12:51 PM
It then goes to this


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


When i put the code you told me to.

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

--ss--
21-06-2008, 12:58 PM
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

Excellent
21-06-2008, 01:00 PM
It then goes to this


<?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:

Agnostic Bear
21-06-2008, 01:16 PM
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.

Excellent
21-06-2008, 01:17 PM
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:

Agnostic Bear
21-06-2008, 01:19 PM
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.

Independent
21-06-2008, 01:37 PM
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.

RyanDOT
21-06-2008, 01:44 PM
I got it done now.
With a help by my friend, i +Rep most of you bdw.

Excellent
21-06-2008, 05:07 PM
Are you stupid like an idiot?

The web editor converts all the stuff to html code.Clearlly not:rolleyes: As close said, if he is using cPanel it doesn't do that and he was obviously using cPanel as he copied and pasted the include code in and it came out with &nbsp;
so don't talk to me about being stupid sir.

Independent
21-06-2008, 05:09 PM
Jesus christ, you needed help to do that.. woah.

Want to hide these adverts? Register an account for free!