2015-02-01, 05:54 AM
2015-02-01, 06:03 AM
basically scripts affecting all pages should be added to headerinclude template (in ungrouped templates) or footer template
btw, can we have your forum url
btw, can we have your forum url
2015-02-01, 06:15 AM
is there a footer include? i need it down the bottom !!
forum is almost ready but still on localhost
forum is almost ready but still on localhost
2015-02-01, 06:27 AM
^ not like footer include - footer template can have scripts at the bottom
2015-02-01, 12:01 PM
(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.
2015-02-01, 12:03 PM
yeah but i was playing around with a script
btw, why does [code]{$mybb->settings['homeurl']}[/quote]
go to the root of my host?
btw, why does [code]{$mybb->settings['homeurl']}[/quote]
go to the root of my host?
2015-02-01, 12:14 PM
^ it is set like that in your forum settings. look in site details at configuration settings of the admin panel