template mods

I am a novice , so please forgive the redundant ?s,

i need to put a php include that will be shown on all pages, it will be the main point of surfer navigation,what file do I edit?

You want to create a custom menu? You can't include php files in your templates. you can include files using the standard include syntax such as:

{include file="common_templates/styles.tpl"}

thank you but which file is the wrapper for all pages?

Check customer/index.tpl I think.

Depending on what you are trying to do, there might be an easier way.

Also, while I'm not sure exactly how, but you can have PHP in your templates. Just be sure to go into your config.local.php file and change:

'allow_php_in_templates' => false, // Allow to use {php} tags in templates


'allow_php_in_templates' => true, // Allow to use {php} tags in templates

It would probably be worth searching around the forums to see how it is done though. I know this type of thing has been asked before.

Also, if you could elaborate on what you are trying to do, we might be able to help you more.



what i need to do is put in some code for site navigation it would sit at the very top of all pages, it would allow people to surf between other sections of my site like my mp3 search area,my social engine section ,and so on