Hi Guys,
I am creating a book site for a customer using the controller to have a layout like this...
www.site.com/books - the books listing page
www.site.com/books/view/1 - view book with id in database of 1.
I haven't setup a custom route as this is handled as standard with the controller where the parent page exists in the CMS.
Now here is the code that i have in my books.php file, pay particular attention to the view() function.
http://coedit.me/doc/L2hu1=7BV0kg=n0X
My problem is that, whilst the page in question (http://torinet.co.uk/ldnsecrets/books/view/1) loads in the template, the top level menu does not function. What have I done here, or missed rather, to prevent this from appearing... You'll also see the browser title loses the $SiteConfig.Title too.
Please help, this has been fussing me for many days.