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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 142
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 100
  • Total: 100

Problem with Article Category Block

Started by insanemustang, April 24, 2007, 05:32:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rockon123

#10
Hey Ich, thanks alot for your help, I really appreciate it.  I wanted the format of the date changed, but figured since you had already helped me out, I would figure out how to do it myself and I did.  So now the date displays more to my liking.  Thanks again for your help.

I see what the original author meant about the spacing. How might I go about trying that, if I wanted to space out each entry, just by a pixel or two how would I do that?  Could I try an invisible table for each entry?

IchBin

You would probably have to take the first line of code I posted and add some CSS to it.

Perhaps something like this.
echo '<div style="padding-bottom: 5px"><b><a href="'.$scripturl.'?page='.$listing['id'].'">'.$listing['subject'].'</a></b> '.$txt[525].' '.$listing['poster'].' on '.$listing['date'].'<br /></div>';

You can change 5px to whatever you desire. :)

rockon123

Worked like a charm, thanks a bunch Ich.....

Oh...and, I am sorry for the rude words I had for you....

IchBin

Quote from: rockon123 on April 30, 2007, 04:33:06 AM
Worked like a charm, thanks a bunch Ich.....

Oh...and, I am sorry for the rude words I had for you....
TBH, I don't recall you having any rude words for me. Glad I could help though. :)

rtr2006

Hey, I found this article very helpful.  Ich, if I wanted to also add the number and comments beside this, what changes would need to be made?  Thanks in advance, this is a great add.

rtr2006


IchBin

I don't know how the comments system works. Right now I just don't have the time to look any further into it. If someone doesn't help you then just bump this topic in about a week or so. I'm really busy right now.

insanemustang

#17
Waited 6 days as patiently as possible, so ... bump!!!  I'm also willing to paypal you some money to set me up with this request.

What I have: Right now the article title displays, and below it reads: by [name] on [date]

I want it to say: by [name] on [date] - [#ofviews] [#of comments]

Ich, let me know what you need to make this happen.

You can see it for yourself at http://www.bamanation.net if this helps

G6Cad

One way could be to just cgange the language strings for what you want them to say instead of what the say now.

Try and laborate some in the Tportal.english.php in themes/default/languages/


insanemustang

Quote from: G6â„¢ on May 08, 2007, 10:52:08 PM
One way could be to just cgange the language strings for what you want them to say instead of what the say now.

Try and laborate some in the Tportal.english.php in themes/default/languages/



I will um, try?  I don't know what you mean but I will try lol

This website is proudly hosted on Crocweb Cloud Website Hosting.