NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Solved Did header/footer formats change?
Started by cbackas

cbackas

cbackas

Member
Joined
30 Mar 2016
Last Seen
02 May 2016
Topics
7
Posts
11

I've had a couple of custom pages on my site for a while now, and I had added the header and footer sections of code so that they look like they belong on the site more. (I set these pages up by using the format you gave me directly in the php file, not by using the "custom page" feature in nameless)

 

I had accomplished this custom footer by adding 

    <?php>	// Footer	require('core/includes/template/footer.php');	$smarty->display('styles/templates/' . $template . '/footer.tpl');		// Scripts 	require('core/includes/template/scripts.php');	?>

to the bottom of the page, and it used to work. Now it just shows me this at the bottom of the page:

Also, I used to have a functional header where the drop down would work and everything, but now it only shows the header and the more complicated features don't work. I can still click a link and go to a page (like forum) but clicking on my name to see the drop down for profile and all that does nothing. This probably isn't an issue you regularly run into but I would love it could be figured out :P Let me know if you want to see more sections of the code I used for a bigger picture of what's going on

 

Thanks!

cbackas · over 8 years ago
Schwertspize

Schwertspize

Member
Joined
30 Mar 2016
Last Seen
03 May 2022
Topics
0
Posts
3
Your code looks a but suspicious. Are you sure that it shouldn't be <?php
x1
Schwertspize · over 8 years ago
cbackas

cbackas

Member
Joined
30 Mar 2016
Last Seen
02 May 2016
Topics
7
Posts
11

I'll give that a shot :P I'm pretty sure I stole that chunk of code directly from some other file in the nameless system.

 

Update: That fixed the footer, and strangely enough changing that footer code fixed the navbar too cheeky

cbackas · over 8 years ago