Templating with Joomla! 3 and Bootstrap

with Jen Kramer
please wait ...
Templating with Joomla! 3 and Bootstrap
Video duration: 0s 5h 8m Intermediate

Viewers:

In this course, Jen Kramer shows how to build a custom Joomla! template that automatically tailors and sizes content for a wide range of displays, from desktops to mobile devices. This course covers using Joomla! 3 with its built-in Bootstrap framework, and a start-to-finish development strategy that covers everything from converting the wireframe to HTML, to styling the headers and footers. Jen also shows how to incorporate Dreamweaver and the Firefox developer tools into your workflow, and accommodate multiple layouts and color variations in a single template.

Topics include:
  • Reviewing the graphic designs
  • Creating HTML based on the Bootstrap framework
  • Converting the HTML to a Joomla! template
  • Installing the custom Joomla! template
  • Using Firebug and the Firefox Web Developer Toolbar
  • Styling the navigation bars
  • Creating a dropdown menu
  • Modifying the template for tablets and phones
  • Working with advanced template features, like overrides
Subject:
Web
Software:
Joomla!
Author:

Welcome

I'm Jen Kramer. Welcome to Templating with Joomla! 3 and Bootstrap. In addition to having worked with Joomla! before, I'll assume you already have a good background in hand-coded HTML and CSS. You don't need to know PHP, but you should be able to copy and paste PHP where needed. You'll learn about Joomla three's integration with the Bootstrap framework. We'll make a powerful template that's flexible, and adapts easily to desktops, tablets, and phones.

I'll show you how to make some content device specific. And I'll show you how to set up Bootstrap's menu bar, which collapses at lower screen resolutions. I'll also throw in a few tools and tips about working with CSS and Joomla. So lets get started with Templating with Joomla 3 and Bootstrap. Hi!

Find answers to the most frequently asked questions about Templating with Joomla! 3 and Bootstrap .


Expand all | Collapse all
please wait ...
Q: After following along with the exercise files, all has gone well until I installed JCE. When I did this my control panel on the backend came up with the following "strict standards" error:

( ! ) Strict standards: Non-static method WFEditor::getInstance() should
not be called statically, assuming $this from incompatible context in
C:\wamp\www\administrator\components\com_jce\models\model.php on line 112

Please advise. I looked for a way of uninstalling JCE and could not find one. The exercise site seems to work quite well otherwise, although I can't change the profile of JCE as instructed because of similar messages throughout the JCE profile.
A: Anytime you receive an error about "strict standards" when work with WAMP (any additional messaging doesn't matter), please apply the following fix. This fix is also described in the Joomla! 3 Essential Training Chapter 11 video, "Turning off WAMP error reporting."

Because the error reporting is an issue with WAMP and not Joomla!, this fix works for Joomla! 1.6, 1.7, 2.5, and 3.0, as well as later versions of Joomla.

1. In WAMP, find the icon in the system tray and click it.

2. Choose PHP - php.ini from the list.

3. Search the php.ini file for the following line:

error_reporting = {there will be some kind of value in this place}

4. Change whatever value is there on that line to the following:

error_reporting = E_ERROR

5. Save and close php.ini, then go back to the WAMP menu and choose "stop
all services", followed by "start all services" to reboot Apache.

6. You should no longer see errors. If errors are still present, then do
the following:

a. follow steps 1 and 2 above

b. Search the php.ini file for the following line:

display_errors = off

Change this to

display_errors = on

c. Follow step 5 above.
Q: Why is Joomla not installing on my Windows computer with WAMP?
A: In current versions of WAMP, there is a bug in PHP 5.4.x that may prevent Joomla! from installing.
 
Downgrade your version of PHP from 5.4.x to 5.3.x. To do this, click on the WAMP icon in the system tray (the green W). Go to PHP - Version - and choose a version of 5.3 that's available in your installation. Click on the WAMP icon again and choose Restart All Services. You should be able to install Joomla! now.
Q: The exercise files do not seem to work with the latest version of WampServer. What do I do?
A: Please refer to David Gassner's course Installing Apache, PHP, and MySQL, specifically video #4, "Changing softwareversions with WampServer add-ons," in Chapter 3, "Installing WampServer on Windows." This will show you how to adjust the version of PHP in WampServer so Joomla will run correctly.
 
Per the Joomla documentation at joomla.org, the minimum version of PHP to run Joomla is 5.3.10, and preferred is 5.4+. WampServer might be shipping with PHP 5.5.12. You can certainly downgrade this to a different PHP version using the instructions in David's video.
 
please wait ...