Is there any way to run it on 4.4.8?, I tried upgrading to php5 but it breaks my template Thanks
Yep you should be able to get it to work by applying a small hack to the mod.weblog.php file as shown here.
Be aware though that this won’t be supported if anything goes wrong as it is a hack to a core file. I had to do it on one site the once and have never had any ill effects from it but just a warning.
Hope that helps a bit.
Best wishes,
Mark
I had the same problem running PHP 5.2.8 and actually solved the problem by letting the {related_entries id="xxx"} live in it’s own {exp:weblog:entries} tag. Don’t really know why that helped but I guess that someone else of you might have an idea? (Might have been too much information to process at once, since there where quite a bit of data involved in my case). If your running PHP 5 and still have problems with this it might be worth a try…
So, to summarize, instead of doing what I usually do:
{exp:weblog:entries weblog="my_weblog" ...}
{title}
{custom_field}
{related_entries id="xxx"}
{related_custom_field}
{/related_entries}
{custom_field}
{/exp:weblog:entries}
I ended up with this:
{exp:weblog:entries weblog="my_weblog" ...}
{title}
{custom_field}
{/exp:weblog:entries}
{exp:weblog:entries weblog="my_weblog" ...}
{related_entries id="xxx"}
{related_custom_field}
{/related_entries}
{/exp:weblog:entries}
{exp:weblog:entries weblog="my_weblog" ...}
{custom_field}
{/exp:weblog:entries}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.