Archive contains:
47be05ed8f2d8e53b40c9131766d5cbb2a026b47 - Plugin directory
- magenet.php - Plugin file
- index.php - Directory index file
- readme.txt - Instructions file (this file)
Install instructions
1. Unpack archive
2. Copy into site root directory (Example: /home/user/site.com/47be05ed8f2d8e53b40c9131766d5cbb2a026b47)
3. Change plugin directory mod to 777 (Example: chmod 0777 47be05ed8f2d8e53b40c9131766d5cbb2a026b47)
4. Copy below code and past to top of php-file
<?php
define('_MN_USER', '47be05ed8f2d8e53b40c9131766d5cbb2a026b47');
require_once($_SERVER['DOCUMENT_ROOT'] . '/' . _MN_USER . '/' . 'magenet.php');
$magenet = new Magenet();
?>
5. Copy below code and past to needed part of php-file
<?php
echo $magenet->getLinks($n);
?>
6. $n - number links to show (Example:
echo $magenet->getLinks(1); // one after menu
echo $magenet->getLinks(2); // two after content
echo $magenet->getLinks(); // all other to footer
Warning: last call of functions without parametrs
)