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 | |
// Für REDAXO CMS | |
// Erforderliches Addon: yform | |
// | |
// | |
// Datensatz aus Tabelle mit ID 2 | |
$dataset = rex_yform_manager_dataset::get(2,Tabelle); | |
// oder: | |
// Neuen leeren Datensatz erstellen | |
// $dataset = rex_yform_manager_dataset::create(Tabelle); |
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
Benötigt: Jquery | |
Installation: | |
Modul anlegen | |
CSS und Javascript im Frontend einbinden einbinden. | |
Unter KLXMSTYLE ist ein individueller Kartenstil hinterlegt. | |
Einen eigenen könnt Ihr unter http://googlemapscolorizr.stadtwerk.org selbst erstellen. |
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 | |
// Neuen Datensatz initialisieren | |
$post = rex_yform_manager_dataset::create('rex_blog_post'); | |
// z.B.: Feld title befüllen | |
$post->title = 'REDAXO-Tag in Wackershofen (am Grundbach)'; | |
// z.B.: Feld Text befüllen ... | |
post->text = '...'; | |
// Speichern des Datensatzes | |
if ($post->save()) |
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
<div class="reservierung-kalender" id="bookingTableWrapper"> | |
<!-- Start Bookatable Code --> | |
<script type="text/javascript" src="https://bda.bookatable.com/deploy/lbui.direct.min.js"></script> | |
<script type="text/javascript"> | |
LBDirect_Embed({ | |
connectionid : "BOOKATABLE-CONNECTION-ID", | |
language: "de-DE", | |
}); | |
jQuery(function () { | |
setTimeout(transformLBD, 10); |
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 | |
if( "REX_VALUE[2]" != "" ) | |
{ | |
// Im Backend den Link zur Quelle anzeigen | |
if(rex::isBackend()) | |
{ | |
$master = rex_article::get(REX_LINK[id=1 output=id]); |
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
RewriteRule ^/?media/(.*)$ /index.php?ycom_file=$1 [L] | |
# RewriteRule ^/?media/(.*\.(pdf|doc|zip))$ /index.php?ycom_file=$1 [L] |
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 | |
$ch = curl_init(); | |
$source = "https://yourDomain.tld/file.zip"; | |
curl_setopt($ch, CURLOPT_URL, $source); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
$data = curl_exec ($ch); | |
curl_close ($ch); | |
// Save file |
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
-- This script enables the macOS Contact-Application to dial a phone-number | |
-- via a SNOM hardware phone by clicking on the phone label. | |
-- | |
-- (C) 2008 David Kreitschmann, K3com Kommunikationstechnik http://www.k3com.de | |
-- (C) 2017 Modification for SNOM 715 by Stefan Husch, https://qutic.com | |
-- | |
-- Copy this script to ~/Library/Application\ Scripts/com.apple.AddressBook | |
-- on your macOS 10.11+ and change the phoneURL to your needs. | |
-- | |
-- A chmod 0600 ~/Library/Application\ Scripts/com.apple.AddressBook/Snom.scpt |
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 | |
// Function zur Generierung eines Navigationsarrays | |
// Benötigt für den Aufruf werden nur $start,$depth und $ignoreoffline | |
// Alle weiteren Angaben dienen der internen Verarbeitung | |
// Alle weiteren Informationen aus rex_structure fintet man in catObject | |
// DEMO siehe unten | |
if (!function_exists('structureArray')) { | |
function structureArray($start = 0, $depth = 0, $ignoreoffline = true, $depth_saved = 0, $level = 0, $id = 0) | |
{ | |
$result = array(); |
OlderNewer