Overrides - funktioniert nicht

17.06.2022 12:41
#1
Matt12
Joomshopping forum user no avatar
Name: Traudel
31.08.2021
Posts: 36
Quote
Overrides - funktioniert nicht

Hallo zusammen,

ich habe beim Shop folgende Dateien geändert:
components/com_jshopping/controller/ProductController.php

components/com_jshopping/templates/default/list_products/list_products.php

components/com_jshopping/templates/default/product/product_default.php

Entweder stehe ich auf der Leitung aber ich bekomme die Overrides nicht hin,
weder bei components/com_shopping/templates/mytemplate.... , Einstellung dann bei Konfiguration/Allgemein
noch bei meinem eigenen Template mytemplate/html/com_shopping

Es funktioniert einfach nicht.

Habt ihr einen Tipp? Vielen Dank

Traudel

Nachtrag - bei components/com_jshopping/templates/my funktioniert es jetzt - hatte vergessen die default.css zu kopieren und umzubennen in "my"

nur components/com_jshopping/controller/ProductController.php funktioniert noch nicht...


Joomla: 4.1.4
JoomShopping: 5.0.5
PHP: 7.4.29

Letzte Änderung: 17.06.2022 13:21
 
18.06.2022 07:37
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25938
Quote
Aw: Overrides - funktioniert nicht

--nur components/com_jshopping/controller/ProductController.php funktioniert noch nicht...

Did not understand you.
Error? or?

 
18.06.2022 11:59
#3
Matt12
Joomshopping forum user no avatar
Name: Traudel
31.08.2021
Posts: 36
Quote
Aw: Overrides - funktioniert nicht

Hi,

The shop works perfectly.

I have set calculations at the shop and created a template override, as I have changed some files (folder com_shopping/templates/my...). Everything OK!
I also had to add to ProductController.php for the calculations. (components/com_jshopping/Controller/ProductController.php).

How do I create an override for the "ProductController.php" file?, That doesn't work for me yet.

Thanks

Traudel

 
18.06.2022 12:29
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25938
Quote
Aw: Overrides - funktioniert nicht

There is no such possibility
override Controller.

Create plugin.

 
18.06.2022 13:14
#5
Matt12
Joomshopping forum user no avatar
Name: Traudel
31.08.2021
Posts: 36
Quote
Aw: Overrides - funktioniert nicht

OK,

Thank you..

Traudel

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.