View Issue Details

IDProjectCategoryView StatusLast Update
0005096OXID eShop (all versions)3. ----- eShop theme - Azure ------public2014-04-01 16:54
Reportervanilla thunder 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.7.5 / 5.0.5 
Target Version4.9.0_5.2.0_beta1Fixed in Version4.9.0_5.2.0_beta1 
Summary0005096: Smarty Tags destroying RDFa Code and Site Layout
DescriptionSmarty tags in article longdesc destroy RDFa tags on the top of the page and its layout.

This is not a shop configuration problem, because wysiwigpro editor (built-in PE editor) automatically replaces all shop url with "[{$oViewConf->getCurrentHomeDir()}]".
Steps To Reproduce1) go to demoshop admin
2) activate RDFa
3) copy-paste this code into article longdesc:
<img src="[{$oViewConf->getCurrentHomeDir()}]out/azure/theme.jpg" />
4) click on "open article preview"
Additional Informationpossible fix:
application/views/azure/tpl/rdfa/details/details.tpl line 25
application/views/azure/tpl/rdfa/details/inv/object.tpl line 13

use: content="[{oxeval var=$oLongdesc assign="desc"}][{$desc|strip_tags|strip }]"
instead: content="[{$oLongdesc->value|strip_tags|strip}]"
TagsRDFa, Smarty
ThemeAzure
BrowserAll
PHP Versionany
MySQL Versionany

Activities

cesnauskast

2013-10-31 14:01

administrator   ~0009204

Reminder sent to: vanilla thunder

Hi,

 As we saw, you already submitted a complete solution for this issue. If you feel fancy, you'd also have the possibility to contribute your changes directly to our GitHub repository on https://github.com/OXID-eSales/oxideshop_ce/. Please leave a note there with the bug number you fixed so we can close this issue in the bug tracker."

Best regards

Linas Kukulskis

2013-11-07 10:24

reporter   ~0009243

fixed with contribution

martinwegele

2014-04-01 16:54

reporter   ~0009797

https://github.com/OXID-eSales/oxideshop_ce/pull/76