Przepraszam, że tak robie ale mi się śpieszy. Oto readme/instalacja:
Kod:
Installation Notes:
Please follow the procedures accordingly.
Two subheader.php files are bundled and ready to be used as ease. Just place it in its appropriate folder location.
Please make a backup of the files that you are going to edit.
Install this infusion/mod at your own risk.
0. Backup Your PHP-Fusion Web Site (files/database) just in case something goes wrong with your installation.
1. Uncompress the content of the zipped files to your PHP-Fusion Site appropriately.
Note: If you are upgrading, delete the menuitems.js from the package before uploading.
2. Open the subheader.php from the ROOT folder of your PHP-Fusion Site and
modify the following: (A modded subheader.php files are already included in the package.)
Note: You may skip this process if you are just upgrading.
Replace line 26 - 29:
>>26 <link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
>>27 <script type='text/javascript' src='".INCLUDES."jscript.js'></script>
>>28 </head>
>>29 <body bgcolor='$body_bg' text='$body_text'>\n";
With:
>>26 <link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
>>27 <script type='text/javascript' src='".INCLUDES."jscript.js'></script>";
>>28 include BASEDIR . 'infusions/dhtmlmenu/configure.php';
>>29 echo "</head><body bgcolor='$body_bg' text='$body_text'>\n";
3. Open the subheader.php from the administration folder of your PHP-Fusion Site and
modify the following: (A modded subheader.php file are already included in the package.)
Note: You may skip this process if you are just upgrading.
Replace line 21 - 22:
>>21 <head>
>>22 <title>".$settings['sitename']."</title>
With:
>>21 <head>";
>>22 include BASEDIR . 'infusions/dhtmlmenu/configure.php';
>>23 echo"<title>".$settings['sitename']."</title>
4. Open the theme.php file of your currently used theme in the THEMES directory
of your PHP-Fusion Site and Insert the following on the Place
where you want the menu to appear: (Experiment with your used theme to match the DHTML MENU)
Note: You may skip this process if you are just upgrading.
require_once MENUDIR . 'index.php';
example:
>>45 require_once MENUDIR . 'index.php';
>>46 // $result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
5. CHMOD menuitems.js, panelmenuitems.js, dhtmlmenu/temp folder, and dhtmlmenu/images to 777.
6. Infuse the DHTML Menu.
To avoid losing your original settings, open a new window and access the DHTML Menu Admin Panel. After infusing, you can
click the Save Configuration button to save your previous settings.
7. Open the DHTML Menu Editor from the Admin Infusions Page.
You should now be able to add/delete/modify some menu items.
8. Check your website if it works fine to your taste.
Modify it to suit your taste. Images should be placed in the
dhtmlmenu/images folder or modify the whole infusion as you wish.
9. When done configuring your menu and you are satisfied with the results,
Clean out the old navigation system and enjoy!
10. Cheers
Robie wszystko zgodnie z instalacją a wywala mi błąd ten co na górze.