View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002569 | OXID eShop (all versions) | 3.1. Design, GUI, UX | public | 2011-02-28 16:41 | 2011-07-05 14:06 |
Reporter | intertag | Assigned To | |||
Priority | urgent | Severity | block | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.0_beta3 | ||||
Fixed in Version | 4.5.1 revision 38045 | ||||
Summary | 0002569: Custom theme: image inheritance not working if img-folder is present in custom theme | ||||
Description | I have created a custom theme for the azure theme like described here: http://wiki.oxidforge.org/Tutorials/Understanding_theme_management_in_OXID_eShop_from_4.5.0 Now the frontend references an image (myTheme/img/basket.png) which is not present in my custom theme. It is present in the original azure theme (azure/img/basket.png). This only happens if the img folder in the custom theme existis. I would expect an image within the custom theme only to be referenced, if it is present there and fallback to the original theme otherwise. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | FireFox 3.x | ||||
PHP Version | any | ||||
Database Version | 5.1 | ||||
related to | 0003025 | resolved | Linas Kukulskis | regarding 0002569: no change required: issue not correctly handled |
|
Reminder sent to: intertag Hello, sorry, but i can not reproduce the case. Could you please let us know, if you still experience same problem with our latest eShop 4.5.0 revision 34568 release? greetings, |
|
Just create an empty src or img directory in a custom theme folder. While it is possible to create an empty tpl Folder and put only modified files in it, you have to copy the contents of src and img, because original folders are ignored if those folders are present in custom theme. |
|
I experience this still in latest nightly build of 4.5. As soon as out/mytheme/img exists, it is used for ALL img, wether they exist in mytheme or not. I dont experience this for src, though. |
|
fixed theme image inheritance. added parameter to get'er: $oViewConf->getImageUrl( $sFile ); all image get'ers in template must be changed to: [{$oViewConf->getImageUrl('basket.png')}] |