Override php files

More
6 years 8 months ago #72779 by csantos
Override php files was created by csantos
Hello,

I am updating flexicontent, but my flexicontent has changes in original files.
Other person did these changes whithout think in future update. I am trying to correct this.

How can I override php files? I need something like Override view

Can it be done the same?

For example, I need override /administrator/components/com_flexicontent/models/type.php or /administrator/components/com_flexicontent/controllers/items.php

Thank you!

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #72780 by micker
Replied by micker on topic Override php files
flexicontent use defaut override system of joomla
only view and layout can be overrided

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago - 6 years 8 months ago #72781 by ggppdk
Replied by ggppdk on topic Override php files
Hello

Joomla and all Joomla extensions

do not support changing the files that you mentioned


For flexicontent
-- only these are supported to be overriden :
(1) template files of views
(2) layouts of fields
(3) copies of FC templates (item/category layouts)

The file that you changed is a "hack" of core files

- changing it means that you will have to restore the hack every time that you upgrade

- and if you choose not to upgrade Flexicontent or any other extension that you hack similarly means that sooner or later you will have other issues


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 6 years 8 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.523 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline