detailed view broken on news module?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
trick

detailed view broken on news module?

Post by trick »

I installed the news module, but when I go to the detailed view of an article, it just displays the same thing as the summary view.  I spent a couple of hours debuging it and looding through the code and here's what I found out:

When the News.module.php does the function DoAction, $action is set to 'default', instead of 'detail' as one would expect. This would be what is causing the problem, but I don't know why it's not 'detail'. In the url to the news article, there is a cntnt01action=detail so that should set it to detail. I looked through some other things but I'm not familiar with the way that smarty works, so it was pretty difficult. Does anyone here know what's going on.

The also just redownloaded the News module this morning just to make sure I hadn't changed anything important, and I've tryied uninstalling it and reinstalling it.

Thanks for your help.

P.S. Anybody know where the skeleton module is on the wiki? I want to try making one of my own.

Edit: I'm running php 5.0.4
Last edited by trick on Tue Aug 23, 2005 7:30 am, edited 1 time in total.
pishkus

Re: detailed view broken on news module?

Post by pishkus »

skeleton module is here: http://www.cmsmodules.com/SkeletonDownload.html

i guess the problem is because of your php5. but it's just a guess :)
Locked

Return to “Modules/Add-Ons”