1
ManXP
Articles Module
  • 2005/9/5 22:30

  • ManXP

  • Quite a regular

  • Posts: 231

  • Since: 2003/8/14


Hi there,

I have a problem with Articles module. Installed this one today and it seems to be the worst module in the world if you need to customize it. I don't know what's going wrong, but I can't change the colors of article's title.

I'm using h1 tags to display the title, so I described h1 in CSS file and assigned another color. But it doesn't work. All other things work fine (I can specify font size, padding, etc) but color doesn't work. I even was editing templates for Articles module itself and addded style="......" to title - nothing.

Did someone was lucky to customize the colors for Articles module?

2
gestroud
Re: Articles Module
  • 2005/9/6 2:36

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


LOL! I just went through the EXACT same thing about an hour ago. I'm still working on it. If I figure it out, I'll get back to you.

3
ManXP
Re: Articles Module
  • 2005/9/6 10:37

  • ManXP

  • Quite a regular

  • Posts: 231

  • Since: 2003/8/14


Thanks, I'm working on this too.

I found one of possible solutions, but it's just silly: you need to assign a special color for BODY in your CSS file, so title uses body color then. Bad thing: you will need to create separate CSS elements for EACH element in your website so only title will sue body color.

If you simply remove body color, it doesn't help :angry_like_a_dvil:

4
Kiki1
Re: Articles Module
  • 2005/9/6 11:04

  • Kiki1

  • Not too shy to talk

  • Posts: 118

  • Since: 2004/3/14


i am using module article but how can i display tags in this module, can u send me the file

5
ManXP
Re: Articles Module
  • 2005/9/6 14:07

  • ManXP

  • Quite a regular

  • Posts: 231

  • Since: 2003/8/14


Hi Kiki1,

Open article_item.html template and search for <{$article.article_title}>

Here it is :)

6
Widget
Re: Articles Module
  • 2005/9/7 9:33

  • Widget

  • Just popping in

  • Posts: 46

  • Since: 2004/12/24


You could try checking the source of the articles mod. I found that the odd class manipulates the article titles and also its description. Try this and place it in your XOOPS style sheet:



.odd
{
    
background-color#xxxxx;
    
font-familyVerdanaArialHelveticasans-serif;
    
font-size13px;
    
padding5px;
    
color#333333;
}


Try playing aroung with the code above but just remember that some changes that you make may affect the other pages within your website. I hope this helps.
Greetz,
Widget

7
Kiki1
Re: Articles Module
  • 2005/9/7 13:34

  • Kiki1

  • Not too shy to talk

  • Posts: 118

  • Since: 2004/3/14


Quote:

ManXP wrote:
Hi Kiki1,

Open article_item.html template and search for <{$article.article_title}>

Here it is :)


i dont have artile_item.html i have article.php but what with

<{$article.article_title}> this

8
ManXP
Re: Articles Module
  • 2005/9/7 15:01

  • ManXP

  • Quite a regular

  • Posts: 231

  • Since: 2003/8/14


Quote:

Widget wrote:
You could try checking the source of the articles mod. I found that the odd class manipulates the article titles and also its description. Try this and place it in your XOOPS style sheet:
.....


Unfortunately, it didn't work :(

I change .odd attributes in style.css (in theme directory), in xoops.css (this one is on root directory) and still nothing...

9
ManXP
Re: Articles Module
  • 2005/9/7 15:02

  • ManXP

  • Quite a regular

  • Posts: 231

  • Since: 2003/8/14


Quote:

i dont have artile_item.html i have article.php but what with

<{$article.article_title}> this


it's located in templates directory

10
Kiki1
Re: Articles Module
  • 2005/9/7 17:10

  • Kiki1

  • Not too shy to talk

  • Posts: 118

  • Since: 2004/3/14


<{foreach item=article from=$articles}>
<{$article.article_title}>
<{if $show_art_posted eq 1}> <{$posted_on}> <{$article.art_posted_datetime}> <{/if}> <{if $show_art_reads eq 1}> (<{$article.art_views}> <{$art_reads_cap}>) <{/if}>
<{$article.art_article_text}>

<{/foreach}>
<{$index_link_text}> :: <{$print_art_link}> <{if $email_allow eq 1}> :: <{$email_friend}> <{/if}>

<{$commentsnav}> <{$lang_notice}>

<{if $comment_mode == "flat"}> <{include file="db:system_comments_flat.html"}> <{elseif $comment_mode == "thread"}> <{include file="db:system_comments_thread.html"}> <{elseif $comment_mode == "nest"}> <{include file="db:system_comments_nest.html"}> <{/if}>



this is it...what now with this

Login

Who's Online

225 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits