tweaking output of events and news modules

Argos

Quote from: ctec on November 10, 2010, 05:00:58 PM
How are you able to modify the news module general settings? I try and it always gives an error when saving. I would like to take out the posted by, etc...

Your WB installation seems to be broken. This is basic functionality that should work fine. Try reinstall the News module, check if all directories have the right permissions, and maybe reinstall WB.
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

ctec

How are you able to modify the news module general settings? I try and it always gives an error when saving. I would like to take out the posted by, etc...

Thank you in advance

dellington

I figured out a better way. I went into the css file for the events module and added  this style:

.mtevent p {
padding-bottom: 0px;
margin-bottom: 0px;
}


The effect is that event descriptions wrapped in paragraph tags don't have the typical line break after them. But it doesn't affect paragraph spacing anywhere else in the system.

I also added a style to make the link itself a slightly smaller font size than the description:

.mtevent a {
font-size: .9em;
}


They're subtle changes but I think it makes the page look less choppy.

dellington

I found where to take out the line breaks. Then I realized I still have a paragraph return between the news/calendar item and the "more" link because the fckeditor wraps everything in a paragraph tag. Which is good for validation, but not so good for me wanting to have the more link come right after the item text.

Can I remove that function from the fckeditor? Or is there another way I should address this?

dellington

Here's the site:

http://tinyurl.com/ydzukbw

On the right hand side it says, "We have a new assistant director, K___ C_____!" Then there are two line breaks and then a link for "...more". I want it to all run together. E.g.:

We have a new assistant director, K___ C_____! ...more.

I modified the table so that the link to info comes right after the news title. The code looks like this:

<td class="post-short" colspan="2">
[SHORT] <span style="visibility:[SHOW_READ_MORE];"><a href="[LINK]">[TEXT_READ_MORE]</a>
</span><br /><br /></td>


No line breaks in there between the short description and the link. I can't quite figure out where to go in the module files to strip out the line breaks.

Help?

I have a similar problem with the Events module on the left side of the page.