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

Recent

Welcome to TinyPortal. Please login or sign up.

May 17, 2024, 09:32:38 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 59
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 31
  • Total: 31

"Read more..." = Offsite Link?

Started by anunlike, July 01, 2006, 12:00:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iwyen

Quote from: Bloc on July 03, 2006, 05:53:14 PM
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.


G6Cad

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

 :o Oooooow! :oThats the point :(

Thanks for telling me.

;)

Muldoon

#14
Ok, I must be an idiot...where is the 'read more' link function at. I can't seem to find it  :(

JPDeni

Quote from: Muldoon on November 10, 2006, 08:11:28 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:


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.