Hello mk, Ingmar,
first off, thanks so much for these forums and the modules, of course. ![]()
I am facing an issue with this tag. It might be due to lack of understanding how this module works. I would like to display the favorites:entries tag in a template. But this does not seem to work.
In the template where I utilize
<a href="{path='forms/favorite-add/'}{entry_id}">Add to favorites</a>
I get the correct success/error message and the data is saved in the favorites cp.
I have created another template called “viewprofile”. This template is supposed to display the favorites saved by a user. The URL looks something like this
my_template_group//viewprofile/1/
In the viewprofile template, I added this code as described via the docs:
{exp:favorites:entries weblog="master_weblog_name" limit="10"}
<a href="{title_permalink='my_template_group/template'}">{title}</a><br />
{/exp:favorites:entries}
That, however, only outputs an error:
Notice: Trying to get property of non-object in xxxx/modules/favorites/mod.favorites.php on line 578
What am I doing wrong? Any pointers would be awesome.
Maleika
