PEAK XOOPS - Re: Link in summary to the whole article in englishin japanese

Re: Link in summary to the whole article

List posts in the topic

question Re: Link in summary to the whole article

msg# 1.2
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2004/12/26 7:24
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi chico.

You are a heavy user of TinyD

edit blocks/tinycontent_content.php like this:
	// if template file exists, parse it.
	if( file_exists( "$mymodpath/templates/blocks/tinycontent_content_block.html" ) ) {
		$myts =& TinyDTextSanitizer::getInstance() ;
		$tpl = new XoopsTpl();
		$tpl->assign( array(
			'storyid' => $options[1] ,
			'title' => $myts->makeTboxData4Show( $title ) ,
			'content' => $content
		) ) ;
		$block['content'] =& $tpl->fetch( "file:$mymodpath/templates/blocks/tinycontent_content_block.html" ) ;

	} else {
As this modification is also applied my recent repository, don't mind compatibilities in future.

And rename templates/blocks/tinycontent_content_block.html.dist to tinycontent_content_block.html.

Edit it like this:

<{$content}>
<br />
<a href="<{$mymoddir}>/index.php?id=<{$storyid}>">more...</a>
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!