View Issue Details

IDProjectCategoryView StatusLast Update
13597Feature requests[All Projects] Theme editorpublic2018-05-18 09:27
ReporterDenisChenuAssigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary13597: Create an asset directory to put js / css and picture
DescriptionCurrently : assets directory contains all files and directory : view, md file, twig files etc …
I think it must contain only css + js + pictures (and files) and NEVER : twig and php files
Additional InformationThink we can have
assets/css/
assets/js/
assets/files/
assets/.{$number}

inside theme directory

The .vnumber is here when we need to clean asset : this update directory mtime, then update assets (tested in a windows IIS too).

We can do it easily but can break existing template (can have solution for it).
TagsNo tags attached.

Relationships

related to 13497 closedLouisGac Bug reports Editor sreen loads without css when creating/opdating custom css 

Activities

DenisChenu

DenisChenu

2018-04-12 17:23

developer  

DenisChenu

DenisChenu

2018-04-15 18:03

developer   ~47439

See https://www.yiiframework.com/wiki/148/understanding-assets#maintenance-of-the-assets-folder
Do not add the contents of the assets/ folder to any source-code control system; these files have master source in other places.
LouisGac

LouisGac

2018-05-16 13:08

manager   ~47635

yes I completly agree
DenisChenu

DenisChenu

2018-05-18 09:27

developer   ~47669

@LouisGac : you agree, but don't set it at start of twig development make it very harder to fix it now …

Strangely : i think i fix it in answer_html development part … but removed when moving to twig …

Issue History

Date Modified Username Field Change
2018-04-12 17:20 DenisChenu New Issue
2018-04-12 17:23 DenisChenu File Added: Capture du 2018-04-12 17-22-55.png
2018-04-15 18:00 DenisChenu Relationship added related to 13497
2018-04-15 18:03 DenisChenu Note Added: 47439
2018-05-16 13:08 LouisGac Note Added: 47635
2018-05-18 09:27 DenisChenu Note Added: 47669