Need to redefine files start.php for addons - Forum | JoomShaper
Solved SP Page Builder

Need to redefine files start.php for addons

Asked by Dmitry Goncharov 4 years ago Last activity 4 years ago

Need to redefine files start.php in the specified folders (we want to add data-attributes). How to do it? We did it according to the redefinition instructions, but it doesn't work.

You can make a video of how to redefine the file correctly start.php ?

https://disk.yandex.ru/d/i6buM0b5ifverg

Accepted answer

Marked as the solution
Ofi Khan Staff

Hello Dmitry Goncharov

Pavel is right. These files are not overridable. If you change something there, then you have to keep it safe. After each update, you have to update these files on your site.

Best regards

9 more replies

Dmitry Goncharov Asked this

?

Dmitry Goncharov Asked this

?

Dmitry Goncharov Asked this

???

Dmitry Goncharov Asked this

?

Pavel

Hi Dmitry. This is not possible to override as far as I know. You can only edit every time after update

Pavel
4 years ago · edited

There is a possibility of redefinition in the template. But it doesn't work. https://disk.yandex.ru/d/fzUR3CGKNbWoGw

Not the fact that it works if the component does not support it. Finding in this list means nothing. Try to create a structure manually in the HTML folder.

https://www.joomshaper.com/documentation/helix-framework/helix-ultimate-2/template-views-override

This instruction (via override folder) is only for those files that are delivered with the template out of the box (which you see in the HTML folder after installing the template). Previously, they could not be overriden without losing changes when update. Now you can, thanks to this system.

Any other overrides should be created by standard Joomla tools

Pavel

By the way, SPPB has its own overriding system through the sppagebuilder folder. But only the level of addons is available in this folder. The files that you want to override are global. Apparently therefore it is not possible to override them

Dmitry Goncharov Asked this
4 years ago · edited

Can any of the developers answer this question?

Log in to reply.