| Author |
Message |
aseitz
Nuke Soldier


Joined: Mar 07, 2005
Posts: 25
|
Posted:
Tue Mar 15, 2005 11:35 am |
  |
On the mainpage the center content is a news-block which displays the 10 most current articles. Which is nice, however, I want to display only 5. I can't seem to find where to change this number.
Help would be greatly appriciated!
-- EDIT moved my search over to Modules. |
Last edited by aseitz on Wed Mar 16, 2005 9:14 am; edited 1 time in total |
|
   |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Tue Mar 15, 2005 12:44 pm |
  |
|
    |
 |
aseitz
Nuke Soldier


Joined: Mar 07, 2005
Posts: 25
|
Posted:
Tue Mar 15, 2005 1:29 pm |
  |
| Xyberian wrote: |
Open <your-nuke>/blocks/block-recent_news.php.
And then find a variable to have the 10 like $limit = 10;
change it to 5.
Sorry I've forgot the variable name. |
I definatly don't have a block-recent_news.php. Could you double check the block name? I am running 7.5 (+ Patched 2.9) and as long as I can get the name of the block I can find the variable.  |
|
|
   |
 |
elr
Captain


Joined: Mar 09, 2004
Posts: 329
|
Posted:
Tue Mar 15, 2005 2:36 pm |
  |
I think you are talking about the news module. Change the number of posts to show in your admin preferences |
|
|
   |
 |
aseitz
Nuke Soldier


Joined: Mar 07, 2005
Posts: 25
|
Posted:
Tue Mar 15, 2005 3:24 pm |
  |
| elr wrote: |
| I think you are talking about the news module. Change the number of posts to show in your admin preferences |
I set:
Number of Items in Top Page: 5 (Affects Top 10 listing - set back to 10)
Stories Number in Home: 5 (Affectes only members personal home page, not general one, set back to 10).
And it still shows 10 in the main page. Are you positive about that setting? And if so, what do I need to check to troubleshoot this? I am making these changes as a GOD user.
Here is the link to the page in question. As you can see, 10 news posts. |
|
|
   |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Tue Mar 15, 2005 11:21 pm |
  |
WHAT THE .....
Your question was totally making me misunderstood, man...
That's a news module not BLOCK!!!.
OK. I've forgot where is the news module tweak which shows a certain number of nuews in your front page and shows page number to hide and allow user to go to old news.... Hm...
Gee.... I've forgot it. Nukecops forum has it.....
I remember Evader99 put a link to get the module. |
_________________ •NukeKorea Dev. Network.
•NukeKorea Laboratories |
|
    |
 |
aseitz
Nuke Soldier


Joined: Mar 07, 2005
Posts: 25
|
Posted:
Wed Mar 16, 2005 8:37 am |
  |
| Xyberian wrote: |
WHAT THE .....
Your question was totally making me misunderstood, man...
That's a news module not BLOCK!!!.
OK. I've forgot where is the news module tweak which shows a certain number of nuews in your front page and shows page number to hide and allow user to go to old news.... Hm...
Gee.... I've forgot it. Nukecops forum has it.....
I remember Evader99 put a link to get the module. |
You're awesome! Thanks a ton! I'll start looking over there! |
|
|
   |
 |
|
|