Skip to content

Instantly share code, notes, and snippets.

:octocat:
Out sick

Christopher Dosin ChristopherDosin

:octocat:
Out sick
Block or report user

Report or block ChristopherDosin

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 shop-navigation.tpl
<nav class="shop--navigation block-group">{* Menu (Off canvas left) trigger *}
{block name='frontend_index_offcanvas_left_trigger'}</nav>
<ul class="navigation--list block-group">
<ul class="navigation--list block-group">
<li class="navigation--entry entry--menu-left"><a class="entry--link entry--trigger btn is--icon-left" href="#offcanvas--left" data-offcanvas="true" data-offcanvasselector=".sidebar-main">
<i class="icon--menu"></i> {s namespace='frontend/index/menu_left' name="IndexLinkMenu"}{/s}
</a></li>
</ul>
</ul>
{/block}
View geo-inline
$('#zipcode').bind('keyup change', function(e) {
if ($(this).val().length > 4) {
var ort = $('#city');
$.getJSON('http://www.geonames.org/postalCodeLookupJSON?&country=DE&callback=?', {postalcode: this.value }, function(response) {
if (response && response.postalcodes.length && response.postalcodes[0].placeName) {
ort.val(response.postalcodes[0].placeName);
}
})
} else {
$('#city').val('');
View autocity.js
protected $javascript = array(
'src/js/autocity.js'
);
View gist:59402cde63464bcd5b45
$().ready(function () {
$(".lineData:contains('Garantie')").attr('id', 'garantie');
$("#garantie").remove();
});
View tab2.tpl
{extends file="parent:frontend/detail/tabs.tpl"}
{* New tab *}
{block name="frontend_detail_tabs_description" append}
{if $sArticle.attr4}
<a class="tab--link" title="{s name='NewTabsDescription'}{/s}" href="#">{s name='NewTabsDescription'}{/s}</a>
{/if}
{if $sArticle.attr5}
<a class="tab--link" title="{s name='Tab2TabsDescription'}{/s}" href="#">{s name='Tab2TabsDescription'}{/s}</a>
{/if}
@ChristopherDosin
ChristopherDosin / data.tpl
Last active Aug 29, 2015
Ändert die Größe des Modals bei Klick auf Versandkosten in der Detail Ansicht von Shopware 5
View data.tpl
{extends file='frontend/detail/data.tpl'}
{block name='frontend_detail_data_tax'}
<p class="product--tax" data-content="" data-modalbox="true" data-width="800" data-height="800" data-targetSelector="a" data-mode="ajax">
{s name="DetailDataPriceInfo"}{/s}
</p>
{/block}
View gist:dbe96e6ab414af208372
<p class="modal--size-table" data-content="" data-modalbox="true" data-targetSelector="a" data-width="400" data-height="400" data-mode="ajax">
<a class="block btn is--secondary is--center is--large" href="{url controller=custom sCustom=1}">Button Text</a>
</p>
View tabs.tpl
{extends file="parent:frontend/detail/tabs.tpl"}
{* New tab *}
{block name="frontend_detail_tabs_description" append}
{if $sArticle.attr4}
<a class="tab--link" title="{s namespace="frontend/detail" name='NewTabsDescription'}{/s}" href="#">{s namespace="frontend/detail" name='NewTabsDescription'}{/s}</a>
{/if}
{/block}
{* New Tab container *}
View new.tpl
<div class="buttons--off-canvas">
<a class="close--off-canvas" href="#">
<i class="icon--arrow-left"></i>
Zurück
</a>
</div>
<div class="content--description">
<div class="product--description">
{$sArticle.attr4}
</div>
View _ide_helper.php
<?php
/**
* An helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.0.16 on 2015-03-16.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
You can’t perform that action at this time.