Page 1 of 1

Include header/footer function

Posted: Wed Apr 03, 2013 7:57 pm
by Riqi
Hello there,
Well iam new to cmsms and i wanted to know how to include/call the header area and footer area in other .php pages like <? include......
get_header():
?>
same for footer something like this can be done for getting the template header and footer in other pages? if so please explain me with explain so i could improve my site, Thanks In Advance

With Regards,
Riqi

Re: Include header/footer function

Posted: Wed Apr 03, 2013 10:18 pm
by Jo Morg

Re: Include header/footer function

Posted: Thu Apr 04, 2013 6:51 am
by Riqi
Hey there mate thanks for reply well it's not the thing correctly i wanted i need call header function in other .php pages which is not in cmcms.

Re: Include header/footer function

Posted: Sun Apr 14, 2013 8:24 pm
by Dr.CSS
You may need to explain what you are trying to do and what you want to happen...

more info = more help...

Re: Include header/footer function

Posted: Mon Apr 15, 2013 1:06 am
by Wishbone
I think I understand what is being asked. If I need a header/footer/menu/etc in something else, like a forum, I create templates for each, and a page for each template... Then call the page in the php script as an <__iframe>

Example:

The scrolling marquee on: http://portlandkarting.com/ is also used in the forum as an <__iframe>: http://portlandkarting.com/forum/

The actual <__iframe>'d page is: http://portlandkarting.com/marquee