Commit Graph

34 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
3111c11ca3 plugins position 2017-07-30 23:15:33 +02:00
Diego Najar
32e453dd06 http code and message for http response 2017-07-28 19:37:06 +02:00
Diego Najar
bd1cef2741 New micro theme, fixed response code for 404 2017-07-26 01:17:13 +02:00
Diego Najar
cb0ddf9069 Fixed installer, kernel panic theme, fixed content pages 2017-07-15 15:47:37 +02:00
Diego Najar
6e7613b181 page parents 2017-07-10 23:40:46 +02:00
Diego Najar
1c0038bc55 Climode and user db improved 2017-07-06 23:27:22 +02:00
Diego Najar
168483f771 Pages parents fixed 2017-07-05 22:55:03 +02:00
Diego Najar
556e5a2f73 Climode rescan 2017-07-05 19:59:51 +02:00
Diego Najar
9d865eb6ce bug fixes 2017-06-25 22:54:59 +02:00
Diego Najar
304a57beca bug fixes 2017-06-23 00:41:00 +02:00
Diego Najar
1f5dd3ac99 Bug fixes, developer area, google plugin updated, rss and sitemap updated 2017-06-22 00:21:08 +02:00
Diego Najar
19d6ab347b Fixed pages plugin 2017-06-20 23:56:22 +02:00
Diego Najar
ca9d1d81b9 Improves on plugins, post method, improves on database for plugins, css styling 2017-06-18 22:44:07 +02:00
Diego Najar
85f863f586 Absolute url on themes 2017-05-30 20:28:55 +02:00
Diego Najar
1f65933c04 new theme and paginator improves 2017-05-24 00:48:29 +02:00
Diego Najar
da6e352ca5 Improves on code, working on themes; helpers.. 2017-05-21 22:01:44 +02:00
Diego Najar
63fe327fe4 Categories++ 2017-05-17 00:04:53 +02:00
Diego Najar
95e6500993 Remove posts 2017-05-16 00:46:20 +02:00
Diego
5145694752 removing posts 2017-05-10 20:40:28 +02:00
Diego Najar
22898c5c6c removing posts 2017-05-09 00:24:15 +02:00
Diego Najar
16daff6abd improves on dbpages 2017-05-08 22:20:53 +02:00
Diego Najar
2a47beeae4 minor changes 2017-05-08 22:01:16 +02:00
Diego Najar
d3d19f5109 improves on dbpages 2017-05-08 21:26:06 +02:00
Diego
a28a02164c UUID for posts and pages 2017-04-26 21:26:17 +02:00
Diego
19ef56301e Bug fixes 2017-04-26 18:56:10 +02:00
Diego
1ac65fe343 Category feature 2017-04-17 12:49:03 +02:00
Diego Najar
a5af1ec827 Merge pull request #314 from janxb/patch-1
Fixed PHP notice after installation and javascript translations
2016-07-29 00:54:38 +02:00
dignajar
44274331d8 Bug fixes, index.md compatibility 2016-07-25 20:40:51 -03:00
janxb
21f76faba3 fixed php notice after installation 2016-07-25 16:56:43 +02:00
dignajar
d3cc0f8e48 Cli mode updates, filename for posts and pages 2016-07-16 20:19:10 -03:00
dignajar
9827b18b43 Dashboard more responsive 2016-05-28 21:54:18 -03:00
dignajar
221ce7e6f7 Updater imrpoves 2016-01-29 13:07:29 -03:00
dignajar
e7890f4a71 changes on directories names 2016-01-20 21:29:01 -03:00