Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Not syncing to database or outputting anything

Status Resolved
Add-on / Version
Severity Trivial
EE Version

Atle Lillehovde

Oct 02, 2012

I’ve just installed MSM on a site (locally), and would like to try out Snippet Sync for the new site. I’ve set up a folder on the root (where I have the system folder, admin.php, etc.). The folder structure is as follows:

snippets
- shortname_of_second_site/
—global/
——footer.html

In my template i call the snippet like this: {snippet:global_footer}

In the config.php-file I’ve added an absolute basepath to the folder and set debug=2.

But when I look at my page it only outputs “{snippet:global:footer}” (in plain text).

And I can’t see any info in the database…

What am I missing?

#1

BoldMinded (Brian)

I think you need to use {snippet:short_name_global_footer}

At the bottom of the docs it shows how it works with shared folders or with multiple sites. http://boldminded.com/docs/snippet-sync

#2

Atle Lillehovde

Hmm, still not working, I’ve tried to move the snippets-folder around too, changing the basepath accordingly, but no luck. {snippets:shortname_global_footer}

This might be an issue with me working locally, using Mamp Pro. For now I’ll use embeds while developing. Thanks for the reply, though!

#3

BoldMinded (Brian)

I use Snippet Sync on MAMP too, so its probably not that. Did you try uninstalling and reinstalling it? Doing so will remove the settings hash array that stores the timestamps that trigger uploads. Thats usually the first thing I do if I have an issue.

Login to reply