Menu Content

Support

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

Profile for metin

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 22:44
  • Posts: 3
  • Profile Views: 2095
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
have u fixed this problem?
if the international characters problem was solved, i will buy that extension.

please advice.
sobi2 url extension
Category: JoomSEF 3
emo
here is the just publieshed Sobi2 SEF extension for Artio JoomSef.
its alpha version, i have just installed but i have not test everything yet. it's working.
extensions.joomla.org/component/option,c...k_id,1847/Itemid,35/

...
i cant make like this;
www.adanabul.com/firma-rehberi/index.php

its automaticly;
adanabul.com/sobi2.html
<br><br>Post edited by: metin, at: 2007/02/23 18:49
Sobi2 and Free Artio ...
Category: JoomSEF 3
emo
Hello All,
i tried to make new sef file for Sobi Yellow Pages, but it does not work, could you check codes please?
i also based on example sef file.

the file named as com_sobi.php and uploaded com_sef/sef_ext

non sef category url:
index.php?option=com_sobi&amp;catid=89&amp;Itemid=34

non sef items url
index.php?option=com_sobi&amp;task=details&amp;catid=62&amp;id=161&amp;Itemid=34

row name for categories on database : categoryname
row name for items on database: name

 
&lt;?php
[size=4]/**
* SEF module for Joomla!
* Originally written for Mambo as 404SEF by W. H. Welch.
*
* This is an example file demonstrating how to write own extensions for Artio JoomSEF.
*
* @author $Author: michal $
* @copyright ARTIO s.r.o., http://www.artio.cz
* @package JoomSEF
* @version $Name$, ($Revision: 4994 $, $Date: 2005-11-03 20:50:05 +0100 (??t, 03 XI 2005) $)
*/

 
// Security check to ensure this file is being included by a parent file.
if (!defined('_VALID_MOS')) die('Direct Access to this location is not allowed.');
 
/**
* Note 1: This file shoud be named as com_YOUR-COMPONENT-NAME.php in order to work correctly.
*/

 
/**
* Use this to get variables from the original Joomla! URL, such as $task, $page, $id, $catID, ...
*/

extract($vars);
 
/**
* Now compose your SEF path.
* Store the path parts in an array. Further named $fields in this example.
*
* To compose the path, you will probably need to call your module funcitons (methods) or connect
* to the tables used by your module.
*/

 
// This example loads category title from Joomlaboard forum (in case $catid is defined after export call).
if (isset($catid)) {
$query = &quot;
SELECT `categoryname`
FROM `#__$message_cat_table_suffix`
WHERE `id` = $catid
&quot;;
$database-&gt;setQuery($query);
$catTitle = $database-&gt;loadResult();
}
 
// Now category title loaded from DB is added as the first part of the future SEF path.
if (!empty($categoryname)) {
$title[] = $categoryname;
// Unset the original URL variable not to interfere anymore.
unset($vars['catid']);
}
 
// This example loads message title from Joomlaboard forum (in case $id is defined after export call).
if (isset($id)) {
$query = &quot;
SELECT `name`
FROM `#__$message_table_suffix`
WHERE `id` = $id
&quot;;
$database-&gt;setQuery($query);
$msgTitle = $database-&gt;loadResult();
}
 
// Now message title read from DB is added as the next part of the SEF path.
if (!empty($name)) {
$title[] = $name;
// Unset the original URL variable not to interfere anymore.
unset($vars['id']);
}
 
// ... further parts may be added here ... //
 
/**
* Finally, at the end of this file, call JoomSEF::«»sefGetLocation method to generate and store resulting URL.
*
* $string - original URL which comes automatically (do not change this)
* $title - your SEF path (array of single parts)
* $task - if not empty (null), the task string will be appended to resulting SEF URL,
* e.g. if task=read, the result URL will be your/parts/read(suffix)
*/

if (count($title) &gt; 0) {
$string = JoomSEF::«»sefGetLocation($string, $title, $task, (isset($limit) ? @$limit : null), (isset($limitstart) ? @$limitstart : null), (isset($lang) ? @$lang : null));
}
 
/**
* And that is all folks!
*/

?&gt;[/size]
 
<br><br>Post edited by: metin, at: 2006/09/28 16:15
how to develop an ex ...
Category: JoomSEF 3
More
User Login Empty