2012-08-03, 01:59:16
Hey thanks for the quick reply.
I will take your advice and use a blank page set to my template.
The thing is, I don't understand what I have to put in to that template to get the punbb forum to load on that particular page. All css/style stuff aside, how do I accomplish the basic bit?
Here's my template file (a copy of the main site template):
I'm guessing I need to add in a call to the forum somewhere before or after <?php get_page_content(); ?>? or instead of it?
I will take your advice and use a blank page set to my template.
The thing is, I don't understand what I have to put in to that template to get the punbb forum to load on that particular page. All css/style stuff aside, how do I accomplish the basic bit?
Here's my template file (a copy of the main site template):
Code:
<?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }
?>
<head>
<title><?php get_page_clean_title(); ?> | <?php get_site_name(); ?>, <?php get_component('tagline'); ?></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<?php get_header(); ?>
<meta name="robots" content="index, follow" />
<link rel="stylesheet" type="text/css" href="<?php get_theme_url(); ?>/default.css" media="all" />
</head>
<body id="<?php get_page_slug(); ?>" >
<div id="wrapper">
<div id="header">
<h1 id="inline"><a class="logo" href="<?php get_site_url(); ?>"><?php get_site_name(); ?></a></h1>
<span class="tagline"><?php get_component('tagline'); ?></span>
</div><!-- end div#header -->
<div id="navigation">
<ul id="nav">
<?php get_navigation(return_page_slug()); ?>
</ul>
</div><!-- end div#nav -->
<div id="content">
<h2><?php get_page_title(); ?></h2>
<?php get_page_content(); ?>
<p id="permalink">
<strong>Permalink:</strong> <?php get_page_url(); ?><br />
<strong>Last Saved:</strong> <?php get_page_date('F jS, Y'); ?>
</p>
</div><!-- end div#content -->
<div id="footer">
<p class="left-footer">Content © <?php echo date('Y'); ?> <?php get_site_name(); ?></p>
</div><!-- end div#footer -->
</div><!-- end div#wrapper -->
</body>
</html>
I'm guessing I need to add in a call to the forum somewhere before or after <?php get_page_content(); ?>? or instead of it?