Thanks for a great tutorial. I have some custom pages I am creating and it only took a few minutes to do so by following this example code.
I didn't see this mentioned in the thread but there is one slight problem with the code as it exists. (or at least there was when I implemented it on my site)
In the php code, you load the page title in to variable pagetitle but in the template you have vboptions.bbtitle so the title for the page shows up as forums.
I changed the line in the template from:
<title>{vb:raw vboptions.bbtitle}</title>
to
<title>{vb:raw pagetitle}</title>
and it worked as expected.
Take care!
--Ed
|