I have created a new file into catalog/view/theme/default/template/common named to "slideshow.twig". Inside it, I have put :
Code: Select all
<div class="row">
<div id="content" class="col-sm-12">{{ content_top }}</div>
</div>
Code: Select all
{{ header }}
<div id="common-home" class="container">
{{ slideshow }}
<div class="row">
{{ column_left }}
{% if column_left and column_right %}
{% set class = 'col-sm-6' %}
{% elseif column_left or column_right %}
{% set class = 'col-sm-9' %}
{% else %}
{% set class = 'col-sm-12' %}
{% endif %}
<div id="content" class="{{ class }}">{{ content_bottom }}</div>
{{ column_right }}
</div>
</div>
{{ footer }}
Code: Select all
$data['slideshow'] = $this->load->controller('common/slideshow');
Code: Select all
$this->response->setOutput($this->load->view('common/home', $data));
Doing that, the website load blank. Reverting the changes on home.php, the website load normally.
So, what I need put in slideshow.php to make this work?