- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 160 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
How to set an arbitrary "Stories Number in Home"
You want to display only, say, 3 News on the hopepage of your PHP-Nuke . But in the administration panel you get only the options to change the "Stories Number in
Home" to 5, 10, 15, 20 , 25 and 30.
Go to admin/modules/settings.php and change at line 61 :
."</td></tr><tr><td>"
.""._STORIESHOME.":</td><td><select name='xstoryhome'>"
."<option name='xstoryhome'>$storyhome</option>"
."<option name='xstoryhome'>5</option>"
."<option name='xstoryhome'>10</option>"
."<option name='xstoryhome'>15</option>"
."<option name='xstoryhome'>20</option>"
."<option name='xstoryhome'>25</option>"
."<option name='xstoryhome'>30</option>"
."</select>"
to
."</td></tr><tr><td>"
.""._STORIESHOME.":</td><td><select name='xstoryhome'>"
."<option name='xstoryhome'>$storyhome</option>"
."<option name='xstoryhome'>3</option>"
."<option name='xstoryhome'>5</option>"
."<option name='xstoryhome'>10</option>"
."<option name='xstoryhome'>15</option>"
."<option name='xstoryhome'>20</option>"
."<option name='xstoryhome'>25</option>"
."<option name='xstoryhome'>30</option>"
."</select>"
Now you can select "3" from the drop-down list. You get the idea. See How to set an arbitrary "Stories Number in
Home" .