PEAK XOOPS - Re: Bulletin story view to index page in englishin japanese

Re: Bulletin story view to index page

List posts in the topic

none Re: Bulletin story view to index page

msg# 1.1
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2008/9/21 17:36 | Last modified
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi saba.

Certainly, it looks a non-sense restriction.

edit xoops_version.php

old:
$modversion['config'][$i]['formtype']    = 'select';
$modversion['config'][$i]['valuetype']   = 'int';
$modversion['config'][$i]['default']     = 5;
$modversion['config'][$i]['options']     = array('5' => 5, '10' => 10, '15' => 15, '20' => 20, '25' => 25, '30' => 30);

old:
$modversion['config'][$i]['formtype']    = 'textbox';
$modversion['config'][$i]['valuetype']   = 'int';
$modversion['config'][$i]['default']     = 5;
$modversion['config'][$i]['options']     = array();

And the values in the select box in index.php can be edited by trust/main/index.php

	for ( $i = 5; $i <= 30; $i = $i + 5 ) {
		$option = array();
		$option['sel']    = ($i == $storynum) ? ' selected="selected"' : '' ;
		$option['option'] = $i ;
		$xoopsTpl->append('option', $option);
	}

Anyway, it will be modified soon.
It should be the matter of the template - index.html
Votes:6 Average:1.67

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!