Jump to content

Edit History

meyer2005

meyer2005

Nein, funktioniert leider auf keiner anderen Position.

Die .tpl Datei heisst contactformHome.tpl

und in der Datei ContactformHome.php habe ich angepasst

return $this->display(__FILE__, 'views/templates/widget/contactformHome.tpl');

Das funktioniert trotzdem nicht. Muss ich evt. in der DB was ändern?

Oder in der neuen Datei ContactHomeController!?

class ContactHomeControllerCore extends FrontController
{
    public $php_self = 'contactHome';
    public $ssl = true;

    /**
     * Assign template vars related to page content.
     *
     * @see FrontController::initContent()
     */
    public function initContent()
    {
        parent::initContent();

        $this->setTemplate('contactHome');
    }

    public function getBreadcrumbLinks()
    {
        $breadcrumb = parent::getBreadcrumbLinks();

        $breadcrumb['links'][] = [
            'title' => $this->getTranslator()->trans('Contact us', [], 'Shop.Theme.Global'),
            'url' => $this->context->link->getPageLink('contactHome', true),
        ];

        return $breadcrumb;
    }
}

meyer2005

meyer2005

Nein, funktioniert leider auf keiner anderen Position.

Die .tpl Datei heisst contactformHome.tpl

und in der Datei ContactformHome.php habe ich angepasst

return $this->display(__FILE__, 'views/templates/widget/contactformHome.tpl');

Das funktioniert trotzdem nicht. Muss ich evt. in der DB was ändern?

meyer2005

meyer2005

Nein, funktioniert leider auf keiner anderen Position.

Die .tpl Datei heisst contactformHome.tpl

und in der Datei ContactformHome.php habe ich angepasst

return $this->display(__FILE__, 'views/templates/widget/contactformHome.tpl');

Das funktioniert trotzdem nicht.

×
×
  • Create New...