carlosuc99 Posted July 27, 2012 Report Posted July 27, 2012 Hi, I create a .php file and I want to put it into the navigation menu. Any Ideas? Quote
carlosuc99 Posted July 27, 2012 Author Report Posted July 27, 2012 You can just edit core_navigation.tpl I want to add a php file into core_navigation.tpl to see in the menu but I have acces of all phpvms. Quote
carlosuc99 Posted July 27, 2012 Author Report Posted July 27, 2012 Ok, I create a module content. But How Can I include a php file in a tpl file?? Quote
Sava Posted July 27, 2012 Report Posted July 27, 2012 You really need to tell us what you are trying to do so we can help you. If you for example want to display some menu items for loggedin users only you can do it directly like this: <?php if (Auth:LoggedIn() == true) { ?> all the html for menu items for loggedin users goes here <?php } else { ?> all the html for visotors goes here <?php } ?> Again, it depends on what you would like to do Share more details and I can help you Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.