Project

General

Profile

Actions

Feature #14536

closed

Configurable word sep char for SimulateStaticDocuments

Added by Georg Rehfeld almost 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-02-07
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

There was a request to make the underscore used by SimulateStaticDocuments for separation configurable. Especially changing it to a dash will make Google recognize it as a word separation character. Also multiple consecutive occurrences should be reduced to just one, optionally.

The patch provided introduces 2 new TS config values:
config.simulateStaticDocuments_substChar, string, 'The character to use for substitution of non alphanumeric characters. Be carefully with this to not mess up generated urls, the char is used unchecked, just as is. Default: _ (underscore)'
config.simulateStaticDocuments_substConsecutive, boolean, 'Wether multiple consecutive occurrences of the substitution character should be reduced to just one. Default: false'

The patch is under test on one site and seems to work there.

See request thread at http://typo3.org/documentation/mailing-lists/dev-list-archive/thread/110108464/?tx_maillisttofaq_pi1%5Bmode%5D=1
(issue imported from #M759)


Files

0000759-class.tslib_fe.php.diff (1.19 KB) 0000759-class.tslib_fe.php.diff Administrator Admin, 2005-02-07 21:48
0000759-class.tslib_fe.php.diff (1.19 KB) 0000759-class.tslib_fe.php.diff Administrator Admin, 2005-02-08 06:16
Actions

Also available in: Atom PDF