Difference between revisions of "Limit Portal Block Entry"
From GeeklogWiki
m (added link to Block Types) |
m (Added category) |
||
Line 8: | Line 8: | ||
After changing the limit, the portal block will not be updated until the next RSS update which by default is set to 3600 seconds or 1 hour. If you want to see the portal block updated immediately, you can go back to Blocks under the Admins function, select the portal block that you want to reload and save the portal block again. | After changing the limit, the portal block will not be updated until the next RSS update which by default is set to 3600 seconds or 1 hour. If you want to see the portal block updated immediately, you can go back to Blocks under the Admins function, select the portal block that you want to reload and save the portal block again. | ||
+ | |||
+ | |||
+ | [[Category:Blocks]] |
Revision as of 18:28, 12 May 2009
Limiting Portal Block Entry
You can limit the number of entries in a Portal Block by setting the value of $_CONF['syndication_max_headlines']
accordingly (in the Configuration admin panel or in config.php, depending on the Geeklog version you're using).
In really old Geeklog versions, you can limit the number of entries by changing the value of $maxheadlines
in function COM_rdfImport($bid, $rdfurl)
to any number that you want.
Reloading Portal Block
After changing the limit, the portal block will not be updated until the next RSS update which by default is set to 3600 seconds or 1 hour. If you want to see the portal block updated immediately, you can go back to Blocks under the Admins function, select the portal block that you want to reload and save the portal block again.