If we have a moodle installed, a very interesting method to delete all caches is to use system console. To do that, we have to go to our moodle route and execute:
php admin/cli/purge_caches.php
Best regards!
php admin/cli/purge_caches.php
#!/bin/bash
PATHFROM = "/.../..." # folder to create backup
PATHTO = "/.../..." # path of the hard disk
rsync -av --exclude={"*chat*","*library*"} $PATHFROM $PATHTO
$filename = time().'_'.$_FILES["file"]["name"]; // File name.
$filename = preg_replace('/[[:^print:]]/', '', $filename); // Replace illegal chars
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['login_confirmed'][] = 'EXT:test_extension/hooks/class.feloginhook.php:test_extension_hooksHandler->onLogin';
class test_extension_hooksHandler {
public function onLogin() {
// Actions to do here... Insert in a database, in a log... redirections...
}
}
<form id="FORMID" accept-charset="UTF-8" action="action.php" method="POST">
<input type="text" name="username" id="username" placeholder="Write username">
</form>
;
$('#FORMID').on('submit', function(e) {
$.post(
$(this).prop('action'),
{
"username": $(this).find('input[name=username]').val()
},
function(data) {
alert(data.result);
},
'json'
);
return false;
});
temp.links = HMENU
temp.links.special = list
temp.links.special.value = 1,2,3,4,5
temp.links {
1 = TMENU
1 {
wrap = <ul>|</ul>
NO.linkWrap = <li>|</li>
}
}
temp.links = HMENU
temp.links.special = list
temp.links.special.value = 1,2,3,4,5
temp.links {
1 = TMENU
1 {
wrap = <ul>|</ul>
NO.linkWrap = <li>|</li>|*||*|<li class="specialClasss">|</li>
}
}