Jump to content

disable auto-generated topnav


alexpad
 Share

Recommended Posts

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

Screenshot 2022-11-15 at 00.06.44.png

Link to comment
Share on other sites

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 ?)

  • Thanks 1
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...