Page 1 of 1

howto make the hide title checkbox work in my own .tmpl ?

Posted: Fri 12. Aug 2005, 16:28
by Zym0tiC
Is it possible to include a sort of if statement in my own article .tmpl file, so that if i check the hide title box or the hide summary box that those will be hidden?

Posted: Fri 12. Aug 2005, 16:46
by pepe
Write separate templates:

one without summary
one without Title

give them "speaking" names, like : noTitle.tmpl / noSummary.tmpl

choose them inside the article basicInformation...

Posted: Fri 12. Aug 2005, 19:01
by Zym0tiC
I already thought about that but I was wondering if there would be an other solution for this.

Maybe with some php code