Wow....that is just awesome :-D
Jesse R.
Consider trying something new and extraordinary.
Illinois Wine
Have you considered donating to MODx lately?
Donate now. Every contribution helps.
@alchime:
Interesting, did you first install the module? It should be run initially in order to create the database table for storing the links.
Check the form action, is it submitting to the correct page (the one with the FavoriteLinksForm snippet call)?
Also, the default posting permissions require you to be logged in as a manager in order to post links. This can be overridden by using the &webAccess or &ipAccess configuration parameters. For testing, I recommend &anonAccess=`1`.
In most cases, you probably don’t want to use &successPage=`referer` for the standard form; when used with the bookmarklet, it will add the link then redirect back to the site where you originally came from.
The FavoriteLinksForm doesn’t use Phx, so that shouldn’t be an issue. I really haven’t tried this snippet it many situations, if it’s still not working it might help to have access to he online installation.
@alchime:
I believe your issue with posting stemmed from having caching enabled on the modx document. I have also made a modification to the FavoriteLinksForm which checks for the existence of a URL in the database upon posting.