Hi
Maybe a newbie question, but I simply do not get it to work.
I would like to show the nav-menu also on the home page.
How do I manage this?
THX for any hint.
nav-menu also visible on home
Re: nav-menu also visible on home
Hi @rlandto,
1. Open the file inc.Common.php in your code editor. You will find the file in the root directory of your app.
2. Find the following lines:
3. Remove or comment-out the first and the third line and keep the second line
4. Save the file and reload your browser to verify the result.
Caution
AppGini will overwrite inc.Common.php on next code generation as long as you do not uncheck inc.Common.php before generating.
Regards,
Jan
Some of my AppGini improvements:
https://www.bizzworxx.de/en/appgini-improvements/
1. Open the file inc.Common.php in your code editor. You will find the file in the root directory of your app.
2. Find the following lines:
Code: Select all
<?php if(!$home_page){ ?>
<?php echo NavMenus(); ?>
<?php } ?>
Code: Select all
<?php echo NavMenus(); ?>
Caution
AppGini will overwrite inc.Common.php on next code generation as long as you do not uncheck inc.Common.php before generating.
Regards,
Jan
Some of my AppGini improvements:
https://www.bizzworxx.de/en/appgini-improvements/
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: nav-menu also visible on home
Hi jsetzer
Perfect. Working like a charm.
Thank you
Perfect. Working like a charm.
Thank you
Re: nav-menu also visible on home
You are welcome!
Jan
Jan
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: nav-menu also visible on home
This works perfect, thanks to Jan sir for this...jsetzer wrote: ↑2018-12-04 09:57Hi @rlandto,
1. Open the file inc.Common.php in your code editor. You will find the file in the root directory of your app.
2. Find the following lines:
3. Remove or comment-out the first and the third line and keep the second lineCode: Select all
<?php if(!$home_page){ ?> <?php echo NavMenus(); ?> <?php } ?>
4. Save the file and reload your browser to verify the result.Code: Select all
<?php echo NavMenus(); ?>
Caution
AppGini will overwrite inc.Common.php on next code generation as long as you do not uncheck inc.Common.php before generating.
Regards,
Jan
Some of my AppGini improvements:
https://www.bizzworxx.de/en/appgini-improvements/
With regard,
Debenkumar Naorem
Debenkumar Naorem