Skip to content

Instantly share code, notes, and snippets.

View onza's full-sized avatar
🤓
being

Martin Farkas onza

🤓
being
View GitHub Profile
@scheibome
scheibome / LanguageMenu.html
Last active January 13, 2023 10:39
Simple language menu in TYPO3
<f:if condition="{menuLanguage}">
<nav class="c-languageselect">
<button class="c-languageselect__button" id="languageselectbutton">
{site.languages.{data.sys_language_uid}.navigationTitle}
<i class="icon icon-expand_more"></i>
</button>
<ul id="languageselect__list" class="c-languageselect__list">
<f:for each="{menuLanguage}" as="item">
<li class="c-languageselect__item">
<f:if condition="{item.active} == 0">
@spoonerWeb
spoonerWeb / .gitlab-ci.yml
Last active March 15, 2024 08:15
GitLab CI for building and deploying TYPO3 websites with deployer
cache:
paths:
- /cache/composer
stages:
- composer
- deploy
build:
stage: composer
@einpraegsam
einpraegsam / PageModule.php
Created July 27, 2018 08:18
TYPO3: Adding a name and email to page settings for a person which is responsible for this page-branch is often wanted from different universities. In addition we want to show in the page module when and who did the last change on the current page. Example image: https://s.nimbusweb.me/attachment/1934043/8gzcifcqtdmhktr2q553/262407-2IdneYdKSIZ3K…
<?php
declare(strict_types=1);
namespace Unitue\Project\Hooks;
use TYPO3\CMS\Backend\Controller\PageLayoutController;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Mvc\Exception\InvalidExtensionNameException;
use TYPO3\CMS\Fluid\View\StandaloneView;
use Unitue\Project\Utility\DatabaseUtility;
use Unitue\Project\Utility\ObjectUtility;
@jaredatch
jaredatch / mailhog-mamp.md
Created January 30, 2018 21:57
Install MailHog with MAMP Pro

Install MailHog with MAMP Pro, using HomeBrew.

MailHog

First let's make sure HB is updated. Open up terminal for the following steps.

$ brew update