mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Fix for SEF URL regeneration
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
@@ -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
|
||||
);
|
||||
|
@@ -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
|
||||
);
|
||||
|
@@ -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
|
||||
);
|
||||
|
Reference in New Issue
Block a user