This file contains 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
/** | |
* Method to set up the document properties | |
* | |
* @return void | |
*/ | |
protected function setDocument() | |
{ | |
$compparams = JComponentHelper::getParams('com_xxx); | |
$lat = $compparams->get('lat', 53.54520363618777); | |
$lng = $compparams->get('lng', 9.9755859375); |
This file contains 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
var map = null; | |
(function($) { | |
var markersArray = null; | |
$.fn.addMarker = function(arg){ | |
var defaultOptions = { | |
lat: 49.449224, | |
lng: 10.9892375, | |
zoom: 13, |
This file contains 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
/* | |
Area | |
====== | |
Page Layout Areas | |
*/ | |
.o-area { | |
$api: ( | |
breakpoint: 'm' | |
); |
This file contains 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
<?php | |
$params = $this->item->params; | |
$fahrzeugdaten = $params->get('fahrzeugdaten', 0); | |
if ($fahrzeugdaten) | |
{ | |
foreach ($fahrzeugdaten as $fahrzeugdetail) | |
{ | |
$fahrzeugdetail = (object) $fahrzeugdetail; | |
echo $fahrzeugdetail->rohrlaenge; //usw. |
This file contains 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
<?php | |
$filetyp = 'zip'; | |
if (isset($_GET['filetyp'])) | |
{ | |
switch ($_GET['filetyp']) { | |
case 'zip': | |
$filetyp = 'zip'; | |
break; | |
case 'targz': | |
$filetyp = 'tar.gz'; |
This file contains 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
const installJoomla = () => { | |
return { | |
install: (context) => { | |
return new Promise((resolve, reject) => { | |
if (context.props.projectusage === 'joomla') { | |
if (context.commands.wget) { | |
context.spawnCommand('wget', ['http://buildwithcraft.com/latest.tar.gz\?accept_license\=yes']).on('close', () => { | |
context.spawnCommand('mkdir', ['dist']).on('close', () => { | |
context.spawnCommand('tar', ['-zxvf', 'latest.tar.gz\?accept_license=yes', 'craft/']).on('close', () => { | |
context.spawnCommand('mv', ['craft', 'dist/']).on('close', () => { |
This file contains 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
protected function _getUserData() | |
{ | |
if ($this->user->guest) | |
{ | |
return; | |
} | |
// Get the dispatcher and load the user's plugins. | |
$dispatcher = \JEventDispatcher::getInstance(); | |
PluginHelper::importPlugin('user'); |
This file contains 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
/* | |
Modules | |
======== | |
For Joomla Modules | |
*/ | |
.c-modules { | |
$api: ( | |
breakpoint: 'm' | |
); |
This file contains 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 static function getAjax() | |
{ | |
$app = JFactory::getApplication(); | |
// Get an instance of the generic articles model | |
$model = JModelLegacy::getInstance('Areas', 'KickDirectoryModel', array('ignore_request' => true)); | |
$model->setState('filter.state', 1); | |
$items = $model->getItems(); |
This file contains 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
// Main JS File | |
import cq from 'cq-prolyfill' // eslint-disable-line | |
import Vue from 'vue' | |
import VeeValidate, { Validator } from 'vee-validate' | |
import de from 'vee-validate/dist/locale/de' | |
import VueI18n from 'vue-i18n' | |
import './partial/contentBuilder' | |
import lazySizes from 'lazysizes' | |
import lazybgset from 'lazysizes/plugins/bgset/ls.bgset' // eslint-disable-line | |
import 'babel-polyfill' |