cotonti.com : [solved]readmore function https://www.cotonti.com Останні повідомлення в темі Cotonti en Mon, 12 Jan 2026 17:32:06 -0000 lalinux thanks]]> Нд, 10 Травень 2009 01:58:38 -0000 aiwass
$readmore = mb_strpos($pag['page_text'], "[more]");
					$pag['page_text'] = sed_parse(sed_cc($pag['page_text']), $cfg['parsebbcodepages'], $cfg['parsesmiliespages'], 1);
					if ($readmore>0)
					{
						$pag['page_text'] = mb_substr($pag['page_text'], 0, $readmore)."<br />";
						$pag['page_text'] .= "<a href=https://www.cotonti.com/\"".$pag['page_pageurl']."\" title=\"".$L['ReadMore']."\">".$L['ReadMore']."</a>";
					}

					sed_news_strip_newpage($pag['page_text']);

					$pag['page_text'] = sed_post_parse($pag['page_text'], 'pages');
					$news->assign('PAGE_ROW_TEXT', $pag['page_text']);

I haven't tried this one myself, but i think it has the function you are looking for.]]>
Нд, 10 Травень 2009 01:40:24 -0000
lalinux So, is there any hack or plugin to make readmore function on my news page?
any help would be appreciate

*found that function in news.php*

how lovely cms]]>
Нд, 10 Травень 2009 01:09:56 -0000