alexpad Posted November 14, 2022 Share Posted November 14, 2022 Hello, I need your support. I can't figure it out where is the and why it generated at the bottom of the site a new navigation menu. I have seen that the class is topnav, but in the home.php page I don't have something like this to generate this menu. Can't figure it out how to remove. Please help Link to comment Share on other sites More sharing options...
zoeck Posted November 15, 2022 Share Posted November 15, 2022 Unfortunately, without more information we can not help. Maybe you have included a php file that outputs this? Processwire does not automatically generate such information But there's a configuration if you want to append or prepend a file: config.php: $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_main.php'; There's also a config inside of each template ("files" tab ?) 1 Link to comment Share on other sites More sharing options...
pwired Posted November 15, 2022 Share Posted November 15, 2022 In your browser open page source and see what code shows up there. With that you should be able to trace from where it is coming. 1 Link to comment Share on other sites More sharing options...
alexpad Posted November 15, 2022 Author Share Posted November 15, 2022 11 hours ago, zoeck said: Unfortunately, without more information we can not help. Maybe you have included a php file that outputs this? Processwire does not automatically generate such information But there's a configuration if you want to append or prepend a file: config.php: $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_main.php'; There's also a config inside of each template ("files" tab ?) Many thanks, I have disabled the append and it was solved. Actually I have found the code that I was searching for in the _main.php file. Thanks again for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now