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: 196,004
  • Total Topics: 21,330
  • Online today: 219
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 98
  • Total: 98

Articles - How can I remove the Link, title, author and date from the top?

Started by nokonium, August 29, 2005, 09:36:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nokonium



bloc

ah,sorry, forgot this one. Its a hefty bit of code to replace, so I have attached the changed Tportal.template.php. Just use this one.

Nokonium


Nokonium



I'm now getting

8: Undefined index: 0
File: /homepages/6/d119724375/htdocs/sgr/Sources/TPortal.php
Line: 309

Nokonium

I know it seems like a very big bump, but we now have SMF 1.1RC1 & TP 0.7.4b

This is what I've done to TPortal.template

Stopped the linktree

  // theme_linktree();       

Find

// if featured..do something to the subject?

                    echo '</div><div style="padding: 8px; padding-top: 0px;" ' , ($news['is_last']=='theme' || $news['is_last']==false) ? 'class="windowbg2"' : '' , '><div style="padding-bottom: 4px; vertical-align: bottom;" class="smalltext"> '.$news['time'].' '.$txt['tp-by'].' <b>
                                                  <a href="'.$news['poster']['href'].'">'.$news['poster']['name'].'</a></b></div>';


Replace with
// if featured..do something to the subject?

                    echo '</div><div style="padding: 0px; padding-top: 0px;" ' , ($news['is_last']=='theme' || $news['is_last']==false) ? 'class="windowbg2"' : '' , '> ';

This website is proudly hosted on Crocweb Cloud Website Hosting.