Question: What Should I do with every Update

What Should I do with every Update

This month there are a lot of updates, every time after download I start to make some changes then another update come then start again, so why just give us the only file and tell us the loc

K

karim

Asked
This month there are a lot of updates, every time after download I start to make some changes then another update come then start again, so why just give us the only file and tell us the location to put it in the location
  • HS

    Harpreet Singh

    Answered
    **[Mian Saleem](/u/saleem)** As I mentioned already, including custom.js (etc.) files in default theme will only help with frontend. But I don't have to modify the default theme files to include my scripts/styles for every update.
  • MS

    Mian Saleem

    Answered
    **[Harpreet Singh](/u/hs)** I can't promise but if you add new theme (documentation > developer guide > theme [Page #44]) that might help.
  • HS

    Harpreet Singh

    Answered
    **[Mian Saleem](/u/saleem)** I am already using custom theme as per your guide. The only thing is that I have to compare a few files with every update and if there is a change, I have to update the files to include my scripts (& css) every time.

    If you add an ```empty.{js/css}``` file by default in your ```"default"``` theme then code igniter will automatically load my customised file (js/css) and I don't have to modify any other file.

    This will be very helpful and would save a lot of headache on every update.

    Hope my point is clear enough.
  • MS

    Mian Saleem

    Answered
    **[Harpreet Singh](/u/hs)** I will try to add custom `css` & `javascript` files in next update. Thank you
  • Login to Reply