I am wondering if there is a bug in the news script. I can display news alright, and the news summary works to, but I am not able to see the whole news when I click 'read more'! When I create the following snippet:
Code: Select all
{cms_module module="news" summary="test" length="5" moretext="read more"}
Code: Select all
Warning: Smarty error: unable to read resource: "db:test" in /home/nitrome/public_html/new/cmsmadesimple/lib/smarty/Smarty.class.php on line 1088
edit: I just saw in an other post that I had to create the 'page' before' and now my 'whatsup' category was also a page that I had created and therefore it work. But still, there is some issues to deal with..Specially the empty a tag.
Also what I understand from the help text is that when in summary mode the title of the news should also have a link but this is renderd like this:
Code: Select all
<span class="cms-module-news"><span class="cms-module-news-header"><span class="cms-news-date">March 22, 2005, 11:59 am</span><br /><span class="cms-news-title"><a name="1"></a>test</span><br /></span><span class="cms-news-content"><p>as...</span><br /><a href="index.php?page=Whatsup#1">read more</a></span>
Thanks / Gnolen
P.S. I have also reinstalled the news module without luck..