Importing a PrestaShop ...uhm... 1.7 theme


  • Global Moderator

    Has anybody tried this?

    I admit it’s a bit a silly situation. Worked many weeks on a PS 1.7 custom theme. 1.7 for it’s apparently cleaner default theme. When I was almost done, ThirtyBees appeared and PS 1.7 turned out to be a bit buggy as well as slow. Bummer.

    Copying the theme wasn’t that difficult, it’s recognized. But instead of getting at least something, templates aren’t found. Messages like this appear on an otherwise blank page:

    Fatal error: Uncaught --> Smarty: Unable to load template file '/var/www/html/ThirtyBees/themes/classic/header.tpl'
    <-- thrown in /var/www/html/ThirtyBees/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 129
    

    The 1.7 default theme header.tpl is in classic/templates/_partials/header.tpl (and there is only one, not three).

    Is there a known way to fix this?


  • administrators

    Say what? A PrestaShop 1.7 theme on thirty bees?

    It would be awesome if we could make that work, haha


  • administrators

    For now, the almighty template inheritance is what seems to make you get stuck. Maybe if you could override the FrontControllers to expose the correct smarty variables and rewrite the templates to include pieces a local copy of the Classic theme you could get a long way.


Log in to reply
 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.