PEAK XOOPS - Re: sitemap and smartsection in englishin japanese

Re: sitemap and smartsection

List posts in the topic

question Re: sitemap and smartsection

msg# 1.1.1.1.1
depth:
4
Previous post - Next post | Parent - Children.1 | Posted on 2005/3/24 8:03
noisia  一等兵 From: Kobe, Japan  Posts: 13
Hi Karedokx,

It works great.

Actually I had a look at the code and it is not so difficult to modify.

I am using another module "booklists", which is based on mylinks, so I adapted that one to sitemap as well:

Create a file booklists.php
<?php
// $Id: booklists.php,v 1.2 2005/01/14 18:54:37 Ryuji Exp $
// FILE		::	booklists.php
// AUTHOR	::	Ryuji AMANO <info@ryus.biz>
// WEB		::	Ryu's Planning <http://ryus.biz/>
//

function b_sitemap_booklists(){
	$xoopsDB =& Database::getInstance();

    $block = sitemap_get_categoires_map($xoopsDB->prefix("mybooks_cat"), "cid", "pid", "title", "viewcat.php?cid=", "title");
    //$block["path"] = "viewcat.php?cid=";

	return $block;
}
?>
Votes:1 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!