Documenation
FAQ
I made changes to a page but the website still shows the old version.
Try clearing the cache. You can do this from the Dashboard
or by manually deleting the files in /cache/. If you made changes to the
database you can truncate the sw_cache_queries and sw_cache_tables tables. You
can also turn caching off completely by changing the setting in /_config.php.
Why are $_GET and $_POST always empty?
Swiftlet has a safer way to handle GET and POST. In short, you should use $model->POST_db_safe,
$model->POST_html_safe or $model->POST_raw where appropriate (the same for GET).
See Forms for more information.
I made a form but it doesn't work. There is no POST data when I submit it.
If you're sending data using POST the field auth-token needs to be present otherwise the request
is ignored. This is also the case with AJAX requests. See Forms for more information.