Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 24

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etrackerŪ Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 General Talk

 
 
LinkBack Thread Tools Display Modes
Old 23.09.2004, 12:46   #1 (permalink)
Baby Mamber
 
nascent's Avatar
 
Join Date: Jul 2004
Posts: 23
nascent is on a distinguished road
Lightbulb 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
nascent is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 23.09.2004, 13:10   #2 (permalink)
Senior Mamber
 
Join Date: Jun 2004
Posts: 159
mgerrard is on a distinguished road
Default Re: Display News Latest could work with Content Link if...

I think you'll find that all this has been sorted in 4.5.1 (which may or may not be what you want to hear ).
mgerrard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 23.09.2004, 13:46   #3 (permalink)
Baby Mamber
 
nascent's Avatar
 
Join Date: Jul 2004
Posts: 23
nascent is on a distinguished road
Default Re: Display News Latest could work with Content Link if...

Thanks mgerrard, but this one has to go live asap and I can't hold off to redevelop for 4.5.1

Next project though...
nascent is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
display news - latest sunflower Mambo 4.5.1 'How Do I' Questions 8 21.11.2005 14:26
Can't find link to download Display News module howlinwolf Module 'How Do I' Questions 1 15.11.2005 19:33
mod display news latest donīt work correctly laura Module 'How Do I' Questions 2 02.09.2005 02:33
How to link preview text to the the full story ? scorplev Mambo 4.5 'How Do I' Questions 5 15.09.2004 05:50
Multiple display news latest bod Mambo 4.5 'How Do I' Questions 9 22.07.2004 20:36


All times are GMT +2. The time now is 18:11.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.