mirror of
https://github.com/processwire/processwire.git
synced 2025-08-19 21:11:43 +02:00
Refactoring of the PagesEditor class, primarily addition of a new PagesNames class for handling page names, duplicate names, untitled pages, incrementing page names, etc.
This commit is contained in:
@@ -806,6 +806,16 @@ $config->pageNameCharset = 'ascii';
|
||||
*/
|
||||
$config->pageNameWhitelist = '-_.abcdefghijklmnopqrstuvwxyz0123456789æåäßöüđжхцчшщюяàáâèéëêěìíïîõòóôøùúûůñçčćďĺľńňŕřšťýžабвгдеёзийклмнопрстуфыэęąśłżź';
|
||||
|
||||
/**
|
||||
* Name to use for untitled pages
|
||||
*
|
||||
* When page has this name, the name will be changed automatically (to a field like title) when it is possible to do so.
|
||||
*
|
||||
* @var string
|
||||
*
|
||||
*/
|
||||
$config->pageNameUntitled = "untitled";
|
||||
|
||||
/**
|
||||
* Maximum paginations
|
||||
*
|
||||
|
Reference in New Issue
Block a user