Will Joomla! 3.x templates continue working in Joomla! 4.x?

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
User avatar
Windwood
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Sun May 02, 2010 7:03 pm
Location: Cincinnati, Ohio
Contact:

Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by Windwood » Wed Feb 13, 2019 3:51 pm

I'm getting ready to change templates on one of my sites Joomla 3.9.3 installations. Siteground template doesn't work with PHP 7+. I have a few questions concerning what might be best template to use with Joomla 4 coming. I've currently switched to using Beez3. It's the only core template left in my install. So, before I spend a lot of time styling, I'd like to make sure I'm not wasting my time.

Where can I find a download of the standard issue templates?
Which template might be best to be ready for Joomla 4?
Does anyone know if the new Joomla 4 will have an effect on templates?

Thanks in advance,

Love this forum
Last edited by toivo on Wed Feb 13, 2019 4:00 pm, edited 1 time in total.
Reason: mod note: retitled - please read the forum rules about choosing appropriate subject line from https://forum.joomla.org/viewtopic.php?f=8&t=65

 
User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 26611
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by Per Yngve Berg » Wed Feb 13, 2019 4:51 pm

The greatest change will be the upgrade from Bootstrap 2.3.2 to version 4.

Bootstrap is not backward compatible, so templates like Protostar will not work. Get a Joomla 3 compatible Bootstrap 4 template.

https://github.com/sniggle/joomla-bootstrap4-template

https://www.joomlashack.com/blog/joomla-news/css-grid/

User avatar
DaveOzric
Joomla! Ace
Joomla! Ace
Posts: 1567
Joined: Sat May 22, 2010 10:29 pm
Contact:

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by DaveOzric » Thu Feb 14, 2019 5:55 pm

So no 3rd party templates will work with if they are using Bootstrap 3? I am trying to find out what my template needs to work with Joomla 4. My current template is Bootstrap 3 based and the developers are not updating yet. They will but will it have to be based in BS 4?

They are using BS 3 now but you indicate it's not backward compatible? So it must be BS 4 to work?

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 8698
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by sozzled » Thu Feb 14, 2019 6:04 pm

DaveOzric wrote:
Thu Feb 14, 2019 5:55 pm
So no 3rd party templates will work with [J! 4] ...?
In much the same way as

1) No J! 1.0 templates will work with J! 1.5;
2) No J! 1.5 templates will work with J! 1.6/1.7/2.5;
3) J! 2.5 templates will not work with J! 3

It is unlikely that templates developed for J! 3.x will interoperate seamlessly with J! 4.

It's not simply that the templating framework in J! 4 leverages Bootstrap 4. The codebase in J! 4 has changed from J! 3.x just as the codebase changes with each new major release of J!. Remember, too, that J! 4 is still in alpha development and the design paradigm is not yet fixed in concrete. Furthermore, it is uncertain what timeframe we're really discussing about the release of J! 4.0.0 but the indications are that it probably won't happen this calendar year. It all depends on how involved people are in designing and building as well as testing J! 4.

One certainty, without a doubt, is that J! 4 will only operate with PHP 7. If people haven't already begun to use PHP 7 now then they'll certainly have problems in the future, won't they? First things first: people need to get ahead of the game and go to PHP 7 before anything else.
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
DaveOzric
Joomla! Ace
Joomla! Ace
Posts: 1567
Joined: Sat May 22, 2010 10:29 pm
Contact:

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by DaveOzric » Thu Feb 14, 2019 6:59 pm

Let's try again, will Bootstrap 3 work with Joomla 4?

User avatar
DaveOzric
Joomla! Ace
Joomla! Ace
Posts: 1567
Joined: Sat May 22, 2010 10:29 pm
Contact:

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by DaveOzric » Fri Jan 10, 2020 2:26 pm

My template developer is not going to switch to Bootstrap 4 so my question is still will Boostrap 3 work with Joomla 4? I am not asking if the Joomla 3 template will work. I'm asking if you could develop a template using Bootstrap 3 and have it work with Joomla 4?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 26611
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by Per Yngve Berg » Sat Jan 11, 2020 12:45 pm


User avatar
DaveOzric
Joomla! Ace
Joomla! Ace
Posts: 1567
Joined: Sat May 22, 2010 10:29 pm
Contact:

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by DaveOzric » Sat Jan 11, 2020 4:49 pm

Links is dead. It's a pretty simple question and I'm pretty sure it is yes. Will a Bootstrap 3 template work on the frontend of Joomla 4.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 26611
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by Per Yngve Berg » Sat Jan 11, 2020 4:56 pm

Updated the link.

User avatar
DaveOzric
Joomla! Ace
Joomla! Ace
Posts: 1567
Joined: Sat May 22, 2010 10:29 pm
Contact:

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by DaveOzric » Sat Jan 11, 2020 4:59 pm

This really does not answer my question. I'm sure the template company knows all this. I will just assume any template that is built for Joomla 4 will work. Bootstrap 3 or 4 or otherwise.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 26611
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by Per Yngve Berg » Sat Jan 11, 2020 5:35 pm

Bootstrap 3 does not work with Joomla 3.x, unless you override all the layouts. Layouts made for 3.x will not work in 4. You can delete the overrides and use the core J4 layouts. Now you have to adjust the class names, so they are compatible with Bootstrap 4.
Bootstrap wrote:Grid system
Moved to flexbox.
Added support for flexbox in the grid mixins and predefined classes.
As part of flexbox, included support for vertical and horizontal alignment classes.
Updated grid class names and a new grid tier.
Added a new sm grid tier below 768px for more granular control. We now have xs, sm, md, lg, and xl. This also means every tier has been bumped up one level (so .col-md-6 in v3 is now .col-lg-6 in v4).
xs grid classes have been modified to not require the infix to more accurately represent that they start applying styles at min-width: 0 and not a set pixel value. Instead of .col-xs-6, it’s now .col-6. All other grid tiers require the infix (e.g., sm).
Updated grid sizes, mixins, and variables.
Grid gutters now have a Sass map so you can specify specific gutter widths at each breakpoint.
Updated grid mixins to utilize a make-col-ready prep mixin and a make-col to set the flex and max-width for individual column sizing.
Changed grid system media query breakpoints and container widths to account for new grid tier and ensure columns are evenly divisible by 12 at their max width.
Grid breakpoints and container widths are now handled via Sass maps ($grid-breakpoints and $container-max-widths) instead of a handful of separate variables. These replace the @screen-* variables entirely and allow you to fully customize the grid tiers.
Media queries have also changed. Instead of repeating our media query declarations with the same value each time, we now have @include media-breakpoint-up/down/only. Now, instead of writing @media (min-width: @screen-sm-min) { ... }, you can write @include media-breakpoint-up(sm) { ... }.

User avatar
DaveOzric
Joomla! Ace
Joomla! Ace
Posts: 1567
Joined: Sat May 22, 2010 10:29 pm
Contact:

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by DaveOzric » Sat Jan 11, 2020 5:36 pm

Thanks

User avatar
john-doe
Joomla! Guru
Joomla! Guru
Posts: 973
Joined: Tue Apr 19, 2011 7:39 pm
Location: Colombia
Contact:

Re: Will Joomla! 3.x templates continue working in Joomla! 4.x?

Post by john-doe » Wed Jan 15, 2020 4:37 pm

If you are doung Custom Templates is better that you set it to BS4 so if the migration / upgrade to Joomla 4 process won't be so cumbersome or traumatic.

However some commands or strings might slip on it.

To Myself: I should try one of my custom based BS4 on an Alpha or RC
www.aldemar-hernandez.com - Custom templates and design services.

 

Post Reply

Return to “Templates for Joomla! 3.x”