2016-03-24, 02:38 AM
Hello,
While I'm aware my query has been asked before I'm also aware that nothing I've trued from following various threads has worked.
My query is thus.
I'm looking to make a new Template for my installation my MyBB, which will display information from one root location, to clarify what i mean by template.
Templates & Style > Templates > Template Sets > YourTemplateName > Add Template
it is to be displayed on the Portal, and Index page, so it would be great if i could update the information from one source.
Example, this.
can be placed "anywhere".
A template known for these purposes as InfoPortal currently placed within the uncategorised templategroups.
While I'm aware I can simply input a table like so.
however I would prefer NOT to do so, it feels clunky, and for my purposes needs to work across multiple pages, instead add it as a {$InfoPortal} so I can keep the information together, updated from one singular source.
I attempted to follow such information on other forums.
So once more i would like to know, How to call in my own {$InfoPortal} on multiple pages, from one root source, thank you in advance.
I would appreciate any insight on this, if I find anything out I will endiver to explain it in full on this post or another below it.
While I'm aware my query has been asked before I'm also aware that nothing I've trued from following various threads has worked.
My query is thus.
I'm looking to make a new Template for my installation my MyBB, which will display information from one root location, to clarify what i mean by template.
Templates & Style > Templates > Template Sets > YourTemplateName > Add Template
it is to be displayed on the Portal, and Index page, so it would be great if i could update the information from one source.
Example, this.
can be placed "anywhere".
A template known for these purposes as InfoPortal currently placed within the uncategorised templategroups.
While I'm aware I can simply input a table like so.
{$header}
<tr><td valign="top" width="200">
<div style="float:{$right};"><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Information</strong></td>
</tr>
<tr>
<td class="trow1" align="center">
Information here
</form>
</td>
</tr>
</table>
{$welcome}
{$pms}
{$search}
{$stats}
{$whosonline}
{$latestthreads}
however I would prefer NOT to do so, it feels clunky, and for my purposes needs to work across multiple pages, instead add it as a {$InfoPortal} so I can keep the information together, updated from one singular source.
I attempted to follow such information on other forums.
- http://community.mybb.com/showthread.php...#pid105980
- http://community.mybb.com/thread-131608.html
- http://community.mybb.com/thread-131530.html
$$InfoPortal = '';
// $InfoPortal box
if($mybb->settings['$InfoPortal '] != 0)
{
eval("\$InfoPortal = \"".$templates->get("InfoPortal")."\";");
}
THEN adding {$InfoPortal} to my page, still came up bust.So once more i would like to know, How to call in my own {$InfoPortal} on multiple pages, from one root source, thank you in advance.
I would appreciate any insight on this, if I find anything out I will endiver to explain it in full on this post or another below it.