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

Where do I find this in the code and how can insert it in...

Started by shawnlg, October 16, 2007, 10:40:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shawnlg

Take a look... it is messy code but it works.  I figured out how to do the css and added the code based on how you did it and it works.

Going back to the sort order.  If have already created the articles will I need to go into the the sql in order to postion them correctly?  Is there a quick fix for this?  Please let me know.  Thanks!

IchBin

It might work if you change the ORDER by clause to sort by subject instead of id. Give it a shot.

shawnlg

How do you suggest I do that. 

This is me--->   :uglystupid2:


Thanks!

IchBin

haha. Look at the db_query() function in the code. You'll notice towards the end of that function is says ORDER by id. Change it to ORDER by subject.

shawnlg


shawnlg

Do you think I could sort it by airdate or show number?

IchBin

Well, more code would have to be made to do that. I'll think on it, and see if I can figure out how that could work. Will post back if I come up with something.

shawnlg

I think I figured out an easy way to do it but I am not sure how.  I changed the sort to by intro.  From their if we can rearange the fields so that the show number is the first one shown in the intro box I think this should work.  Let me know what you think..

shawnlg

Ok I figured out from your code how to rearange things so that it would work.  I think I am finally catching on a little to what you did.  Thanks!

IchBin

haha, well thats how you learn. Jump in up to your neck and try to dig your way out. :D Good work man.

This website is proudly hosted on Crocweb Cloud Website Hosting.