MyBB Community Forums

Full Version: Adding to Portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've had an idea, which isnot working.
I'm tryong to put a new section called "links" it on the portal page, after the search part.
I've created a new template called portal_links and have added it in as {$links} into the portal template like the others, but it is simply not appearing at all. Why is this? If it helps, here is basically the portal_links template:


<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="thead"><strong>Links</strong></td></tr>
<tr><td class="trow1"> This section contains links to other forums that likewise have a link to here on their website.</td></tr>
<br /></br /><tr><td>Interested in having your forum here too? Just register and PM Harland with subject LINKS</td></tr>
</table><br /> 
It doesn't know $links means your new template.

Just add that code to the end of the portal_search template.
The portal templates are defined in the portal file - its a bugger to add stuff to it. You may want to check out proportal or advanced portal if you wish to extend your portal page Smile