Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: news.php
Parašė Soo-2· 2007 Rugp. 31 00:08:47
#1
kas galite padaryti taip kad po naujiena roditu tik skaityti toliau...??? Faila prisegiau... :|:s?|
Redagavo ozzWANTED· 2007 Rugp. 31 00:08:38
Parašė Soo-2· 2007 Rugp. 31 00:08:22
#2
padėkit kas nors..... labai prasau...:(:(:(
Parašė LeBro· 2007 Rugp. 31 00:08:28
#3
tai reikia ir theme.php faila redaguoti...
Parašė Soo-2· 2007 Rugp. 31 00:08:58
#4
stai prisegu ir theme.php faila.......... :s:s
Parašė Qrmiz· 2007 Rugp. 31 00:08:07
#5
news.php - ne prie ko, reik redaguoti theme.php failą (susirandi function render_news) ir ten redaguojies, jeigu nežinai kaip, atkopijuok
render_news čia
Parašė Soo-2· 2007 Rugp. 31 00:08:21
#6
function render_news($subject, $news, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ").newsopts($info," ").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
cia kažkokia kitokia nei kitose theme.php failuose..
Redagavo Soo-2· 2007 Rugp. 31 00:08:57
Parašė Qrmiz· 2007 Rugp. 31 00:08:50
#7
echo openform("N",$info['news_id']).newsposter($info," ").newsopts($info," ").closeform("N",$info['news_id']);
echo " keisk į echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>Toliau...</a>\n" : "")."
Parašė Soo-2· 2007 Rugp. 31 00:08:39
#8
neveikia....
Redagavo Soo-2· 2007 Rugp. 31 00:08:24
Parašė Qrmiz· 2007 Rugp. 31 00:08:40
#9
ką rašo?
Parašė Soo-2· 2007 Rugp. 31 00:08:07
#10
Parse error: syntax error, unexpected '/' in /usr/home/www1/ftp/snox/themes/OrangeBlue/theme.php on line 70
Parašė Qrmiz· 2007 Rugp. 31 00:08:57
#11
ar tikrai toks kodas:
function render_news($subject, $news, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>Toliau...</a>\n" : "")."</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
Redagavo Qrmiz· 2007 Rugp. 31 00:08:55
Parašė Soo-2· 2007 Rugp. 31 00:08:15
#12
taip... prisegiau dar faila theme.php jei gali tai idėk ir prisek
Parašė Qrmiz· 2007 Rugp. 31 00:08:54
#13
bandyk taip, nors šiaip aš nematau kame dar klaida gali būt...
function render_news($subject, $news, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>Toliau...</a>\n" : "")."</td>";
echo "</tr>
</table>
</td>
</tr>
</table>\n";
}
Redagavo Qrmiz· 2007 Rugp. 31 00:08:02
Parašė Soo-2· 2007 Rugp. 31 00:08:37
#14
oo.. pagaliau.. dėkui
;);)