Display News Latest could work with Content Link if... I know Stingrey is flat out working on 4.5.1 and so rather than bother him, I am posting here to see if anyone can help me.
I have been happily using Display News Latest and Display News Ordered on a site I am building and they have been working fine.
However in order to comply with client wishes, I have used Jason Murphy's Content Link addon in my menu to link directly from the top level menu to content pages without displaying the categories in the Tigra menu.
What I have found is that navigating using the Tigra menu using the Content Link addon brings me to one version of the content page, where modules set to display 'right' are shown (this is the version I want), and navigating via Direct News Latest or Ordered brings me to another version where they are not displayed unless they are also set to display on the content_section page (which is not appropriate).
I think navigating via Display News could be sent to the same version as the menu with a small modification to Display News modules however while I think I have correctly identified what needs to be done in theory, I am not a good enough programmer (yet) to be able to fix it in actuality.
Here's what I think needs to be done in Display News Latest:
In mod_dnl_1-3.php the Main Query & Array starts on line 310 and the database is queried for section id and category id, but not for the id of the actual content item.
If this content item id was called it should then show up dynamically in line 461 as $row->id in
."\n WHERE m.type='content_link' AND i.id=".$row->id);
I have been able to test that this would work by hard-coding the correct link into line 469 as
$_Itemid = "85";
and forcing it to read that line by modifying line 461.
This then displays all the pages correctly the breadcrumbs only show the name of the hard-coded item - ie item 85.
I hope someone can help me make this small but useful change.
cheers,
nascent |