How do I include a new template in an existing one?
Hi,
I'm customising my navbar template to include a banner with various functionality depending on whether a user is logged in or not and some jQuery etc.
I started by editing the navbar template and this works fine but it's getting a bit long now so I'd like to move my custom chunk into it's own template called custom_navbar_chunk and then just add a single line include in the navbar template.
But I can't find or work out what that single line would be or if it's possible at all. I've tried $custom_navbar_chunk but that doesn't work.
I don't want to create a whole new php file, but do I need one? Or am I compelled to use a plugin?
Can anyone help, have I got the wrong idea completely here?
Currently on: vBulletin 3.8.5
Thanks,
Tom
|