View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005439 | OXID eShop (all versions) | 1.09. Integrations: Facebook, Trusted Shops, Shop lupe, Econda | public | 2013-09-26 10:04 | 2013-10-07 12:43 |
| Reporter | vanilla thunder | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Product Version | 4.7.8 / 5.0.8 | ||||
| Target Version | 4.7.9 / 5.0.9 | ||||
| Summary | 0005439: facebook social buttons trying to load even without an fb app id | ||||
| Description | facebook social buttons on product details page loads even if app id is not configured. application/views/azure/tpl/page/details/inc/productmain.tpl row 326
[{if ( $oView->isActive('FbShare') || $oView->isActive('FbLike') && $oViewConf->getFbAppId() ) }]
which actually results a wrong condition for loading buttons: if ( share plugin is active ) OR ( like plugin active + app id is set ) so it would load buttons when you enable the share plugin in backend. the simpliest solution would be to move the last braket before the && condition
[{if ( $oView->isActive('FbShare') || $oView->isActive('FbLike') ) && $oViewConf->getFbAppId() }]
| ||||
| Steps To Reproduce |
| ||||
| Additional Information | in my opinion, share should work even without an app id, cause sharing is like copying site url directly into the status box of facebook: it doesnt care if the page has an app id or not. But facebook init widget loads only if the facebook app id is configured. | ||||
| Tags | |||||
| Theme | Azure | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||
|
|
duplicate of https://bugs.oxid-esales.com/view.php?id=5358 |
|
|
Hi, The issue is closed as duplicate of 0005439 Best regards |