Home arrow Forum

Remository Forum

 


<< Start < Previous 1 2 Next > End >>
baijianpeng

Karma: 4  
plugin for Joomap - 2006/11/02 15:19 I noticed that the authors had released a plugin for Google Sitemap Generator to enhance SEO for Glossary.

But now the most popular sitemap component in Joomla world is Joomap.

Strongly recommend to develope another SEO plugin for Joomap.

Thank you !
http://www.joomlagate.com

Chinese Joomla! Users' Portal
  | | Sorry, you do not currently have permission to write here.
slako

Karma: 1  
Re:plugin for Joomap - 2007/03/14 09:22 I've done a simple remo plugin for Joomap.
It will show only list of published remo categories (remo category window title is used as category name in map).

Code:

 <?php     /************************************     **  Remository plugin for Joomap  **     **   Author: slako            **     **  Homepage: www.eighth-sky.net          **     **  version: 1.0.0          **     ************************************/     defined'_VALID_MOS' ) or die( 'Restricted access.' );     $tmp = new Joomap_Remository;     JoomapPlugins::addPlugin$tmp );     class Joomap_Remository {     function isOfType( &$joomla, &$parent ) {     if( strpos($parent->link'option=com_remository') ) {     return true;     }     return false;     }     function &getTree( &$joomap, &$parent ) {     global $database;     $list = array();     $database->setQuery("select id, windowtitle from #__downloads_containers where published = '1' and groupid = '0' order  by windowtitle"«»);     $cats $database->loadObjectList();     foreach($cats as $cat) {     $node = new stdclass;     $node->id   $parent->id;     $node->name $cat->windowtitle;     $node->link $parent->link.'&Itemid='.$parent->id.'&func=select&id='.$cat->id;     $node->tree = array();     $list[$cat->id] = $node;     }     return $list;     }     } ?>


save this code as remository.plugin.php and put to joomla_dir/administrator/components/com_joomap/plugins/
I think it is better then nothing.

Post edited by: slako, at: 2007/03/14 09:24
  | | Sorry, you do not currently have permission to write here.
baijianpeng

Karma: 4  
Re:plugin for Joomap - 2007/03/14 10:29 Ok, I will try it. Wish it can work well.

Thank you !
http://www.joomlagate.com

Chinese Joomla! Users' Portal
  | | Sorry, you do not currently have permission to write here.
aravot

Karma: 0  
Re:plugin for Joomap - 2007/04/25 19:48 Baijianpeng, did it work?
  | | Sorry, you do not currently have permission to write here.
baijianpeng

Karma: 4  
Re:plugin for Joomap - 2007/04/26 00:11 Sorry, I am not sure. Because I had given up using this component since it can't support Chinese language characters.

Though it is possible to sort Chinese characters alphabetically but it is almost impossible for a programmer who did not know Chinese to add this feature.
http://www.joomlagate.com

Chinese Joomla! Users' Portal
  | | Sorry, you do not currently have permission to write here.
emeyer

Karma: 0  
Re:plugin for Joomap - 2009/04/25 18:08 HI, this worked for me. I will look at extending it to include files in the containers. http://heavensonearth.com
  | | Sorry, you do not currently have permission to write here.
<< Start < Previous 1 2 Next > End >>

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 7 guest online