Remember
Register
Welcome to the Question2Answer Q&A. There's also a
demo
if you just want to try it out.
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About
Wiki
Welcome to the Q&A for
Question2Answer
.
If you have questions about the platform,
click here to ask
and please use English.
If you just want to try Q2A, please use the
demo
, which also grants admin access.
May 16:
Q2A 1.6 Progress
Related questions
Template system so hard
where i can find this system API or template tags's list?
if($this->template=='unanswered') not working?
looking for someone who can create new template and edit some plug ins
Somebody succesfully converted HTML template to Q2A theme ?
Require the developer template for Q2A!
What is the best way to integrate Q2A with my current Wordpress theme?
How to set the style for the link "username" ...
Core request / wish: Add bulls to similar question list for v1.5.4
Using htmLawed to filter CSS style attributes from posted content (clean user input)
All categories
Q2A Core
(4,889)
Plugins
(940)
template system
+2
votes
526
views
I think an template system is required because many people will want to make their website unique and change the site layout not just the colours but everything else.
Something like other great scripts have like wordpress, phpbb, vbulletin etc.
template
style
asked
Mar 13, 2010
in
Q2A Core
by
julian
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
Other great scripts operate with themes. Themes can be created with Question2Answer already.
answered
Mar 13, 2010
by
anonymous
themes and templates are 2 different things, you can change the theme via the css file but i want to change everything about the design and structure and i think its easier with an template system.
The theme base class which outputs HTML is broken into many small functions to make it easy to override certain parts of the output. I understand this is not the same as templating. But the trouble with templating is that a versatile system gets so complicated that you might as well just use native PHP code. That's what the theme object allows you to do. I believe WordPress adopts a native PHP approach as well.
There is now proper documentation on how to create Question2Answer themes:
http://www.question2answer.org/advanced.php#theme
Please
log in
or
register
to add a comment.
...