aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Categories.php
Commit message (Collapse)AuthorAgeFilesLines
* pdl editor for addon iitial commitMario2023-01-041-1/+1
|
* Fix Category widget URLsHarald Eilertsen2022-11-261-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The category widget template expects a URL without any query params, as it appends `/?cat=<selected category>` to the base URL passed to it. The Widget code tried to preserve any query param passed to it except for the `cat` query param. When passed to the template, this caused the invalid URLs to be generated. Example input url: https://example.com/channel/user?f=&tag=pasta The URL generated for the "Dinner" category would then be: https://example.com/channel/user&tag=pasta&tag=pasta/?cat=Dinner Which is troublesome in more than one way, and cause at least some search bots to go wild by sending requests with increasingly long URLs. This patch will simply discard the existing query params in the URL, so with the same input url, the generated URL for the "Dinner" category will now be: https://example.com/channel/user/?cat=Dinner This is comparable to what the Category Cloud and Tag Cloud widgets already do.
* fix php warningsMario Vavti2022-10-181-1/+1
|
* categories widgets cleanupMario2022-05-241-23/+9
|
* remove deprecated widgets and add some more widget descriptionsMario2022-02-211-0/+6
|
* merge branch files_ng into devMario2020-12-141-2/+6
|
* fix category widget when using articleszotlabs2019-05-311-2/+1
|
* move cards from features to appsMario Vavti2018-09-101-5/+8
|
* article featurezotlabs2017-11-221-1/+9
|
* fix card category widget links when a specific card is openedzotlabs2017-08-271-1/+1
|
* typozotlabs2017-08-231-1/+1
|
* cards featurezotlabs2017-08-231-2/+11
|
* the rest of the standard widgets convertedzotlabs2017-03-161-0/+1
|
* more widget migrationszotlabs2017-03-151-0/+22