Hi
hard coding is explain by ron.severdia in
joomla ux thread
For question2 the reply could be
hikashop use 2 variables to swicth beetween a joomla default template ? or boostrap. Bootstrap could be apply on the front side you want : client / server side . Hikashop don't override php code ( use another php file ) to use html code that use bootstrap selector . Hikashop write the "html code " in a php file with a if ( variable name ) .
the two variable name are
- for back end HIKASHOP_BACK_RESPONSIVE
- for front end HIKASHOP_RESPONSIVE
Hikashop don't support variable for manage bootstrap version !! ( a nighmare to manage if they do it )
Boostrap selector use in hikashop should be the 2 version i think 2.3.2 that is the last robust 2 version since bootstrap goes to 3 version ( 3.0 3.0.2 3.0.3 3.1.0
3.1.1 ) . 2.3.2 is not maintian but is the best and can be use without problem
Use bootstrap style only if you don't know css , then you l have a boostrap look and feel even if you use tool to custom boostrap web tool ( size in px and color only no new css properties inside selector see
http://getbootstrap.com/customize/
. ) but take care the tool are in many case update to use the last bootstrap version
The hikashop web site don't use explicit bootstrap.css name but a custom css file call /templates/hikashop/templates.css .
the file is not documented but contain .span9 with override input.spanX textarea.spanX table.spanX selector that is use by boostrap 2
the hikashop demo site , the css files location seem better strutured , all the css file goes under media directory . there is 2 template.css files , one for hagane template and another one for falang . I think study HKS demo website answer to my questions from
another post
i don't find documentation about bootstrap but this
thread is usefull
There is many work to go from 2.3.2 to the last 3.1.1 .
There is also many change beetween the 3.x version so it is like goes to 2.x to 3.x .
hopethis ll be usefull