TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 673
  • Total: 673

[Block] Article Archive List (With Date Range)

Started by tim antley, October 28, 2008, 09:30:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alhaudhie

what must i put in

$css_class      = ''; // CSS style to display output within, or not!

if i want to using css from custom theme....?

IchBin

You put your custom class name in between the single quotes. It will automatically use the custom css class.

alhaudhie

how can change the list style not from css? i want to put arrow.

IchBin

$css_class      = 'myclass';

Then in your css file you add the classes to add the lists.

myclass ul{
    custom attributes go here
}

myclass ul li{
    custom css attributes go here.
}

Ianedres

Guess I missed the new questions when I last checked in; thanks JPDeni and IchBin for filling in the gap there... ::)

alhaudhie

Quote from: IchBinâ„¢ on March 21, 2009, 05:41:43 PM
$css_class      = 'myclass';

Then in your css file you add the classes to add the lists.

myclass ul{
    custom attributes go here
}

myclass ul li{
    custom css attributes go here.
}
TQ... working perfectly.

alhaudhie


Ianedres

That would require some reworking of the existing code as it is. I see where that would be an interesting option though.

Could query for approved articles, picking one at random, then display the article's content from there. May be able to work on that in the next day or two...

alhaudhie


This website is proudly hosted on Crocweb Cloud Website Hosting.