Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Alexander Wolf xndrdev

🎯
Focusing
Block or report user

Report or block xndrdev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View blog-post-shopware6-installation-with-mamp-3
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
@xndrdev
xndrdev / main-navigation.tpl
Created Aug 10, 2018
Navigation mit Animation
View main-navigation.tpl
{extends file="parent:frontend/index/main-navigation.tpl"}
{block name='frontend_index_navigation_categories_top_home'}
<li class="navigation--entry hvr-buzz {if $sCategoryCurrent == $sCategoryStart && $Controller == 'index'} is--active{/if} is--home" role="menuitem">
{block name='frontend_index_navigation_categories_top_link_home'}
<a class="navigation--link is--first{if $sCategoryCurrent == $sCategoryStart && $Controller == 'index'} active{/if}" href="{url controller='index'}" title="{s name='IndexLinkHome' namespace="frontend/index/categories_top"}{/s}" itemprop="url">
<span itemprop="name">{s name='IndexLinkHome' namespace="frontend/index/categories_top"}{/s}</span>
</a>
{/block}
</li>
View main-navigation.tpl
{block name='frontend_index_navigation_categories'}
<div class="navigation--list-wrapper">
{block name='frontend_index_navigation_categories_navigation_list'}
<ul class="navigation--list container" role="menubar" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
{strip}
{block name='frontend_index_navigation_categories_top_home'}
<li class="navigation--entry{if $sCategoryCurrent == $sCategoryStart && $Controller == 'index'} is--active{/if} is--home" role="menuitem">
{block name='frontend_index_navigation_categories_top_link_home'}
<a class="navigation--link is--first{if $sCategoryCurrent == $sCategoryStart && $Controller == 'index'} active{/if}" href="{url controller='index'}" title="{s name='IndexLinkHome' namespace="frontend/index/categories_top"}{/s}" itemprop="url">
<span itemprop="name">{s name='IndexLin
View Theme.php
<?php
namespace Shopware\Themes\DEINTHEME;
use Shopware\Components\Form as Form;
class Theme extends \Shopware\Components\Theme
{
protected $extend = 'Responsive';
@xndrdev
xndrdev / index.tpl
Created Feb 24, 2018
Rechnungsblock mit korrekter Lieferadresse erweitert
View index.tpl
{extends file="parent:documents/index.tpl"}
{block name="document_index_address"}
{$smarty.block.parent}
{assign var="shippingAddress" value="shipping"}
<br />
{$User.$shippingAddress.company}<br />
{$User.$shippingAddress.salutation|salutation}
@xndrdev
xndrdev / index.tpl
Last active Dec 18, 2018
Rechnungsblock erweitert um beliebigen Text
View index.tpl
{extends file="parent:documents/index.tpl"}
{block name="document_index_address"}
{$smarty.block.parent}
<p>Lieferadresse hier rein</p>
{/block}
@xndrdev
xndrdev / index.tpl
Created Feb 23, 2018
Eigene index.tpl für PDF Dokumente
View index.tpl
{extends file="parent:documents/index.tpl"}
You can’t perform that action at this time.