How do i get my forum into frames ?

Started by physicshelp4u, April 28, 2008, 06:35:02 AM

Previous topic - Next topic

physicshelp4u

How do i get my forum into frames so that my forum has similar look as that of my main site ?



Kindred

frames?   How 1990s.

php sessions do not run well in frames or iframes.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

physicshelp4u

hello, someone please help me with this so that my forum has same look as that of my site



Kindred

I will say again...

Quote from: Kindred on April 28, 2008, 09:59:09 AM
php sessions do not run well in frames or iframes.

in other words, you forum will probably not run correctly if you try to use frames around it.


My other comment was a tongue in cheek way of saying "You probably should think of a better way to design your site rather than using frames. Frames are outdated and, for the most part, not used any more."
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

physicshelp4u

ok. then what should i do to make my forum have the same look as my main site?  please help me. i mean i want my SMF forum to have the same header and footer as my main site. please help me with this



Kindred

you can use something like...
include('header.php');
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

physicshelp4u

Quote from: Kindred on April 30, 2008, 08:33:54 AM
you can use something like...
include('header.php');


could you be more detailed please? i am not an expert in php coding. so i will be happy if you please tell me in details



Kindred

using an include will do just that.... include the entire file in that location.

So, in index.template.php (function template_main_above), you use the include to display your header and then in (function template_main_below), you include your footer file.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

physicshelp4u

can you please tell me the line as seen in dreamweaver of the default template? i cant find it!!

and thanks for your help!!



Kindred

I don't know, off the top of my head...   I'd say, look for just below the <body> tag for the header and just above the </body> tag for the footer.

side note: do not use dreamweaver to edit php files. Use a text editor like UltraEdit, ConText or NotePad++
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

physicshelp4u

lol i cant find any body tag in index.template.php

there are only title and meta tags



Kindred

no... there is a <body> tag.

it's in function template_main_above()
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

physicshelp4u

still cant find. can you please edit the file and then send it to me?  go to www.physicshelp4u.com

Edit the default theme to keep the headers and footers as there in www.physicshelp4u.com and then send the modified file to me. Keep the header, footer and right side column and then send the modified file to me. the forum should be placed in the main content area of www.physicshelp4u.com .  Keep the header, footer and the right side column.

Please do this for me  :)



physicshelp4u




Kindred

I am sorry....   I do not currently have time to do this.

you could post on the "Help Wanted" board for more assistance.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: