X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2Fmd%2FVarious-hacks.md;fp=doc%2Fmd%2FDatastore-hacks.md;h=a4ae81f41d54f8e0823878f265748275b094b79a;hb=460ce50115e5f5a1183c3c410fd76636ee5c4716;hp=78baa005eabef2d0b883cc6dc097820ef484b69e;hpb=53ed6d7d1e678d7486337ce67a2f17b30bac21ac;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/md/Datastore-hacks.md b/doc/md/Various-hacks.md similarity index 65% rename from doc/md/Datastore-hacks.md rename to doc/md/Various-hacks.md index 78baa005..a4ae81f4 100644 --- a/doc/md/Datastore-hacks.md +++ b/doc/md/Various-hacks.md @@ -17,9 +17,17 @@ Alternatively, you can transform to JSON format (and pretty-print if you have `j php -r 'print(json_encode(unserialize(gzinflate(base64_decode(preg_replace("!.*/\* (.+) \*/.*!", "$1", file_get_contents("data/datastore.php")))))));' | jq . ``` -### Changing the timestamp for a link +### Changing the timestamp for a shaare * Look for `` in `tpl/editlink.tpl` (line 14) * Replace `type="hidden"` with `type="text"` from this line * A new date/time field becomes available in the edit/new link dialog. * You can set the timestamp manually by entering it in the format `YYYMMDD_HHMMS`. + + +### See also + + * [Add a new custom field to shaares (example patch)](https://gist.github.com/nodiscc/8b0194921f059d7b9ad89a581ecd482c) + * [Download CSS styles for shaarlis listed in an opml file](https://gist.github.com/nodiscc/dede231c92cab22c3ad2cc24d5035012) + * [Copy an existing Shaarli installation over SSH, and serve it locally](https://gist.github.com/nodiscc/ed161c66e5b028b5299b0a3733d01c77) + * [Create multiple Shaarli instances, generate an HTML index of them](https://gist.github.com/nodiscc/52e711cda3bc47717c16065231cf6b20) \ No newline at end of file