Foren / Cotonti / Support / recent index

number of recent publications in the index

elfrenazo
#1 16. Januar 2012, 01:08

another question: how to change the number of recent publications in the index. example: to 20

large jumps from 3 to 45 ...

GHengeveld
#2 16. Januar 2012, 14:29

Not sure what you mean. There's config for both the news plugin and the recentitems plugin that allow you to set the number of items quite specifically (20 is one of the options).

elfrenazo
#3 16. Januar 2012, 16:27

change the number of recent publications in the index. example: to 20

recentindex.jpg


Dieser Beitrag wurde von elfrenazo (am 11. Juli 2012, 06:21, vor 12 Jahre) bearbeitet
Dave
#4 16. Januar 2012, 17:17
i think, if i understand him, the max amout of recent items is 30 (cot 0.6.20) and he wants MORE,
i'd do it like that, open: recentitems.setup.php, and u should find smth like:
maxpages=01:select:0,1,2,3,4,5,6,7,8,9,10,15,20,25,30:5:Recent pages displayed
maxtopics=02:select:0,1,2,3,4,5,6,7,8,9,10,15,20,25,30:5:Recent topics in forums displayed
simply add select option: ...15,20,25,30 , 45 , 55 , 60, 65 :5:Recent pages displayed
why do i hjave to user < br > ? in the reply?! :S
Your advertisement here :-)

Cotonti Genoa based site: forgotten-garage.pl
elfrenazo
#5 16. Januar 2012, 17:40

my recentitens.setup.php  ¿?

 

<?php
/* ====================
[BEGIN_COT_EXT]
Code=recentitems
Name=Recent items
Description=Recent pages, topics in forums, users, comments
Version=0.9.0.1
Date=2010-02-08
Author=esclkm & Cotonti Team
Copyright=Partial copyright (c) Cotonti Team 2008-2011
Notes=BSD License
SQL=
Auth_guests=R
Lock_guests=W12345A
Auth_members=R
Lock_members=W12345A
Recommends_modules=page,forums
Recommends_plugins=comments
[END_COT_EXT]

[BEGIN_COT_EXT_CONFIG]
part=10:select:index,header:index:Part where recent items should be called
recentpages=11:radio::1:Recent pages on index
maxpages=12:string::5:Recent pages displayed
recentpagestitle=13:string:::Recent pages title length limit
recentpagestext=14:string:::Recent pages text length limit
recentforums=15:radio::1:Recent forums on index
maxtopics=16:string::5:Recent topics in forums displayed
recentforumstitle=17:string:::Recent forums title length limit
newpages=18:radio::1:Recent pages in standalone module
newpagestext=19:string:::New pages text length limit
newforums=20:radio::1:Recent forums in standalone module
itemsperpage=22:string::10:Elements per page in standalone module
rightscan=23:radio::1:Enable prescanning category rights
[END_COT_EXT_CONFIG]
==================== */

/**
 * Recent pages, topics in forums, users, comments
 *
 * @package recentitems
 * @version 0.7.0
 * @author esclkm, Cotonti Team
 * @copyright Copyright (c) Cotonti Team 2008-2011
 * @license BSD
 */

defined('COT_CODE') or die('Wrong URL');

?>
Dave
#6 16. Januar 2012, 22:36
i c that ur useing siena... i never used it but i think i explained the way to do this? 2morow ill look in to the code and ill see if i will be able to figure out something
Your advertisement here :-)

Cotonti Genoa based site: forgotten-garage.pl
elfrenazo
#7 16. Januar 2012, 22:52

I used to use genoa and then upgrade to siena

Trustmaster
#8 17. Januar 2012, 07:00

Uninstall the plugin and install it again. Then you will be able to insert any number in the input.

May the Source be with you!
elfrenazo
#9 17. Januar 2012, 12:03

ok thanks now if it goes well Trustmaster yes