News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 16, 2019, 08:26:59 AM

Login with username, password and session length

Recent

Members
  • Total Members: 3752
  • Latest: Alizee
Stats
  • Total Posts: 188888
  • Total Topics: 20752
  • Online Today: 50
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 27
Total: 27

Author Topic: "Read more..." = Offsite Link?  (Read 6941 times)

0 Members and 1 Guest are viewing this topic.

iwyen

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #10 on: July 03, 2006, 11:38:30 AM »
Adding more fields could be something in this though. I see one problem..should such fields be global? ...or per-article-based?

Oophs.. I'm lost. Would "if it's empty, don't show it" work?

I don't know how others would use it, but I would actually prefer to set it within a category. The "same type" of articles probably uses the "same type" of fields. Just like the way we set post icons in SMF to specific boards when those icons don't fit other boards. But that doesn't flow with how things work now since we don't choose a category before writing.

Muziek4um

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #11 on: August 15, 2006, 02:40:04 PM »

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: "Read more..." = Offsite Link?
« Reply #12 on: August 15, 2006, 02:57:41 PM »
The link works fine, but the board they are linking to is off limits to every one exept the staff and the Alpha testers on TinyPortal.

Muziek4um

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #13 on: August 15, 2006, 03:06:47 PM »
 :o Oooooow! :oThats the point :(

Thanks for telling me.

 ;)

Muldoon

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #14 on: November 10, 2006, 01:11:28 PM »
Ok, I must be an idiot...where is the 'read more' link function at. I can't seem to find it  :(
« Last Edit: November 10, 2006, 01:20:26 PM by Muldoon »

JPDeni

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #15 on: November 10, 2006, 02:46:51 PM »
Ok, I must be an idiot...where is the 'read more' link function at. I can't seem to find it  :(
No, not an idiot. :) Those things are not easy to find.

The place where the link prints out is in TPortalBlocks.template.php:

Code: [Select]
echo $story['introtext'];
echo '
     <div class="smalltext" style="margin-top: 1ex; font-weight: bold;"><a href="' .$story['href']. '">'.$txt['tp-readmore'].'</a></div>';

The link ($story['href']) is defined in TPortal.php.