Friday, 25 July 2014 17:39
beggarly

Getting rid of Date

Groups your news by sections or by categories

Getting rid of Date

Postby BuddhaGeo » Sat Sep 26, 2009 6:03 pm

Is there anyway to get rid of the date stamp all together? I'm using static content and I don't want the date to be there. I found no such setting in the module menu.
BuddhaGeo
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Sat Sep 26, 2009 6:00 pm

Re: Getting rid of Date

Postby chus » Sat Sep 26, 2009 6:26 pm

Yes, just remove GN_date from the module's big textarea parameter called "HTML Supported Code..."
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: Getting rid of Date

Postby BuddhaGeo » Sat Sep 26, 2009 6:31 pm

Thanks for the fast reply. The date disappeared, but a huge gap is left between the title and the text.

http://georgetopouria.byethost2.com/

Is there any way to push that text up closer to the header?
BuddhaGeo
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Sat Sep 26, 2009 6:00 pm

Re: Getting rid of Date

Postby chus » Sat Sep 26, 2009 6:43 pm

Maybe I should have suggested to remove GN_break too. Does it work?

Also, please consider voting Global News up at Joomla Extension Directory:

http://extensions.joomla.org/extensions ... -news/4576
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: Getting rid of Date

Postby BuddhaGeo » Sat Sep 26, 2009 7:13 pm

Works like a charm! - This module breathed life into my site! I'll vote for it and donate as soon as I get my salary on my card.

Oh and, maybe I'm just being a bit inattentive, but is there a way to change the color of the category (not the article's title)?
BuddhaGeo
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Sat Sep 26, 2009 6:00 pm

Re: Getting rid of Date

Postby chus » Sat Sep 26, 2009 8:15 pm

Thank you!

Yes, the header happens to have a gn_header class so you can customize that anchor by adding something like this to your css:
Code: Select all
.gn_header a {
     color: blue;
}

For further module customization possibilities, I would suggest the following article:
http://joomla.vargas.co.cr/documentatio ... ass-suffix
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: Getting rid of Date

Postby BuddhaGeo » Sat Sep 26, 2009 8:25 pm

And where is this .css file located? I can't find it in the mod_globalnews folder
BuddhaGeo
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Sat Sep 26, 2009 6:00 pm

Re: Getting rid of Date

Postby chus » Mon Sep 28, 2009 4:31 pm

There isn't any but you can add the styles to your template's main stylesheet.
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: Getting rid of Date

Postby BuddhaGeo » Mon Sep 28, 2009 5:15 pm

I added the aforementioned code to my templates_css.css but nothing happened. There was no effect.

What could be the problem?
BuddhaGeo
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Sat Sep 26, 2009 6:00 pm

Re: Getting rid of Date

Postby pankajnagarkoti85 » Sun Oct 11, 2009 11:07 pm

Maybe I should have suggested to remove GN_break too. Does it work?
pankajnagarkoti85
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Sun Oct 11, 2009 11:03 pm


Return to Global News



Who is online

Users browsing this forum: No registered users and 2 guests

cron