Hi,
I'm using the news module on my cms template. The problem is, I want to change the link on the title e.g. 'work experience week' as my title to go to a web address instead of more information on the news module. Is this possible and if so how do I do it?
Thanks
Claire
Need Help with News Module
-
- Forum Members
- Posts: 57
- Joined: Sun Mar 25, 2007 7:42 am
Re: Need Help with News Module
You could do this in your summary template:
and use the 'Extra' field for your URL link, I have done something similar.
But this won't work in the detail template as there's a small bug where the 'Extra' field is not passed to the module so it's needs a small modification to the action.detail.php page, the solution is here: http://forum.cmsmadesimple.org/index.ph ... 573.0.html.
Code: Select all
{if isset($entry->extra)}
<div class="NewsSummaryExtra">
<a href='{$entry->extra}'>[More]</a>
</div>
{else}
<div class="NewsSummaryMorelink">
[{$entry->morelink}]
</div>
{/if}
But this won't work in the detail template as there's a small bug where the 'Extra' field is not passed to the module so it's needs a small modification to the action.detail.php page, the solution is here: http://forum.cmsmadesimple.org/index.ph ... 573.0.html.
Re: Need Help with News Module
Thanks, I will try that!!, just one question, how do I modify the php file I need to change?
Re: Need Help with News Module
Look in the News admin and change templates there...