Skip to content

Instantly share code, notes, and snippets.

@ABooooo
ABooooo / new_gist_file_0
Created June 18, 2015 14:53
BaseURL per TypoScript dynamisch setzen
CONSTANTS:
protocol = http
[globalString = IENV:TYPO3_SSL=1]
protocol = https
[global]
host = domain.com
[globalString = IENV:HTTP_HOST=www.domain.de]
host = www.domain.de
@ABooooo
ABooooo / new_gist_file.js
Created June 19, 2015 09:47
server connection
// mittwald
ssh
p108923.typo3server.info
@ABooooo
ABooooo / new_gist_file_0
Created June 25, 2015 11:16
Online htpasswd generator
http://www.web2generators.com/apache-tools/htpasswd-generator
AuthType Basic
AuthName "Dev Area"
AuthUserFile /home/www/p108923/home/www/p108923/html/verovis/.htpasswd
Require valid-user
// passwrod generator under htpasswd
@ABooooo
ABooooo / new_gist_file_0
Created July 16, 2015 08:08
powermail messages translation
config{
locale_all = de_CH.UTF-8
index_enable = 1
sys_language_uid = 0
language = de
}
@ABooooo
ABooooo / new_gist_file_0
Created July 30, 2015 11:47
Powermail select box required
please choose ... |
input 1
input 2
@ABooooo
ABooooo / new_gist_file_0
Created August 11, 2015 10:48
add class with content element style
#ts
tt_content {
stdWrap {
innerWrap {
cObject {
default.20.40 = CASE
default.20.40 {
key.field = layout
1 = TEXT
@ABooooo
ABooooo / new_gist_file.php
Created August 13, 2015 08:35
realURL and news system
//realurl_config.php (we have to change two files)
// change "newsDetailConfiguration" with a blog single page id
<?php
$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'pagePath' => array(
'type' => 'user',
@ABooooo
ABooooo / new_gist_file.js
Created August 14, 2015 08:28
change html tag
/* change h3 to h2 in blog list view */
$(function() {
$('.news-list-view h3').each(function(i, em) {
$(em).replaceWith('<h2>'+$(em).html()+'</h2>');
});
});
@ABooooo
ABooooo / Web source
Created August 19, 2015 07:05
RTE Classes
https://axelerant.com/add-custom-css-classes-to-the-typo3-rte/