Hi. Can anyone point me in the direction of any instructions to copy the default theme to include twig files in version 3.0.2.0. If I follow the old instructions and upload a basic set of files to catalog/view/theme/{new theme name}.. I can select the new theme folder from the admin panel from extension/extension/edit theme but when I use the theme editor no changes are made. Am I assuming correctly that new themes should be able to be modified from the theme designer ?
[UPDATE]
I have now managed to load the twig files from my theme by activating the theme in the system/settings - edit - Theme dropdown. But if i try and enable the theme in Extensions/Themes(2) I get a HTTP error 500. I have also made new files in the following folders:
admin/controller/extension/theme/{name}.php ..... I have changed reference from /theme/default to /theme/{name}
admin/language/en-gb/extension/theme/{name}.php ..... I changed theme title
admin/view/template/extension/theme/{name}.twig .... no changes
I now also get an error when I view the site - a blank page with the text-> Error: A theme has not been assigned to this store!
Any ideas folks ?
Kind Regards
JabberGabber
Well, I just hope, that you don't plan to use an older version Theme, and just
rename all it's file-extensions to .twig, to then be able to use it in an OC v.3
It would just not function, TWIG is no longer PHP !
Good Luck!
Ernie
---
OC v.2.2.0.0 Product Page Content:
OC v.3.0.2.x Product Page Content:
rename all it's file-extensions to .twig, to then be able to use it in an OC v.3

It would just not function, TWIG is no longer PHP !
Good Luck!

Ernie
---
OC v.2.2.0.0 Product Page Content:
Code: Select all
<div id="content" class="<?php echo $class; ?>"><?php echo $content_top; ?>
<div class="row">
<?php if ($column_left || $column_right) { ?>
<?php $class = 'col-sm-6'; ?>
<?php } else { ?>
<?php $class = 'col-sm-8'; ?>
<?php } ?>
Code: Select all
<div id="content" class="{{ class }}">{{ content_top }}
<div class="row">
{% if column_left or column_right %}
{% set class = 'col-sm-6' %}
{% else %}
{% set class = 'col-sm-8' %}
{% endif %}
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 9 guests