Advertisement:

Author Topic: [SOLVED] Osclass 3.1 - Templates for static pages  (Read 3948 times)

Groomain

  • Newbie
  • *
  • Posts: 22
[SOLVED] Osclass 3.1 - Templates for static pages
« on: February 25, 2013, 08:17:32 pm »
In 3.1 changes they have this mention :

  • Templates for static pages + better customization of pages

How can I used templates for pages ?
Where I need to put my template php file to use it as template like with wordpress.

Thank you for your answers.
« Last Edit: February 27, 2013, 04:59:04 pm by Groomain »

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Osclass 3.1 - Templates for static pages
« Reply #1 on: February 26, 2013, 10:21:01 am »
Hi Groomain,

I will probably shold write a more detailed guide in the wiki, but you have to put the template in the theme folder. Also, the template file should be called "template-{SOMETHING HERE}.php", for example, template-mycustompage.php

Groomain

  • Newbie
  • *
  • Posts: 22
Re: Osclass 3.1 - Templates for static pages
« Reply #2 on: February 26, 2013, 05:36:14 pm »
Thx _CONEJO, it's working perfectly

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Osclass 3.1 - Templates for static pages
« Reply #3 on: February 26, 2013, 05:56:52 pm »
today is tuesday but not  yet realese 3.1 verson ...

Cut us some slack, Tuesdays isn't over, but anyway, you prefer something buggy and unfinished? or a working and stable product?