Trace: » change_the_homepage_title » display_a_list_of_subpages » change_the_title_of_articles » display_the_date_of_the_page » migrating_from_frog_to_wolf_cms » display_page_content_and_parts » sessions_for_frontend_display » removing_the_question_mark_from_the_url » display_teaser_with_read-more_link » integrate_other_software_into_wolf_cms
Translations of this page?:
General
Getting Support
Administration
Design
Wolf Reference
Plugin Development
Core Development
- Design documents
- Working guidelines
- References
Press, Graphics and Translations
Wolf CMS books section
Introduction
There are two main levels of integration:
1. You want to integrate purely on a look-and-feel basis. (and get something looking like what we have here)
2. You not only want to integrate look-and-feel, but you also want to integrate the login/logout system and (as such) achieve single sign on.
Integrating PunBB on a look-and-feel basis
- Install punBB in a subdirectory: we'll assume you use “forum”
- Go to the template directory: forum/include/template
- Edit main.tpl
- Just below the <body> tag, add the following:
<!-- forum_include "wolfcms-header.php" -->
- Just above the </body> tag, add the following:
<!-- forum_include "wolfcms-footer.php" -->
- Save the file
- Go to the user directory: forum/include/user
- Create a file called: wolfcms-header.php
- Add the following code:
<?php $url = 'http://www.yoursite.here/wikiforumheader.html'; echo file_get_contents($url); ?>
- Save the file.
- Create a file called: wolfcms-footer.php
- Add the following code:
<?php $url = 'http://www.yoursite.here/wikiforumfooter.html'; echo file_get_contents($url); ?>
- Save the file.
- Go to your Wolf CMS admin area and login as administrator.
- Create a new layout: “footer”
- Add just your footer code to the footer layout
- Create a new layout: “header”
- Add just your header code to the footer header
- Create a new page “wikiheader”
- Set its layout to “header”
- Set its status to “hidden” and save
- Create a new page “wikifooter”
- Set its layout to “footer”
- Set its status to “hidden” and save
That should be it… if you now go to http://www.yoursite.here/forum you *should* see your forum with the header and footer from your site… From there, just tweak the forum's CSS code a bit.
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
