1
0
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:
Cameron
2013-12-19 22:49:02 -08:00
parent 590add3c4a
commit 146fc7d079
4 changed files with 5 additions and 2 deletions

View File

@@ -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
);

View File

@@ -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
);

View File

@@ -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
);

View File

@@ -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
);