I can’t seem to pass variables to a morsel using Morsels 1.5.2 in EE 2.2.2. I’m using the following fetch statement in a channel entries tag:
{exp:template_morsels:fetch name="items_related" m_entry_id="{entry_id}"}
Then I’d use {m_entry_id} in an entries loop inside the morsel. Seems that isn’t working now, as the only thing passed to the morsel now is literally “{m_entry_id}” - it’s not passing/parsing the variable. I wiped the contents of the exp_template_morsels_dynamic_cache table in the hopes it would regenerate correctly, but it does not. Any thoughts on what I can do here? Thanks.
Also, how the heck does one change their forum signature in these forums? I don’t see where I can edit it anywhere.
ryan masuga
—————
Masuga Design (EE Pro) | devot:ee
MD Markitup | All Add-Ons
@masuga | @masugadesign | @devot_ee
Hi,
Have you tried hard-coding a value into m_entry_id=”“? Looks like I can reproduce your issue in EE 2.2.2 even with hard-coded values within the passed dynamic variable, but want to confirm that you see this as well. Thank you
Hi Nicolas, that’s correct - even hardcoding a value there doesn’t pass it. I tried this:
{exp:template_morsels:fetch name="items_related" m_entry_id="216"}
In my morsel, I got rid of everything except this: “{m_entry_id}” - and that is exactly what shows up after refreshing the morsel. Thanks for taking a look.
ryan masuga
—————
Masuga Design (EE Pro) | devot:ee
MD Markitup | All Add-Ons
@masuga | @masugadesign | @devot_ee
I can reproduce this on my side as well, and in both EE 2.2.1 and 2.2.2. I’ll let the developer know about this issue. Thank you for reporting it
Nicolas- I was sloppy and didnt pull an up to date backup before installation. I have the same error and its crippling. Any tips for downgrading?
I am going to try backing up the morsels table, uninstall, reinstall 1.51 and then restore the table.
I got everything working again- but this addon update should be pulled until it is fixed. This is a critical bug.
Hi Ryan and eyevariety,
Just letting you know that a new version of Template Morsels has been released which should take care of the issues you are having. Thank you for your patience on this
Awesome- thats great. Thanks!