cypht-org / cypht

Cypht: Lightweight Open Source webmail aggregator [PHP, JS]. Supports IMAP/SMTP, JMAP and soon EWS
http://cypht.org
GNU Lesser General Public License v2.1
1.01k stars 163 forks source link

Themes css path incorrect in Tiki-Cypht integration #1147

Closed kroky closed 3 months ago

kroky commented 3 months ago

The link return '<link href="' . WEB_ROOT . 'modules/themes/assets/' . $theme_name . '/css/' . $theme_name . '.css?v=' . CACHE_ID . '" media="all" rel="stylesheet" type="text/css" />'; in themes/modules work in standalone cypht but not in Tiki-Cypht integration. I think we should change the way this is inserted/requested and do it through config_gen file much like site.css, etc. are generated and included. Then, Tiki-Cypht integration will be able to use the correct path to include the file.

marclaporte commented 3 months ago

Also about paths: https://gitlab.com/tikiwiki/tiki/-/merge_requests/5483

GedeonTS commented 3 months ago

Fixed by @Shadow243 in https://github.com/cypht-org/cypht/pull/1185