While Alloy is easy to use, there is a lot of complex code underneath it all. This means that if your host isn't setup correctly, or you're running the wrong version of PHP, etc, things might not work as intended.
Below you'll find some frequently addressed problems, along with their solutions. Also, be sure to check that your setup meets all of the requirements for Alloy to work. The requirements can be found on the main Documentation page.
This can be caused by a couple of things regarding your PHP installation on your server. Below are a few things to check.
Make sure that you're naming your page correctly. You should not be setting the filename to something like blog.php when naming a page. Standard web practice is to name pages either index.html or index.php. All page's should have a filename of index.php when dealing with Alloy based stacks.
This can be caused by a couple of user configurable settings in RapidWeaver either not being setup correctly, or sometimes not configured at all. Below is a list of things to check to ensure they're configured properly.
If you're receiving a PHP Parse Error it is likely caused by you having inserted a single quote mark into a localization field within the Alloy Blog Entries or Alloy Editor stack's configuration fields within RapidWeaver.
Due to the way Alloy has to take data from these fields and pass it on to the underlying code, sometimes quotation marks can cause a break in the code. This is easily remedied though.
If you have inserted text into a field in one of Alloy's text fields within RapidWeaver when building your page you can "escape" this single quote by adding a back slash before the single quote mark. If we have the following test in a field for example:
Escaping single quote is easy, let's try
We can escape that single quotation mark in the word "let's" by adding a back slash before the single quote, like so:
Escaping single quote is easy, let\'s try
If you've decided you want the main Home page of your site to be your Blog you might run into a situation where you're not sure what to supply as the relative URL for your Pretty URLs in the .htaccess file settings. Normally our .htaccess file code looks something like this, with the blog/ relative URL set to be the location of the folder that houses our Blog:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule blog/(.*) blog/?id=$1 [L,NC,QSA]
To make it point to the main Home page though we need to remove that folder name altogether and have it pointing to our Home page. To do so we're going to delete the blog/ relative URL from out .htacess file's code snippet, like so:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) ?id=$1 [L,NC,QSA]
The most likely cause of this is that you've neglected to place the Droplet stack on your page where you're using your Droplet Tag from the Editor. The Droplet stack is required to be able to parse and render these Droplets on your page. We have documentation pages for both the Droplet stack and the Editor's Droplet Content Management as well. Each of those pages contains a video as well to help you quickly learn more about them and how to use them properly.
Definitely. Make sure you've updated to the latest version of Alloy. When you do so you'll get a new Alloy tool labeled F3 Shim if you don't already have it. You'll need to be sure to add the Alloy 'F3 Shim' tool to the page just below the Alloy Control Center on your page. This F3 Shim adds a bit of necessary CSS to the page to help with compatibility.