Hi there,
I hope this is the right part of the forum to ask this question.If not? You may move this question to the approriate forum part.
I want to add some own PHP code in a template. Is that possible? I want to add the code in the menu template. So I can output the text of the page with the corresponding menuitem.
I hope you can help me!
Thanks!!
With kind regards,
Douwe
Can I add php in a template
Re: Can I add php in a template
Yes, You can do that by using a "User Defined Tag" (UDT) See under Extensions.
Note that you do not use <?php as a start there
Note that you do not use <?php as a start there
Re: Can I add php in a template
Thank you for your quick reply!
Is it possible to get read the variables made from within the menu template?
My page doesn't reload when a menuitem is clicked. You can check the example on: http://test.l2mdesigners.com/home/index.html
I just want to load all the content on entering this page and show / hide the content when clicking on the menuitem. Or is there another way to do this...
Hope to hear from you soon!
Thnks!
Is it possible to get read the variables made from within the menu template?
My page doesn't reload when a menuitem is clicked. You can check the example on: http://test.l2mdesigners.com/home/index.html
I just want to load all the content on entering this page and show / hide the content when clicking on the menuitem. Or is there another way to do this...
Hope to hear from you soon!
Thnks!