cocodrilo
01-09-2012, 11:21 PM
Hello, I've finished a tag cloud for Subdreamer (currently beta). I share it with others in case someone wants to use it.
Download (http://www.sendspace.com/file/p0teog)
Installation notes:
This plugin collects the tags based on searches of your site, for this reason requires the Search engine plugin installed in your site.
Step 1: Install as normal, with the subdreamer admin panel.
Step 2:
Open file plugins/search_engine/search_engine.php (make a bakup first please).
You can see:
<?php
if(!defined('IN_PRGM'))
Change to:
<?php
include("plugins/tag_cloud/tagCloud.php");
if(!defined('IN_PRGM'))
Change: class SearchEngine TO: class SearchEngine extends tagCloud
Change: function DisplayResults() TO: protected function DisplayResults()
Installation is complete.
¿how to change css in tags?
In admin panel go to the section skins and edit tag_cloud rule to change the default css.
¿how to change layout style?
In the plugin options (admin panel) change the default.php to your desired file.
Variables you can use in this file:
$this->tag_list = array list of tags/times searched. see the default php as example.
$this->total_tags = total tags in the database.
$this->settings = plugin settings.
http://img441.imageshack.us/img441/6734/screenshot2zq.png
Download (http://www.sendspace.com/file/p0teog)
Installation notes:
This plugin collects the tags based on searches of your site, for this reason requires the Search engine plugin installed in your site.
Step 1: Install as normal, with the subdreamer admin panel.
Step 2:
Open file plugins/search_engine/search_engine.php (make a bakup first please).
You can see:
<?php
if(!defined('IN_PRGM'))
Change to:
<?php
include("plugins/tag_cloud/tagCloud.php");
if(!defined('IN_PRGM'))
Change: class SearchEngine TO: class SearchEngine extends tagCloud
Change: function DisplayResults() TO: protected function DisplayResults()
Installation is complete.
¿how to change css in tags?
In admin panel go to the section skins and edit tag_cloud rule to change the default css.
¿how to change layout style?
In the plugin options (admin panel) change the default.php to your desired file.
Variables you can use in this file:
$this->tag_list = array list of tags/times searched. see the default php as example.
$this->total_tags = total tags in the database.
$this->settings = plugin settings.
http://img441.imageshack.us/img441/6734/screenshot2zq.png