Commit Graph

1491 Commits

Author SHA1 Message Date
Hakim Zulkufli e66834b5a6 A new function is created to achieve this, Text::truncate
which is based on Text::cut from the text.class.php helper.

Limit is set to 60 characters.

Example A:

Content has over 60 characters.
Title = First 60 characters + remaining characters of the last word + '...'
Example B:

Content has less than or equal to 60 characters
Title = All.
Example C:

Content only has one word but is over 60 characters.
Title = First 60 characters + '...'
Why B and C differ from each other?
Because we do not want the whole that one weird word
with over 60 characters to make its way to the title.
It's probably unrealistic, the code can be much cleaner
with B and C combined.

Feel free to discuss.
2017-08-06 22:17:34 +08:00
Diego Najar dd06fb5a8a Tinymce n 2017-08-06 00:52:00 +02:00
Diego Najar 4b2ea853b8 Update description on plugins and lenguages files 2017-08-05 13:50:06 +02:00
Diego Najar 8362972b4f tinymce cloud, version plugin 2017-08-03 23:28:32 +02:00
Diego Najar 05c67fc473 Regex Rel to Abs img, improves on manage content 2017-08-02 01:11:57 +02:00
Diego Najar 3111c11ca3 plugins position 2017-07-30 23:15:33 +02:00
Diego Najar e1866d05d5 bug fixes, improves on paginator, admin url filter 2017-07-30 14:25:16 +02:00
Diego Najar efe9b742c7 bug fixes 2017-07-29 21:03:18 +02:00
Diego Najar 139dfee1ec bug fixes on webhooks 2017-07-29 01:33:30 +02:00
Diego Najar 21fafa9082 bug fixes on webhooks 2017-07-29 01:20:47 +02:00
Diego Najar fdca541194 logos 2017-07-29 00:41:50 +02:00
Diego Najar b785c761cd logos 2017-07-29 00:37:23 +02:00
Diego Najar 258e7304ab bug fixes 2017-07-29 00:08:19 +02:00
Diego Najar 2f31752fa8 remove title if empty 2017-07-28 20:52:04 +02:00
Diego Najar 32e453dd06 http code and message for http response 2017-07-28 19:37:06 +02:00
Diego Najar 7f14b15489 Fixed #447 2017-07-26 21:00:20 +02:00
Diego Najar b7c2a9016d Fixed #450 2017-07-26 20:56:22 +02:00
Diego Najar bd1cef2741 New micro theme, fixed response code for 404 2017-07-26 01:17:13 +02:00
Diego Najar 2cbf6c5750 Updating themes 2017-07-23 23:31:39 +02:00
Diego Najar c4aba5a3f3 Themes Docs update Rainbow Highlight 2017-07-23 17:19:46 +02:00
Diego Najar ae2cf1ba4e Themes Docs update Rainbow Highlight 2017-07-23 17:09:02 +02:00
Diego Najar 560f571bc3 Themes Docs for documentation pages and fixed parents 2017-07-23 17:02:06 +02:00
Diego Najar cfcdbceed7 css 2017-07-23 01:06:10 +02:00
Diego Najar 1020966179 Parents by key 2017-07-23 00:38:05 +02:00
Diego Najar 219bee0b5f Parents by key 2017-07-23 00:25:20 +02:00
Diego Najar df30ff1812 Kernel panic theme updated 2017-07-22 20:06:19 +02:00
Diego fde3db2aba Font Awesome updated 2017-07-22 14:21:13 +02:00
Diego b7bb0449b9 API improves 2017-07-19 22:50:08 +02:00
Diego 48a4077ebb Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2 2017-07-19 21:58:44 +02:00
Diego 24b6c23e62 removing posts 2017-07-17 20:03:28 +02:00
Diego Najar 5168d05e4b Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2 2017-07-16 20:10:40 +02:00
Diego Najar bfe3817ae2 Login and Security improves 2017-07-16 20:10:19 +02:00
Diego Najar 3934058b70 Merge pull request #446 from clickwork-git/bluditv2
Update de_CH.json
2017-07-16 01:29:52 +02:00
Diego Najar 76b0ab59a4 Login and Security improves 2017-07-16 01:23:34 +02:00
Diego Najar 7f8e012486 Login and Security improves 2017-07-16 00:42:37 +02:00
Diego Najar 0be75f22c4 Fixed installer, kernel panic theme, fixed content pages 2017-07-15 21:28:54 +02:00
Diego Najar cb0ddf9069 Fixed installer, kernel panic theme, fixed content pages 2017-07-15 15:47:37 +02:00
Diego Najar 0676b0b768 fixed ajax calls 2017-07-13 22:39:04 +02:00
Diego Najar 7d196f8e16 minor changes 2017-07-13 20:06:39 +02:00
Diego Najar 0884a98649 jquery and font awasome for developers 2017-07-13 00:44:39 +02:00
Diego Najar c3271298eb homepage, twitter card, improves 2017-07-11 23:53:53 +02:00
Diego Najar 325d6f79d5 page parents 2017-07-10 23:42:40 +02:00
Diego Najar 6e7613b181 page parents 2017-07-10 23:40:46 +02:00
Edi 3878e1ac25 Update de_CH.json 2017-07-10 23:06:02 +02:00
Edi 95b17be31c Update de_CH.json 2017-07-10 22:58:04 +02:00
Edi 5af87f14ad Merge pull request #2 from dignajar/bluditv2
Bluditv2
2017-07-10 22:52:39 +02:00
Diego Najar e858f15f47 theme for docs 2017-07-09 22:59:54 +02:00
Diego Najar 549af03c1d new theme kernel panic 2017-07-09 22:04:00 +02:00
Diego Najar b5a1cf7eca new logo 2017-07-08 16:59:14 +02:00
Diego Najar 45899d4853 new logo 2017-07-08 15:53:47 +02:00