Page 1 of 1
Ivory Coast Newsportal Launched!
Posted: Fri Nov 16, 2007 11:23 am
by SymenTimmermans
For one of my customers I just launched a CMSMS-driven newsportal:
http://www.connectionivoirienne.net/
I used CMSMS version 1.1.3.1, with a modified News module.
I modified the news module to:
- be able to upload 1 image with every news item, and to have a thumbnail of that image displayed with the news summary.
- be able to choose a news source in the admin panel so readers can see which site the news came from.
- be able to select news items that display as breaking news (in the box "A La Une").
I used the comments module for the news items, the standard search module, some UDT's for displaying all news sources, displaying the forums from the also installed phpbb forum.
Comments are welcome!
Re: Ivory Coast Newsportal Launched!
Posted: Fri Nov 16, 2007 12:03 pm
by SymenTimmermans
For those of you who tried the page, and got a blank page after a few clicks, I solved that.
It was TrackPro visitor stats script which was overwriting CMSMS cookies.
Re: Ivory Coast Newsportal Launched!
Posted: Fri Nov 16, 2007 12:09 pm
by RonnyK
Very nice Symen,
one remark and one question.
In IE6 the content-area of the main-page is pushed down. It starts at the height the sidebar ends....
The question, how did you manage to get the divider "|" between the top-hor-menu. What did you edit in the MenuManager to achieve this.
Ronny
Re: Ivory Coast Newsportal Launched!
Posted: Fri Nov 16, 2007 12:26 pm
by SymenTimmermans
RonnyK wrote:
Very nice Symen,
one remark and one question.
In IE6 the content-area of the main-page is pushed down. It starts at the height the sidebar ends....
The question, how did you manage to get the divider "|" between the top-hor-menu. What did you edit in the MenuManager to achieve this.
Ronny
Hi Ronny,
Thanks for the comments. Web development is getting harder and harder now I have 3 browsers to check the site in and to adjust CSS for. I imangine a lot of people still work with IE6. I'll look into it now.
As for the menu, it's actually pretty simple.
In the menu template you have a few variables at hand. Most important for what I did are
$count and
$entry->index.
After every item I write " | ",
unless $entry->index is bigger than or equal to
$count - 1 (which means you found the last node to display).
Here's the template I use:
Code: Select all
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->current == true}
<a href="{$node->url}" class="currentpage"{if $node->target ne ""} target="{$node->target}"{else} target="_parent"{/if}> {$node->menutext} </a> |
{else}
<a href="{$node->url}"{if $node->target ne ""} target="{$node->target}"{else} target="_parent"{/if}> {$node->menutext}</a>
{if $node->index < ($count - 1)} | {/if}
{/if}
{/foreach}
{/if}
Re: Ivory Coast Newsportal Launched!
Posted: Fri Nov 16, 2007 12:32 pm
by RonnyK
Symen,
http://www.w3schools.com/browsers/browsers_stats.asp
to see how many users use what browser.
Ronny
Re: Ivory Coast Newsportal Launched!
Posted: Wed Nov 21, 2007 11:06 pm
by rosgar
Wow. Never thought CMSMS can also be useful as a news portal. I know Drupal can handle this kind of job.
-Teaser plus thumbnail
-Whole story plus the full image.
The only thing lacking is the caption.
And a problem of double posting of news story-->A La Une and Actualités
The rest.... lots of space at the bottom.
But a very nice modification for the news module.
I hope CMSMS' news module include this kind of function.
Re: Ivory Coast Newsportal Launched!
Posted: Tue Nov 27, 2007 6:21 pm
by percusionista
Great job, you should explain us how did you manage to insert 1 image with each new. It sould be in list to do of developers.