Report - or custom solution for issues with splash layout #5116
Unanswered
Jimmi08
asked this question in
Q&A Themes
Replies: 1 comment 1 reply
-
I saw what you made..... WOW! the user.php is wonderfull you should show and tell everyone!!! https://github.com/e107inc/e107/discussions/categories/show-and-tell |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related issues/questions already exist or were discussed and those are examples or information on how I solved them in version 2.3.3. Maybe it helps somebody else. It is about customization, core is working as it should.
This topis is about splash layout, not page template itself.
Splash layout should be set for Auth pages - login, signup, forgotten password. Name is from bootstrap5 theme.
My tested layout should look like this:
1. Use login.php as standalone page
add before theme class in theme.php
e_theme::initThemeLayout(); // set THEME_LAYOUT - 1.part
add in construct() not in init() like before this:
2. load javascript files in footer
add in theme.php (not in e107_config.php)
define('e_DEBUG_JS_FOOTER', true); //render jquery in footer
load all theme javascript with footer parameter
e107::js('footer', THEME . 'assets/js/custom.js', 'jquery');
3. use images in layout
supported
{THEME}
shortcode , not needed custom shortcode in theme_shortcodes anymore. Available from e107 2.3.3.4. fix caption for login page
it has sitename value by default
in theme_shortcodes.php
5. fix breadcrumb value for login page
6. fix breadcrumb look
It looks like this by default and you can't change HTML markup of breadcrumb or its content in theme (that home icon)
added custom javascript file:
e107::js('footer', THEME . 'custom.js', 'jquery');
class inner-banner is used to use this only for page top area.
replaced home icon with text:
fix for missing aria labels
changing separator
removing classes that break look
Result:
Beta Was this translation helpful? Give feedback.
All reactions