adam2314 / linet3

Linet accounting application
16 stars 18 forks source link

Duplicating Linet default Theme to new #536

Closed starnetwork closed 9 years ago

starnetwork commented 9 years ago

Hi, can you please let me know what is the steps to duplicate Linet default theme to new theme so we can work on the new theme and let users select template to work.

Regards,

adam2314 commented 9 years ago

Hello You don't need to duplicate just use this: http://www.yiiframework.com/doc-2.0/guide-output-theming.html

starnetwork commented 9 years ago

thanks for that answer! but just to know, there is no default theme for Linet 3.1? as good as I see, no @app/themes at all on our Installations and not also in our private git

also, just to make it clear, linet supporting in few themes and unique css / js files for each theme?

adam2314 commented 9 years ago

the default theme is @app/protected/views im not using @app/themes path anymore

you can add any css or js...

starnetwork commented 9 years ago

so just to know,

  1. if I want to add another theme I should copy @app/protected/views to @app/protected/views2 ?
  2. why I don't see the theme css / js / img related files in any view? there is any other path for theme related static files?

Regards,

adam2314 commented 9 years ago
  1. you can. but i wouldn't copy all of it.
  2. please read about Assets in the yii2 doc.