Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Extenision for DatsoGallery
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Extenision for DatsoGallery

Extenision for DatsoGallery 17 years, 12 months ago #1004

  • bigus
OK. Made something this

<?


if (!defined('_VALID_MOS')) die('Direct Access to this location is not allowed.');


extract($vars);

$title=array();




if(isset($catid)){
$database->setQuery("SELECT name
FROM #__datsogallery_catg
WHERE cid = '$catid'" );
$catname = $database->loadResult();



$title[] = $catname;
unset($vars['catid']);
}

if(isset($id)){



$database->setQuery("SELECT imgtitle
FROM #__datsogallery WHERE id = '$id' " );
$imgname = $database->loadResult();

$title[] = $imgname;
unset($vars['id']);
}


if (count($title) > 0) {
$string = sef_404::sefGetLocation($string, $title, $task, (isset($limit) ? @$limit : null), (isset($limitstart) ? @$limitstart : null), (isset($lang) ? @$lang : null));
}
this work fine for catname and imgtitle
but how to get number pages for categories ??

and this

www.site.com/index.php?option=com_datsog...;amp;func=userpannel
get this
www.site.com/userpannel

?>

Please help me<br><br>Post edited by: bigus, at: 2006/12/03 22:07
  • Page:
  • 1
User Login Empty