frankenberrie
10-28-2004, 10:00 PM
[MOD] V3Arcade - Scrollable news / more news
This little mod will make your news window thats on the main Arcade screen / Arcade category screen scrollable.
Files to modify
Arcade.php
Templates to modify:
arcade_main
arcade_main_category (if your using the category mod)
**** DONT FORGET TO BACK UP BEFORE U MODIFY ****
Here what to do:
Open your admincp ==> Styles & Templates ==> Style Manager ==> Edit templates
Open up the arcade_main template
FIND:
$arcadenews
Add this directly above that:
<div style="height:125px; width:100%; overflow:auto;">
If you have the category mod installed:
Open the arcade_main_category template
FIND:
$arcadenews
Add this directly above that:
<div style="height:125px; width:100%; overflow:auto;">
NOTE: CHANGE :
height:125px to your liking
Now to make more news available for viewing. Remember, depending on how much news you set to view, this can have an effect on your sites performance.
Open up Arcade.php
FIND: (if you are using the category mod, this like will be in there twice)
$newsresult = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "gamenews ORDER BY datestamp DESC LIMIT 4");
SET Number of new items to show by changing this:
LIMIT 4
Hope this can be usefull. Just click install if you use.
This little mod will make your news window thats on the main Arcade screen / Arcade category screen scrollable.
Files to modify
Arcade.php
Templates to modify:
arcade_main
arcade_main_category (if your using the category mod)
**** DONT FORGET TO BACK UP BEFORE U MODIFY ****
Here what to do:
Open your admincp ==> Styles & Templates ==> Style Manager ==> Edit templates
Open up the arcade_main template
FIND:
$arcadenews
Add this directly above that:
<div style="height:125px; width:100%; overflow:auto;">
If you have the category mod installed:
Open the arcade_main_category template
FIND:
$arcadenews
Add this directly above that:
<div style="height:125px; width:100%; overflow:auto;">
NOTE: CHANGE :
height:125px to your liking
Now to make more news available for viewing. Remember, depending on how much news you set to view, this can have an effect on your sites performance.
Open up Arcade.php
FIND: (if you are using the category mod, this like will be in there twice)
$newsresult = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "gamenews ORDER BY datestamp DESC LIMIT 4");
SET Number of new items to show by changing this:
LIMIT 4
Hope this can be usefull. Just click install if you use.