1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Added Rebuild option for SEF Urls.

This commit is contained in:
Cameron
2013-11-22 20:46:45 -08:00
parent 20081edac9
commit 6baeb189c5
3 changed files with 103 additions and 15 deletions

View File

@@ -139,6 +139,7 @@ class core_news_sef_url extends eUrlConfig
'description' => LAN_EURL_NEWS_REWRITEX_DESCR, //
'examples' => array('{SITEURL}news/1/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

@@ -54,6 +54,7 @@ class core_page_sef_url extends eUrlConfig
'description' => LAN_EURL_PAGE_SEF_DESCR, //
'examples' => array("{SITEURL}page/1/page-name")
),
'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
);