2014-02-14, 19:11:31
(2014-02-07, 11:25:27)datiswous Wrote: Maybe you can try to study templates who do php include with other template files. Like Innovation theme and GStwentytwelve..
I assume you try to include the menu (from an other template file) into the main template file. You can also take the menu as basis and include a template for every demo-site you want to show.
So your page consists of 2 template files: top (menu) and rest. Top stays the same (or you want a different styled menu somewhere else..). Rest consists of one website template and multiple "demo" templates.
ok I admit, sometimes I pretend to learn things without studying are very lazy ... I finally figured out where wrong studying other templates are able to understand and incorporate what I wanted.
The problem was the following:
The file that I wanted to include was a renamed html to PHP so all the paths were poorly written and did not work.
If I learn how to enable mod_rewrite are in place ...
PS: I'm really mad I follow the wiki but there is no way to make it work, it gives me error page not found: (