1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

97 Commits

Author SHA1 Message Date
Cameron
766b50338f Catch missing THEME_LAYOUT constant on very old themes. 2021-02-16 12:11:05 -08:00
Cameron
523fae8582 Fixes #4384 - Footer missing when required within a function. 2021-02-15 07:22:47 -08:00
Cameron
50e0445807 Issue #3184 Issue #3912 New Feature: can now use :(e_ROUTE) to switch theme layout visibility. 2021-02-14 10:36:45 -08:00
Cameron
a448c00a1d Fixes #4382 - Init theme shortcodes later. 2021-02-14 08:14:57 -08:00
Cameron
b0300f93bf Changed load order of Menus and Theme Layout detection. 2021-02-13 18:55:44 -08:00
Cameron
46cb21b025 Meta admin page now uses Admin-ui. Additional custom tag areas added. 2021-01-26 11:59:49 -08:00
Cameron
1479e9ba59 Testing of loading all javascript in the footer. Add the following to e107_config.php to test: define('e_DEBUG_JS_FOOTER', true); 2021-01-25 13:23:28 -08:00
Cameron
f055b49d91 PHP8 Plugin code cleanup 2021-01-21 09:38:38 -08:00
Cameron
b19f9ffbc3 Frontend scripts tests. (may break some things) 2021-01-19 18:52:56 -08:00
Cameron
f97dd307af Issue #4350 theme.php class must now use init() and tablestyle() (not __construct() ) 2021-01-17 07:27:28 -08:00
Cameron
692b8c8538 Prevent headers in CLI mode. 2021-01-16 10:02:52 -08:00
Cameron
78b0079a03 Theme Preview working again. Use ?themepreview=themeDir 2021-01-01 14:05:51 -08:00
Cameron
630f3f415f Improved detection of deprecated functions/methods and display in DEBUG mode: deprecated. 2020-12-21 10:00:28 -08:00
Cameron
bdb4104f9c Moved parseheader() to e107 class as renderLayout() Added test. 2020-12-20 13:25:03 -08:00
Cameron
601df26d51 Code optimization for speed and reduced memory usage. 2020-12-20 11:50:10 -08:00
Cameron
7229aa6c50 Preparations for WebP conversions. e107::title() added to eventually replace defining e_PAGETITLE. 2020-12-08 18:15:08 -08:00
Cameron
3a78603ebd Header now loads link tags sooner. (excluding css)
Clear js/css/browser/library cache automatically after git update.
2020-12-03 11:00:53 -08:00
Cameron
6fd582655a Defer header javascripts to footer when js/css caching is enabled. 2020-12-02 20:15:13 -08:00
Cameron
5a7e382efb Fixes #4272 - fixed JS file loading order so that inline code is run after cached scripts. 2020-11-30 11:26:09 -08:00
Cameron
8c254bccd6 Issue #4146 - Fixed user profile navigation (next/prev) for legacy, bootstrap3 and bootstrap4 themes.
Closes #4021 - Added support for independent core templates for legacy, bootstrap3 and bootstrap4 templates.
2020-05-08 14:34:34 -07:00
Cameron
0f2ab37d47 Backward compatibility fixes. 2020-05-06 16:15:52 -07:00
Moc
715d8dde60
Tweak developer mode check and message 2020-05-04 21:22:13 +02:00
Cameron
ad7caf78e8 Fix for theme render test. Disabled debug routines when inactive. Bootstrap3 moved modal to footer. Code cleanup. 2020-05-04 12:10:22 -07:00
Moc
7ffad1f4d2
Check for developer mode
Adds warning for ADMIN when developer mode is enabled, but when user is not on localhost (indicating developing).
2020-05-03 17:43:50 +02:00
Cameron
834ea354e4 Core Cleanup. 2020-05-02 15:35:30 -07:00
Cameron
568d8feb77 Closes #4141 - Upgraded theme specification for v2.3.0+. See bootstrap3/theme.php for details. Use 'theme' class. 2020-04-28 14:03:05 -07:00
Cameron
326305f5f2 Removed old deprecated global $e107_debug. Cleaned up debug_handler.php (e107_debug class) 2020-04-26 13:32:18 -07:00
Cameron
1d45f1e4c4 Fixes #3932 Added support for dynamic header/footer templates controlled by theme_shortcodes class. 2019-08-22 14:28:59 -07:00
Cameron
913ac249f7 Fix for using {THEME} (ie. theme folder path) in footer part of theme layout. 2019-07-05 13:48:35 -07:00
Cameron
1cb3f934ea Isse #2308 Remove the need for the BODYTAG constant. 2019-06-21 14:09:10 -07:00
Cameron
36b4c354eb Experimental - Support for theme html templates and layouts. 2019-06-11 15:53:08 -07:00
Cameron
f148e20837 Moved library loading into class2. Fixes Fontawesome not loading early enough when added via theme.xml (with forum and possibly other parts of e107). Added the FONTAWESOME constant to Paths/Variables debug output. 2019-04-11 10:47:50 -07:00
Cameron
9c4dbcab91 Moved THEME_LAYOUT calculation out of class2.php and into theme_handler.php 2019-01-23 19:06:03 -08:00
Cameron
6367074571 Avoid possible theme conflict in uiAlert css. 2018-11-22 12:40:38 -08:00
Cameron
f958f66dcb Issue #2669 Incorrect FB og:image used. Issue #6 LAN modified. 2018-08-26 13:54:25 -07:00
Achim Ennenbach
67ced370d3 make sure backcompat.css is loaded if it's legacy or no bootstrap theme 2018-07-22 21:24:06 +02:00
Achim
1b3460cf3d
Fixes #3163 Strip the title "News" if page is the frontpage
Removes any additional title (like "News - ") when current page is the frontpage.
e.g. `<title>News - My great website</title>` will become `<title>My great website</title>` if the page is opened as frontpage (Admin -> Settings -> Frontpage)
2018-06-25 13:58:10 +02:00
Cameron
6b925a6f76 Issue #3104 - Library CSS order fix. 2018-05-11 17:39:26 -07:00
Cameron
dfb0e1bd4a Issue #2586 Forward icon issue. 2018-03-10 13:36:32 -08:00
Lóna Lore
e7f2844481 Issue #2745 - Move JS files to footer. (Tested with and without JS/CSS caching) 2017-07-25 19:20:11 +02:00
Cameron
caea384495 Fixed Meta-Tag overwrite issue. Changed eResponse to singleton. May correct problems with Facebook app-id and custom og:image. Pages possibly affected: front-page (index.php) and news, custom-page and user pages. 2017-06-05 17:49:49 -07:00
Cameron
f3f7826c95 Admin-nav and frontend keyword/meta error. PHP5.4 2017-04-02 12:09:57 -07:00
Cameron
fcbe12c5f6 PHP Notice fixes. mbstring function fallback. 2017-03-31 19:04:34 -07:00
Cameron
80fbb2a334 Meta-Tags: Issue #2544 - avoid duplication. 2017-03-31 15:49:33 -07:00
Cameron
3c65faf6e3 Downloads: #2544 download meta tags. Apple-icon fix. 2017-03-31 14:58:22 -07:00
Cameron
3005e0bd8f Fixes #2517 - support for the style_custom.css file in theme folder which is auto-loaded after style.css. 2017-03-25 13:01:50 -07:00
Cameron
3ebfaaf3f1 The site's HTML tag may now be customized by defining "HTMLTAG" inside the theme.php file. (similar to "BODYTAG") 2017-03-07 10:28:05 -08:00
Lóna Lore
53a7fb2fc9 Ability to use theme.xml to define library dependencies. 2017-03-02 20:55:31 +01:00
Cameron
d2312dd5cc Remove unused files. 2017-01-27 18:30:46 -08:00
Cameron
28de9f2be1 Fixes #2270: Usersettings : Custom User Fields on Legacy themes.
Fixes #2165: Country field added (doesn't required database)
Fixes #1297: Extended fields failing
2017-01-23 17:54:43 -08:00