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

Recent

Welcome to TinyPortal. Please login or sign up.

September 27, 2023, 02:20:33 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 194,549
  • Total Topics: 21,181
  • Online today: 59
  • Online ever: 3,540
  • (September 03, 2022, 01:38:54 AM)
Users Online
Users: 0
Guests: 47
Total: 47

RSS-Feeds in "_blank" öffnen?

Started by Nordin, September 07, 2006, 02:11:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nordin

Hallo,

wo kann ich es einstellen das die XML-Dateien (im RSS-Block) als "_blank" öffnen?

Nordin

1. öffne:
/Sources/TPortal.php

2. Suche:
echo '
<div class="rss_title">';
printf("<a href='%s'>%s</a>", trim($link),htmlspecialchars(trim($title)));


3. Ersetzen mit:
echo '
<div class="rss_title">';
printf("<a href='%s' target='_blank'>%s</a>", trim($link),htmlspecialchars(trim($title)));


4. Speichern & Fertig