diff --git a/e107_core/url/news/sef_full_url.php b/e107_core/url/news/sef_full_url.php index 646abcd04..b5976d3d1 100644 --- a/e107_core/url/news/sef_full_url.php +++ b/e107_core/url/news/sef_full_url.php @@ -60,9 +60,9 @@ class core_news_sef_full_url extends eUrlConfig 'name' => LAN_EURL_CORE_NEWS, // Module name 'label' => LAN_EURL_NEWS_REWRITEF_LABEL, // Current profile name 'description' => LAN_EURL_NEWS_REWRITEF_DESCR, // - 'examples' => array("{SITEURL}news/news-category/news-title","{SITEURL}news/category/new-category") + 'examples' => array("{SITEURL}news/news-category/news-title","{SITEURL}news/category/news-category") ), - + 'generate' => array('table'=> 'news', 'primary'=>'news_id', 'input'=>'news_title', 'output'=>'news_sef'), 'form' => array(), // Under construction - additional configuration options 'callbacks' => array(), // Under construction - could be used for e.g. URL generator functionallity ); diff --git a/e107_core/url/news/sef_noid_url.php b/e107_core/url/news/sef_noid_url.php index 2c4922012..feb7ffe84 100644 --- a/e107_core/url/news/sef_noid_url.php +++ b/e107_core/url/news/sef_noid_url.php @@ -246,6 +246,7 @@ class core_news_sef_noid_url extends eUrlConfig 'description' => LAN_EURL_NEWS_REWRITE_DESCR, // 'examples' => array("{SITEURL}news/news-title") ), + 'generate' => array('table'=> 'news', 'primary'=>'news_id', 'input'=>'news_title', 'output'=>'news_sef'), 'form' => array(), // Under construction - additional configuration options 'callbacks' => array(), // Under construction - could be used for e.g. URL generator functionallity ); diff --git a/e107_core/url/news/url.php b/e107_core/url/news/url.php index 0ac32ee9a..60d09ec21 100644 --- a/e107_core/url/news/url.php +++ b/e107_core/url/news/url.php @@ -185,6 +185,7 @@ class core_news_url extends eUrlConfig 'description' => LAN_EURL_LEGACY, // 'examples' => array("{SITEURL}news.php?extend.1") ), + // 'generate' => array('table'=> 'news', 'primary'=>'news_id', 'input'=>'news_title', 'output'=>'news_sef'), 'form' => array(), // Under construction - additional configuration options 'callbacks' => array(), // Under construction - could be used for e.g. URL generator functionallity ); diff --git a/e107_core/url/page/sef_noid_url.php b/e107_core/url/page/sef_noid_url.php index bcb030321..a52f76684 100644 --- a/e107_core/url/page/sef_noid_url.php +++ b/e107_core/url/page/sef_noid_url.php @@ -55,6 +55,7 @@ class core_page_sef_noid_url extends eUrlConfig 'description' => LAN_EURL_PAGE_SEFNOID_DESCR, // 'examples' => array("{SITEURL}page/page-title") ), + 'generate' => array('table'=> 'page', 'primary'=>'page_id', 'input'=>'page_title', 'output'=>'page_sef'), 'form' => array(), // Under construction - additional configuration options 'callbacks' => array(), // Under construction - could be used for e.g. URL generator functionallity );