March 2017

TypoScript condition examples

This will match with a url like “…&print=1” [globalVar = GP:print > 0] This will match with an url like “…&tx_ext_pi1[var1]=1” [globalVar = GP:tx_ext_pi1|var1 >

Read More »

Convert timestamp to range date string

function getRangeDateString($timestamp) { if ($timestamp) { $currentTime=strtotime(‘today’); // Reset time to 00:00:00 $timestamp=strtotime(date(‘Y-m-d 00:00:00’,$timestamp)); $days=round(($timestamp-$currentTime)/86400); switch($days) { case ‘0’; return ‘Today’; break; case ‘-1’; return

Read More »

Create desktop icon for keepass

sudo yum install alacarte press super key and type alacarte. Choose icon Main Menu Press New Item Name: KeePass Command: mono /home/bvbmedia/keepass/KeePass.exe Comment: KeePass rules! Press

Read More »

Most Popular