View Issue Details

IDProjectCategoryView StatusLast Update
0001715OXID eShop (all versions)3.1. Design, GUI, UXpublic2010-06-28 19:23
Reporterjuergen_busch Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.2.0 revision 23610 
Fixed in Version4.4.0 revision 28699 
Summary0001715: Media files can't be open in a new tab or window
DescriptionIt should be possible to define in which way media files should be opened.
1st possibility: options in admin area (same window, new window, new tab)
2nd possibility: define it in details.tpl with target=_blank for example
Additional InformationFound this in \core\oxmediaurl.php:
$sForceBlank = $blNewPage?'target=_blank':'';
$sHtmlLink = "<a href='$sUrl' $sForceBlank >$sDesc </a>";

But $sForceBlank doesn't work and there is no way to realize this request in template.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

arvydas_vapsva

2010-05-26 09:02

reporter   ~0003073

after discussion we agreed that current way of opening (in same window) is not correct, normally media files should be opened in separate window, so we made this as default behaviour. If someone would like to implement diferent behaviour simple module for oxMediaUrl::getHtmlLink() can be written.