Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Menu PHP Include
#12
(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: (
Reply


Messages In This Thread
Custom Menu PHP Include - by lakaroth - 2014-02-06, 04:52:11
RE: Custom Menu PHP Include - by shawn_a - 2014-02-06, 05:44:28
RE: Custom Menu PHP Include - by lakaroth - 2014-02-06, 06:07:18
RE: Custom Menu PHP Include - by shawn_a - 2014-02-06, 06:32:54
RE: Custom Menu PHP Include - by Carlos - 2014-02-06, 06:42:59
RE: Custom Menu PHP Include - by lakaroth - 2014-02-06, 06:47:53
RE: Custom Menu PHP Include [SOLVED] - by Carlos - 2014-02-06, 06:54:18
RE: Custom Menu PHP Include - by lakaroth - 2014-02-06, 08:05:49
RE: Custom Menu PHP Include - by shawn_a - 2014-02-06, 08:41:32
RE: Custom Menu PHP Include - by lakaroth - 2014-02-06, 18:37:13
RE: Custom Menu PHP Include - by datiswous - 2014-02-07, 11:25:27
RE: Custom Menu PHP Include (Solved) - by lakaroth - 2014-02-14, 19:11:31



Users browsing this thread: 1 Guest(s)