MyBB Community Forums

Full Version: where is the global template ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I added a back to the top script in the index, but it doesnt show up anywhere else.....

where is the global templates

thanks
basically scripts affecting all pages should be added to headerinclude template (in ungrouped templates) or footer template

btw, can we have your forum url
is there a footer include? i need it down the bottom !!

forum is almost ready but still on localhost
^ not like footer include - footer template can have scripts at the bottom
(2015-02-01, 05:54 AM)expat Wrote: [ -> ]I added a back to the top script in the index,

The standard footer template already has this link. doesn't it?

 <ul class="menu bottom_links">
{$contact_us}
<li><a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a></li>
<li><a href="#top">{$lang->bottomlinks_returntop}</a></li>
<li><a href="<archive_url>">{$lang->bottomlinks_litemode}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></li>
</ul>


These are lines 9 to 15.
yeah but i was playing around with a script Toungue

btw, why does [code]{$mybb->settings['homeurl']}[/quote]

go to the root of my host?
^ it is set like that in your forum settings. look in site details at configuration settings of the admin panel