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,913
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 570
  • Total: 570

[block] Approved Articles / Sorted, Paginated, Categorized, & Customized

Started by tim antley, September 21, 2008, 11:13:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rafferty


Ken.

FYI... This code works as expected in TP v1.0.5 beta 1. :up:

I've found that the text colors and the line background colors make for easy reading in most themes but there are some themes like Azure, BlueSkys and BZ14 were it is very difficult to make out the text in the lines with dark bg colors. 
Setting the theme_css to 'true' resolves the issue of course, but to me the default (false) gives a more pleasing contrast in the majority of my themes... I'll just have to play with the setting and colors some more to see if there is a combination that looks better to me.

This is a very useful code snippet Ianedres, thank you for this effort.  ;D

Article List

EDIT: In trying to set the articles category's that show in the article it's only letting me show one category or all category's, is there a way to show more than one but not all? Or is it just me missing a setting?
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

IchBin

Guests can't view that page ken. I'd like to see what this looks like if you wouldn't mind opening it up to guests. Or I can just register, but it looks like a family forum and I'm not family. :)

Ken.

Sorry, forgot to move it out of my test category, you should be able to see it now.

As for the log-in, you are welcome to have one if you want to work with this a little, just let me know and I'll make one for you.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

IchBin

Very cool, and nice work Ian.  Thanks for the look Ken. No login necessary though, thanks! BTW, how tall are you Ken? I clicked on one of the articles and saw what looked like you standing next to a couple of midgets. lol But seriously if that was you, you looked like you were about 7 feet tall compared to the others...

Ken.

Which picture? ... whoever looks the biggest is most likely me.
My height is 6-4, but my weight probably makes me look a little taller/bigger. :) 
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Ianedres

Thanks for the good words Ken and Ich. This is one of those projects that started as one thing, and morphed into adding this or that as it came to me...

It is good to know that it works in TP 1.05 as well too, since my test site doesn't have very many articles. The option for custom or theme colors was made since I use Phobos (dark) but wanted to make it flexible for everyone.

Ken, as for the list of categories being restricted, I should be able to do that by providing a static list of the categories instead of querying for all the categories. Will try to work on that this evening after work.

Appreciate the comments!

IchBin


Ken.

Quote from: IchBinâ,,¢ on September 24, 2008, 08:03:47 PM
This image Ken. If you don't want this image here, go ahead and edit my post.
http://www.ourfamilyforum.org/cpg1410/albums/brian/brian-04/normal_3-ken.jpg

Sorry to go off topic Ian. ::)
Yepp... that are me. :)
And they are kind of short in comparison. (2 grandkids & their mom)

" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Ken.

Quote from: Ianedres on September 24, 2008, 06:56:14 PM
Thanks for the good words Ken and Ich. This is one of those projects that started as one thing, and morphed into adding this or that as it came to me...

It is good to know that it works in TP 1.05 as well too, since my test site doesn't have very many articles. The option for custom or theme colors was made since I use Phobos (dark) but wanted to make it flexible for everyone.

Ken, as for the list of categories being restricted, I should be able to do that by providing a static list of the categories instead of querying for all the categories. Will try to work on that this evening after work.

Appreciate the comments!
Thanks Tim.

I don't want to show all of my articles so having the ability to show 3 or 4 categories would be great.
The color thing is not a huge deal, but it is a problem with some themes so you may see that question again if very many folks use the code.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

This website is proudly hosted on Crocweb Cloud Website Hosting.