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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,976
  • Latest: aicrazy
Stats
  • Total Posts: 196,164
  • Total Topics: 21,352
  • Online today: 816
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 104
  • Total: 104

haberin devamı linki eklemek

Started by artmen, February 12, 2008, 03:29:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

artmen

orta blokta yer alan haberlerin devamını okumak için başlığa tıklamak gerekiyor. buraya haberin devamını oku gibi bir buton eklemek ve link vermek doğru olacaktır düşüncesindeyim. eğer bunu yapabilirseniz mutlu olacağım..selamlar
ismet demir
öğretmen

alp

Bunu daha önce denemedim belki işinize yarar
-------------

Ssi.php yi açıyoruz,
Aşağıdaki kodu buluyoruz,

'comment_link' => !empty($row['locked']) ? '' : '<a href="' . $scripturl . '?action=post;topic=' . $row['ID_TOPIC'] . '.' . $row['numReplies'] . ';num_replies=' . $row['numReplies'] . '">' . $txt['smf_news_3'] . '</a>',

Bununla deÄŸiÅŸtiriyoruz,

'comment_link' => !empty($row['locked']) ? '' : '<a href="' . $scripturl . '?action=post;topic=' . $row['ID_TOPIC'] . '.' . $row['numReplies'] . ';num_replies=' . $row['numReplies'] . '"><img src="images/yorum.gif " border="0" /></a>',

Portalınızın images klasorune yorum.gif i atmayı unutmayın,,,


Devamını Oku Gifi için,
Bul
foreach ($return as $news)
{
echo '
<div>
<a href="', $news['href'], '">', $news['icon'], '</a> <b>', $news['subject'], '</b>
<div class="smaller">', $news['time'], ' ', $txt[525], ' ', $news['poster']['link'], '</div>

<div class="post" style="padding: 2ex 0;">', $news['body'], '</div>

', $news['link'], $news['locked'] ? '' : ' | ' . $news['comment_link'], '
</div>';

if (!$news['is_last'])
echo '
<hr style="margin: 2ex 0;" width="100%" />';
}
}


DeÄŸiÅŸtir
foreach ($return as $news)
{
echo '
<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <tr>
    <td colspan="2" class="catbg" align="left"><img src="images/haber.gif " border="0"  align="absmiddle" />&nbsp;<b>', $news['subject'], '</b></td>
  </tr>
  <tr>
    <td colspan="2" align="left" class="windowbg"><span style="font-size: 8pt">', $news['body'], '</span></td>
  </tr>
  <tr>
    <td align="left"><span style="font-size: 7pt">(', $news['link'], $news['locked'] ? '' : ') ', $news['time'], ' ', $txt[525], ' ', $news['poster']['link'], ' </span></td>
    <td align="right" valign="bottom"><span style="font-size: 8pt">' . $news['comment_link'], ' <a href="', $news['href'], '"><img src="images/devam.gif" border="0" /></a></td>
</span> </tr>
</table>






</div>';

if (!$news['is_last'])
echo '
';
}
}


images/devam.gif Bu yola devam.gif i atmayı unutmayın,

Lütfen yedek alın

artmen

arkadaÅŸlar
ben bu Ssi.php dosyasını bulamadım. bir tane var ama o da smf ye ait. neyin içinde bu dosya?

alp

Quote from: artmen on February 17, 2008, 06:06:44 PM
arkadaÅŸlar
ben bu Ssi.php dosyasını bulamadım. bir tane var ama o da smf ye ait. neyin içinde bu dosya?
ana dizinde ssi.php o smf ait olan iÅŸte

artmen

anladım, demekki bulduğum dosyaymış.
Quote from: alp on February 17, 2008, 10:20:35 PM
Quote from: artmen on February 17, 2008, 06:06:44 PM
arkadaÅŸlar
ben bu Ssi.php dosyasını bulamadım. bir tane var ama o da smf ye ait. neyin içinde bu dosya?
ana dizinde ssi.php o smf ait olan iÅŸte

artmen

Dostum bu olmadı . ekledim herhangi bir sorun olmadı ama link çıkmadı. yada resim diyelim. acaba devam.gif i ana dizinde bir images klasörü yaratıp mı koyacağıa.[denedim olmadı.] Tp images denedim olmadı. Smf themes images yine olmadı. bir el atabilirsen çok memnun olurum. teşekkürler

bbTURK

kullndığın temanın içindeki images klasörüne atman gerekiyor resmi. birde öyle dener misin?

nastenka

bende haberin devamÃ,,± yazsÃ,,±nÃ,,±n yerine baska biÃ...Ÿi yazmak istiyorum mümkün mü mesela videoyu izle gibi

turkyucel

Tabiki mümkün. aynÃ,,± yöntemle bunu yapabilirsin.

nastenka

yücel kardeÃ...Ÿ hangi yöntemle anlamadÃ,,±m ben hangi dosyada bulabileceÃ,,Ÿimi söyler misin bunun ayarÃ,,±nÃ,,±

This website is proudly hosted on Crocweb Cloud Website Hosting.