-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.3.1
-
Component/s: None
-
Labels:None
I think and propose that the directory structure for Liferay themes should be changed to be simpler, and making new themes a lot easier.
I believe that instead of /html/themes/THEME_NAME/[...theme files and folders...] it should be set to /THEME_NAME/[...theme files and folders...]
Also, instead of having to specify templates-path and images-path it should assume those to be inside of the THEME_NAME/ directory (though still allow for overriding).
Also, the file path calls should work this way:
If no root path is defined, use the id as the root path.
If a root path is defined, but no templates-path and/or no images-path is set, set the default to be ROOT_PATH/(templates|images)
Lastly, if no beginning slash is present, assume that the path is relative to the root path.