diff --git a/metadata.php b/metadata.php index afbb78f..33ac0d9 100644 --- a/metadata.php +++ b/metadata.php @@ -36,8 +36,8 @@ 'oxutilsview' => 'toxid_curl/core/toxid_curl_oxutilsview' ), 'templates' => array( - 'toxid_curl.tpl' => 'toxid_curl/views/azure/toxid_curl.tpl', - 'product.tpl' => 'toxid_curl/views/azure/product.tpl', + 'toxid_curl.tpl' => 'toxid_curl/views/flow/toxid_curl.tpl', + 'product.tpl' => 'toxid_curl/views/flow/product.tpl', 'toxid_setup_main.tpl' => 'toxid_curl/views/admin/tpl/toxid_setup_main.tpl', 'toxid_content_widget.tpl' => 'toxid_curl/views/widgets/toxid_content_widget.tpl', ), diff --git a/views/azure/product.tpl b/views/azure/product.tpl deleted file mode 100644 index c80339e..0000000 --- a/views/azure/product.tpl +++ /dev/null @@ -1,6 +0,0 @@ -[{ toxid_load type="oxarticle" ident=$ident oxid=$oxid assign="oProduct"}] -[{if $oProduct}] - -[{/if}] diff --git a/views/flow/product.tpl b/views/flow/product.tpl new file mode 100644 index 0000000..957e63f --- /dev/null +++ b/views/flow/product.tpl @@ -0,0 +1,7 @@ +[{toxid_load type="oxarticle" ident=$ident oxid=$oxid assign="_product"}] +[{if $_product}] + [{assign var="testid" value=$_product->getId()}] +
+ [{oxid_include_widget cl="oxwArticleBox" _parent=$oView->getClassName() nocookie=1 _navurlparams=$oViewConf->getNavUrlParams() iLinkType=$_product->getLinkType() _object=$_product anid=$_product->getId() isVatIncluded=$oView->isVatIncluded() rsslinks=$rsslinks sWidgetType="product" sListType="listitem_line" inlist=$_product->isInList() skipESIforUser=1}] +
+[{/if}] diff --git a/views/azure/toxid_curl.tpl b/views/flow/toxid_curl.tpl similarity index 100% rename from views/azure/toxid_curl.tpl rename to views/flow/toxid_curl.tpl