Members: 16,996
Threads: 38,866
Posts: 159,475
Online: 47

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
Old 20.05.2005, 01:15   #1 (permalink)
Junior Mamber
 
Join Date: May 2005
Posts: 29
daprezjer is on a distinguished road
Default Customizing Latest News Module

Hi, I'm new to Mambo and trying to use the Latest News Module. I'm doing fine, except that I need to put a:

"...
read more"

after each title.

For instance, if the title of the recent news item is:

Senior selected Massachusetts NHS Student of the Year

I need the link to say :
Senior selected Massachusetts NHS Student of the Year...
read more

In addition the "read more" part needs to be a different color (red) and linkable.

You can see the site at http://bishopstang.phoenix.vertex.net/. On the right, you'll see the first news item is dynamically created by Mambo. The rest are hard coded. I need the first news item to look like the rest.

And while I'm at it, I'd prefer that the title from these news items not be the "header" on the following page, but rather a smaller header under the header "News". Any thoughts on how this could be accomplished?

Thanks!
daprezjer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 20.05.2005, 20:42   #2 (permalink)
Professional Mamber
 
crash777's Avatar
 
Join Date: Apr 2004
Location: North East USA
Posts: 931
crash777 will become famous soon enough
Default Re: Customizing Latest News Module

1. Create a new class:
class="readon"
(this is the class, at least what I have in MY mambo, for the READ MORE link)

2. Turn off clickable titles.

3. For the titles... adjust:
class="contentheading"
__________________
www.crashgraphics.com
Aaron Monello
crash777 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20.05.2005, 23:30   #3 (permalink)
Junior Mamber
 
Join Date: May 2005
Posts: 29
daprezjer is on a distinguished road
Default Re: Customizing Latest News Module

Ha, I just figured that out, but I had to go to the "Newsflash" module, not the latest news module. I have had a problem though editing the "contentheader" module. Seems that when I do that I also change the header type on all of my pages. I tried setting the module class instead but the contentheader style always overtook it, using !important or not. I ended up making the titles links and working the .a style, but it's not exactly what I wanted to do. Any thoughts on making the contentheader style different for the "latest news" section different than the content headers of the pages?
daprezjer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13.11.2005, 16:27   #4 (permalink)
Baby Mamber
 
Join Date: Oct 2005
Posts: 2
blackline is on a distinguished road
Default Re: Customizing Latest News Module

Quote:
Originally Posted by daprezjer
Hi, I'm new to Mambo and trying to use the Latest News Module. I'm doing fine, except that I need to put a:

"...
read more"

after each title.

For instance, if the title of the recent news item is:

Senior selected Massachusetts NHS Student of the Year

I need the link to say :
Senior selected Massachusetts NHS Student of the Year...
read more

In addition the "read more" part needs to be a different color (red) and linkable.

You can see the site at http://bishopstang.phoenix.vertex.net/. On the right, you'll see the first news item is dynamically created by Mambo. The rest are hard coded. I need the first news item to look like the rest.

And while I'm at it, I'd prefer that the title from these news items not be the "header" on the following page, but rather a smaller header under the header "News". Any thoughts on how this could be accomplished?

Thanks!

I havnt got that far in my process.

I'm still trying to figure out how to get the latest news on my frontpage and also then how I add, edit and remove news, wherefrom in the admin?
blackline is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13.11.2005, 22:55   #5 (permalink)
Professional Mamber
 
crash777's Avatar
 
Join Date: Apr 2004
Location: North East USA
Posts: 931
crash777 will become famous soon enough
Default Re: Customizing Latest News Module

Quote:
Originally Posted by daprezjer
Ha, I just figured that out, but I had to go to the "Newsflash" module, not the latest news module.
Depends on what you are using and how you want news to show up. The latest news lists the item titles and the newsflash will list the intro texts...

Quote:
Originally Posted by daprezjer
I have had a problem though editing the "contentheader" module. Seems that when I do that I also change the header type on all of my pages. I tried setting the module class instead but the contentheader style always overtook it, using !important or not.
In the module.. check the "Module Class Suffix". I normally put a "-specificname" for my suffix.. then in the CSS file, make sure to add this suffix...
.contentheader-specificname {color: red; }
If you need to you can also do:
a.contentheader-specificname {color: red; }

don't forget the readon class:
a.readon {color:red;}

Quote:
Originally Posted by daprezjer
Any thoughts on making the contentheader style different for the "latest news" section different than the content headers of the pages?
Just set the "Module Class Suffix" accordingly (and differently) for the newsflash and latest news modules.
__________________
www.crashgraphics.com
Aaron Monello
crash777 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13.11.2005, 22:58   #6 (permalink)
Professional Mamber
 
crash777's Avatar
 
Join Date: Apr 2004
Location: North East USA
Posts: 931
crash777 will become famous soon enough
Default Re: Customizing Latest News Module

Quote:
Originally Posted by blackline
I havnt got that far in my process.

I'm still trying to figure out how to get the latest news on my frontpage and also then how I add, edit and remove news, wherefrom in the admin?
In the modules section, go into the latest news module and set it to show, according to your preferences, the section/category of your choosing. Make sure to publish it in one of the module positions that is available in your template. Also make sure any items in the section and category you chose are published.
__________________
www.crashgraphics.com
Aaron Monello
crash777 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Ordering Display Latest news module jakob Mambo 4.5 'How Do I' Questions 5 03.04.2006 01:14
Frontpage "more items" module? Latest News hack? oojacoboo Mambo 4.5.1 'How Do I' Questions 2 02.03.2005 02:09
Latest news module weavers Mambo 4.5 General Talk 2 25.06.2004 09:10
Latest news 1-2 module properties mambomaster Module 'How Do I' Questions 5 10.06.2004 19:59
Latest News Extended 1-1 Module -> Setting Parameters bjoern Module 'How Do I' Questions 4 28.04.2004 15:26


All times are GMT +2. The time now is 16:14.

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.