git and hikashop

  • Posts: 846
  • Thank you received: 92
10 years 7 months ago #184061

-- HikaShop version -- : 2.34
-- Joomla version -- : 2.38.
-- PHP version -- : 5.5.8
-- Browser(s) name and version -- : many

hi
i don't remenber wich post and when but the answer was about change HKS code in a php file locate under administrator .
a) Does when use hikashop , we need to edit HKS file under this directory ?
b) What is the best way to create a .ignore file that contain the list of all directories create by HKS under this administrator directory ?
I find a .ignorefile in git server for joomla 2.5 .
c) should i git all the joomla server on only ( for designer purpose) the templates name ? in a way many assets from joomla extension ( core or not) ll not be locate in my templatename folder !!
regard's

Last edit: 10 years 7 months ago by lionel75.

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

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
10 years 7 months ago #184077

Hi,

I am sorry but I don't understand any single question of your post.
And I don't see any link between git (or ignore files) and hikashop.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 846
  • Thank you received: 92
10 years 7 months ago #184139

Hi
there is relation . If i need to custom hikashop and go to HKS php code i ll change the code and I want to "versioning " / manage my changes. i dont know if override (copy HKS php file in inside templatesname/html/ ...) can be done in all cases. The same question could be : Do we need in some case modify HKS core php file ? ( modify the real file install after installation , i don't mean copy a php file somewhere else or rename it and then change the code ) .
if the answer is yes ; i ll initiate my git for manage all php file install by HKS . if not i ll create a gitignore file.
regard's

Last edit: 10 years 7 months ago by lionel75.

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

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 7 months ago #184145

Hi,

We sometimes give patches in core files of HikaShop but these patches are then included in HikaShop so no need for versioning the files. We rarely give customization code for core files but it can sometime happen to make it easy for the person as he is not a developer, but a proper way would be to override the file via a plugin or the override system in Joomla/HikaShop.
And it's even more rare that a customization wouldn't be possible via an override or plugin of some sort. Now there is always the possibility that it is necessary and often, when that happen we add triggers or modify the code in some other way so that it won't be necessary to modify the core file in the future.

The following user(s) said Thank You: lionel75

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

  • Posts: 846
  • Thank you received: 92
10 years 7 months ago #184364

So .. i ll only use git for manage my templates .
Thank's

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

Time to create page: 0.053 seconds
Powered by Kunena Forum