This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getCanonicalUrl() | |
{ | |
if (($oCategory = $this->getActiveCategory())) { | |
$oUtils = oxRegistry::get("oxUtilsUrl"); | |
if (oxRegistry::getUtils()->seoIsActive()) { | |
$sUrl = $oUtils->prepareCanonicalUrl( | |
$oCategory->getBaseSeoLink($oCategory->getLanguage(), '') | |
); | |
} else { | |
$sUrl = $oUtils->prepareCanonicalUrl( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//erzeugen ein mockup | |
var mockFile = { name: "Filename", size: 12345 }; | |
// aufruf des default addedfile event handlers | |
myDropzone.emit("addedfile", mockFile); | |
// zeige das thumbnail an | |
myDropzone.emit("thumbnail", mockFile, "/image/url"); |
OlderNewer