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
Include header/footer function
Re: Include header/footer function
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Include header/footer function
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.Jo Morg wrote:Create your own template
Re: Include header/footer function
You may need to explain what you are trying to do and what you want to happen...
more info = more help...
more info = more help...
Re: Include header/footer function
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
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