Oh, Brandon, the template in question is huge, since it handles the primary page type on our site. Stripping it down to essentials isn’t trivial, or potentially even possible.
cheers… -Adam
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
November 01, 2010 2:43pm
Subscribe [7]#16 / Nov 24, 2010 6:59pm
Oh, Brandon, the template in question is huge, since it handles the primary page type on our site. Stripping it down to essentials isn’t trivial, or potentially even possible.
cheers… -Adam
#17 / Nov 25, 2010 3:11am
Adam,
Stripping it down to essentials isn’t trivial, or potentially even possible.
The suggestion was to create a brand new blank template for testing purposes and strip your code down in there. Something like this
{exp:weblog:entries weblog="weblog_shortname" entry_id="12" limit="1"}
<h3>{title}</h3>
<p>{reverse_related_entries weblog="news" orderby="date" sort="desc"}<br /></p><h2>{title} - {entry_date format='%M %d, %Y'} </h2>
<p>{/reverse_related_entries}</p>
<p><br />
{/exp:weblog:entries}Are you using any relationship add-ons like Playa?
#18 / Nov 25, 2010 10:08am
When I try code like that, which I did before, I just get a totally blank page, no matter what I swap in for “weblog_shortname”. You can “see” it at
http://www.takecontrolbooks.com/test2
As far as relationship add-ons go, I don’t see Playa listed in the Modules, in the Plug-ins, or in the Extensions (and I have very little sense of what the difference between those three is, or how you’d guess where something might be, or even how one might get a reasonable list of them to report, since they’re just huge HTML tables in the control panel).
Hopefully Adam Khan will know.
#19 / Nov 25, 2010 11:07am
Instead of fixing the problem we worked around it by gathering the entry_id’s in a PHP variable and passed this to an embedded template where we could use the weblog:entries tag rather than the reverse_related_entries one (something that I do all the time).
#20 / Nov 26, 2010 2:37pm
Indeed, Adam’s fix has worked, so blog posts on those pages are once again sorting properly, as they did before the 1.7.0 upgrade.
cheers… -Adam
#21 / Nov 28, 2010 2:05pm
Hi Adam,
Glad that this got sorted out. Please post back if required.
Cheers
Greg