Where to place custom CSS and JS code so that it will not be erased when updating Joomshopping? | Где размещать кастомный CSS и JS код чтобы он не был стёрт при обновлении Joomshopping?

07.10.2024 23:58
#1
antonreut
Joomshopping forum user no avatar
Name: Anton
07.07.2014
Posts: 10
Quote
Where to place custom CSS and JS code so that it will not be erased when updating Joomshopping? | Где размещать кастомный CSS и JS код чтобы он не был стёрт при обновлении Joomshopping?

I am quite seriously finalizing the functionality of the store based on the business processes of the company where I work, where is the best place to place custom CSS and JS code so that it will not be erased when updating Joomshopping? In what files? I have not found anything like custom.css or custom.js in the component files.
-------------------
Я довольно серьезно дорабатываю функционал магазина исходя из бизнес-процессов компании где работаю, где лучше размещать собственный CSS и JS код чтобы он не был стёрт при обновлении Joomshopping? В каких файлах? Я не нашел ничего подобного custom.css или custom.js в файлах компонента.

 
08.10.2024 08:14
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28337
Quote
Aw: Where to place custom CSS and JS code so that it will not be erased when updating Joomshopping? | Где размещать кастомный CSS и JS код чтобы он не был стёрт при обновлении Joomshopping?

создайте свой шаблон my - например
components\com_jshopping\templates\my

тогда
components\com_jshopping\css\my.css - будет ваш css

--------------------------

создайте
\components\com_jshopping\config\user_config.php

добавте код
<?php
$config->file_functions_js = $config->live_path.'js/functionsmy.js';

скопируйте все с
functions.js
в
functionsmy.js

 
08.10.2024 08:53
#3
antonreut
Joomshopping forum user no avatar
Name: Anton
07.07.2014
Posts: 10
Quote
Aw: Where to place custom CSS and JS code so that it will not be erased when updating Joomshopping? | Где размещать кастомный CSS и JS код чтобы он не был стёрт при обновлении Joomshopping?

admin - 08.10.2024 08:14
создайте свой шаблон my - например
components\com_jshopping\templates\my

тогда
components\com_jshopping\css\my.css - будет ваш css

--------------------------

создайте
\components\com_jshopping\config\user_config.php

добавте код
<?php
$config->file_functions_js = $config->live_path.'js/functionsmy.js';

скопируйте все с
functions.js
в
functionsmy.js


Вот только в моей версии нет папки config:
Aw: Where to place custom CSS and JS code so that it will not be erased when updating Joomshopping? |  Где размещать кастомный CSS и JS код чтобы он не был стёрт при обновлении Joomshopping?

 
08.10.2024 10:10
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28337
Quote
Aw: Where to place custom CSS and JS code so that it will not be erased when updating Joomshopping? | Где размещать кастомный CSS и JS код чтобы он не был стёрт при обновлении Joomshopping?

У вас старая версии.
Обновитесь к Joomla 4/5 Joomshopping 5.

 
08.10.2024 18:03
#5
antonreut
Joomshopping forum user no avatar
Name: Anton
07.07.2014
Posts: 10
Quote
Aw: Where to place custom CSS and JS code so that it will not be erased when updating Joomshopping? | Где размещать кастомный CSS и JS код чтобы он не был стёрт при обновлении Joomshopping?

admin - 08.10.2024 10:10
У вас старая версии.
Обновитесь к Joomla 4/5 Joomshopping 5.


Я думаю это будет проблематично, учитывая количество правок которое я внес в код, придется ставить с нуля и настраивать дописывать код заново. Но попробую.
---
I think it will be problematic, considering the number of edits I made to the code, I will have to install from scratch and configure and rewrite the code. But I will try.

 
08.10.2024 20:32
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28337
Quote
Aw: Where to place custom CSS and JS code so that it will not be erased when updating Joomshopping? | Где размещать кастомный CSS и JS код чтобы он не был стёрт при обновлении Joomshopping?

Если вы используете старую версию.
Для старой версии обновлений не будет.

Можно не переживать
- Где размещать кастомный CSS и JS код чтобы он не был стёрт при обновлении Joomshopping

 


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.