This file contains hidden or 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
## into Page TS | |
TCEMAIN.table.pages { | |
disablePrependAtCopy = 1 | |
disableHideAtCopy = 1 | |
} | |
TCEMAIN.table.tt_content { | |
disablePrependAtCopy = 1 | |
disableHideAtCopy = 1 |
This file contains hidden or 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
if ( $_POST['action'] == 'save' ) { | |
if ( isset( $_POST['save_pdf'] ) ) { | |
foreach ( $_POST['save_pdf'] as $save_idart ) { | |
generate_pdf_file ( $save_idart, $save_to_disc=true ); | |
} | |
//*** | |
set_time_limit(1800); // run max for 30min | |
$debug = true; | |
if ( $_POST['action'] == 'save' ) { |
This file contains hidden or 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
########### | |
WORKING below | |
########## | |
## DO NOT ## | |
UPDATE tt_content | |
SET tx_flux_parent = SUBSTRING(tx_flux_column, INSTR(tx_flux_column, ':') + 1) | |
WHERE tx_flux_column != "" AND tx_flux_column IS NOT NULL AND tx_flux_parent IS NULL AND uid = 27 | |
####################### |
This file contains hidden or 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
Link: http://it.toolbox.com/wiki/index.php/Switch_from_file_get_contents_to_curl | |
------------------------------------------ | |
------------------------------------------ | |
Alter Code: | |
------------------------------------------ | |
$data = file_get_contents($url); |
This file contains hidden or 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
select concat("alter table ",TABLE_SCHEMA,".",TABLE_NAME," CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;") | |
from information_schema.TABLES where TABLE_SCHEMA="SWZM2"; |
This file contains hidden or 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
#INDEXED SEARCH ENGINE - PLUGIN | |
config.index_enable = 1 | |
plugin.tx_indexedsearch.search.rootPidList = 1 |
This file contains hidden or 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
//insert in ext_tables.php | |
// increase number of workspace related backend users and backend usergroups | |
t3lib_div::loadTCA('sys_workspace'); | |
$TCA['sys_workspace']['columns']['adminusers']['config']['maxitems'] = 99; | |
$TCA['sys_workspace']['columns']['members']['config']['maxitems'] = 99; | |
$TCA['sys_workspace']['columns']['reviewers']['config']['maxitems'] = 99; | |
// increase number of workspace related db and file mount points | |
$TCA['sys_workspace']['columns']['db_mountpoints']['config']['maxitems'] = 99; | |
$TCA['sys_workspace']['columns']['file_mountpoints']['config']['maxitems'] = 99; |
This file contains hidden or 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
plugin.tx_srfeuserregister_pi1 { | |
create.evalValues { | |
zip = int, atLeast[5], atMost[5] | |
telephone = int, atLeast[6] | |
#email more than once possible | |
email = email | |
} | |
edit.evalValues { | |
zip = int,atLeast[5], atMost[5] | |
telephone = int, atLeast[6] |
This file contains hidden or 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
//specific image on site | |
//FIX IE < 9 transparent png fading | |
var img = $("div.replace.full"+idart+" img"); | |
//console.log(img[0]); | |
var src = $("div.replace.full"+idart+" img").attr('src'); | |
//console.log(src); | |
if (src.substr(src.length-4) === '.png' || src.substr(src.length-4) === '.PNG') { | |
img[0].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true',sizingMethod='crop',src='" + src + "')"; | |
//console.log(document.images[i]); |
This file contains hidden or 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
pointer-events: none; |