How to Add Marquee Codes to PHP Nuke
PHP Nuke is content management software that allows you to create a website with ease. The software is designed for both novice and advanced website designers. Advanced website designers have the ability to tweak the HTML code, thus creating a more complex site. One popular tweak is the marquee code, which causes all of your RSS feed headlines to scroll like a marquee.
Instructions
-
-
1
Log into your PHP Nuke “Control Panel.”
-
2
Click the “Directory” link to access your page files and folders.
-
-
3
Click the “public_html” folder to open it. Double-Click the file labeled “mainfile.php.” This opens the page editor for the file.
-
4
Locate the headlines HTML code inside the page editor. The code appears as follows:
if ($cenbox == 0) {
themesidebox($title, $content);
} else {
themecenterbox($title, $content); -
5
Replace all of the aforementioned headlines code with the following code:
if ($cenbox == 0) {
$content = "<marquee scrollamount=\"3\" direction=\"left\"
loop=\"true\">$content</marquee>";
themesidebox($title, $content);
} else {
$content = "<marquee scrollamount=\"3\" direction=\"left\"
loop=\"true\">$content</marquee>";
themecenterbox($title, $content); -
6
Click “Save” to save the changes to your code.
-
1