Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
283 views
in Themes by

Hello,

I see all is in qa-theme-base but problem is there not clean html there is mixed php,html e.g.

foreach ($this->content['widgets'][$region][$place] as $module) {
$this->output('<div class="qa-widget-'.$region.' qa-widget-'.$region.'-'.$place.'">');
$module->output_widget($region, $place, $this, $this->template, $this->request, $this->content);
$this->output('</div>');
 
how we can edit templates with edit just html without know php ?
 
Thanks.

1 Answer

0 votes
by
selected by
 
Best answer

You just can't. The PHP code is there to dynamically build the HTML output. In order to modify those files you will need to know the basics about string concatenation and flow control structures in PHP. There are plenty of tutorials on the web about those two items.

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...