[SOLVED] Joomla template override com_bwpostman/layouts/subscriber
Joomla template override com_bwpostman/layouts/subscriber wurde erstellt von Jasper
How do I make a HTML override within my custom Joomla template for com_bwpostman/layouts/subscriber?
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
Romana antwortete auf Joomla template override com_bwpostman/layouts/subscriber
Hello Jasper,
that is not a great thing. This sub layout is called from tmpl at com_bwpostman/views/register/tmpl/default.php. At line You find 75
You create Your own sub layout and replace the default here with the name of Your sub layout. That is all.If You place Your sub layout at another folder, You have to adjust the part with $basePath accordingly.
Hth
Romana
that is not a great thing. This sub layout is called from tmpl at com_bwpostman/views/register/tmpl/default.php. At line You find 75
Code:
echo LayoutHelper::render(
'default',
array('subscriber' => $this->subscriber, 'params' => $this->params, 'lists' => $this->lists),
$basePath = JPATH_COMPONENT . '/layouts/subscriber'
);
You create Your own sub layout and replace the default here with the name of Your sub layout. That is all.If You place Your sub layout at another folder, You have to adjust the part with $basePath accordingly.
Hth
Romana
Problem gelöst? Dann bitte auf gelöst klicken. Über ein Danke freue ich mich immer.
Problem solved? Please click to solved.I am glad to every thank you.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
Jasper antwortete auf Joomla template override com_bwpostman/layouts/subscriber
Ok, thanks. I understand how to do it.
However how do I prevent this change from being overwritten on the fist BwPostman update?
However how do I prevent this change from being overwritten on the fist BwPostman update?
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
Romana antwortete auf Joomla template override com_bwpostman/layouts/subscriber
Hi Jasper,
for this store Your layout file wherever You want, i.e. at Your template, and adjust the $basepath variable to the path of Your layout file.
Hth
Romana
for this store Your layout file wherever You want, i.e. at Your template, and adjust the $basepath variable to the path of Your layout file.
Hth
Romana
Problem gelöst? Dann bitte auf gelöst klicken. Über ein Danke freue ich mich immer.
Problem solved? Please click to solved.I am glad to every thank you.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
Ladezeit der Seite: 0.114 Sekunden