Stephen Burge's Blog, page 52

June 8, 2017

Using the Drupal Theme Developer Module

There is one module that makes designing for Drupal 7 much, much easier: Theme Developer.
You can think of Theme Developer as a Drupal-specific version of Firebug or Chrome Developer Tools. Using Theme developer you can click on any element of your Drupal site and get a breakdown of how it was built.
Theme Developer has some downsides: it's not been updated in a while, and (like anything related to the Devel module) shouldn't be used on live sites. But, it can still be a useful tool for Drupal 7 themers.Install the Devel module, the simplehtmldom API module and the Theme Developer module. Be careful - you must use simplehtml API version 7.x-1.12.Go to Administer > Site Building > Modules. Enable all the modules you uploaded.In the bottom-left corner of the screen, you will see a small "Themer Info" area:Check this box:Up in the top-right corner of the site you'll see a larger black box:The bar does a pretty good job of explaining what to do! Just like Firebug, or Chrome Dev...



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on June 08, 2017 03:49

June 5, 2017

A Guided Tour of WordPress's wp-config.php File

The single most important file in your entire WordPress Installation is wp-config.php.
Your WordPress website is made up of two elements: a WordPress database, and your WordPress files.
wp-config.php is the one element that links the database and files together.
In this tutorial, we're going to cover:Where you can locate your wp-config.php file.What each line affects and common settings.How you can use wp-config.php to improve your website security.



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on June 05, 2017 05:03

Expanded Class: How to Use Ecwid for eCommerce Sites

If you want to set up an online store, and don't want to set up a new website, then Ecwid is a great solution. Ecwid has everything you need to set up an e-commerce store from products and categories to payments and shipping.
Once your store is created, you can embed Ecwid products (or your whole store) as simply as you would embed a YouTube video. This enables you to easily use Ecwid with Drupal, Joomla or WordPress.
This week we released a big expansion to our Ecwid class. There are now 13 new videos in "How to Use Ecwid for eCommerce Sites". Watch this videos and you'll be able to rapidly set up your store with Ecwid.



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on June 05, 2017 04:14

June 4, 2017

How to Create Printer-friendly Versions of Drupal Articles

In this tutorial, we'll show you how to add a "Printer-friendly version" button to your Drupal articles. This produces a super-clean version of your article, with any of the site design.

The main reason you'd want to do this is a courtesy for your readers. Many still print things they read online and you don't want them to waste that expensive printer ink just to print your logo and theme as well as the article.

Without this solution, you'd likely need to create a separate CSS file with styles specifically for the printed page.  Fortunately, the "Printer, email and PDF versions" Drupal community module makes this much easier. It will automatically create a printer-friendly version of each article



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on June 04, 2017 16:00

Creating Printer-friendly Versions of Drupal Articles

In this tutorial, we'll show you how to add a "Printer-friendly version" button to your Drupal articles. The main reason you'd want to do this is a courtesy for your readers. Many still print things they read online and you don't want them to waste that expensive printer ink just to print your logo and theme as well as the article.

This is a themed tutorial because our sister post "Creating Printer-friendly Versions of Wordpress Posts" with Wordpress tutorial covers the same topic.

Without this solution, you'd likely need to create a separate CSS file with styles specifically for the printed page.  Fortunately, the "Printer, email and PDF versions" Drupal community module makes this much easier. It will automatically create a printer-friendly version of each article.



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on June 04, 2017 16:00

May 31, 2017

How to Use Tokens in Drupal Fields

Token is one of the 3 most popular modules in Drupal.

It allows you to use small placeholders to automatically complete tasks.

To take a simple example, if you put [site:name] on your site, it will be replaced by the actual name of your site. To take a more complicated example, you can use Token together with the Pathauto module to automatically create URL patterns for your whole site.



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on May 31, 2017 08:11

May 30, 2017

Using WordPress as a Static Website

We teach many different types of software. No matter what we teach, students often arrive with ideas about the sofware.

Our job is to convince them they're wrong. Some people believe Drupal is too difficult. Many people believe WordPress is just for blogs.

In this tutorial, I'm going to show you that WordPress can be used to build an ordinary website with static pages.



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on May 30, 2017 16:00

How to Fix 1054 Unknown Column 'client_id' in 'field list'

When you run an update from older versions of Joomla to version 3.7, you may seen an error.

If you go to Menus >> Main Menu, you may see this error:
1054 Unknown column 'client_id' in 'field list'

In this tutorial, you will learn how to quickly fix this error.



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on May 30, 2017 07:46

May 26, 2017

Creating Printer-Friendly Versions of WordPress Posts and Pages

In this tutorial, we'll show you how to place Print This Post buttons into WordPress posts and pages. The main reason you'd want to do this is to extend a courtesy to your readers. Many of them still print things they read online and you don't want them to waste that expensive printer ink just to print your logo and theme as well as the post.

Without this solution, you'd likely need to create a separate CSS file with styles specifically for the printed page. Fortunately, the WP-Print plugin makes this much easier. It will automatically create a printer-friendly version of each post or page.



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on May 26, 2017 07:00

May 25, 2017

Solving the Joomla Message: "AJAX Loading Error: Not Found"

Did you ever seen this message when trying to update your Joomla site? 
AJAX Loading Error: Not Found
In this tutorial, I'm going to show you a few options for getting rid of this error and smoothly running your Joomla update.



[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
 •  0 comments  •  flag
Share on Twitter
Published on May 25, 2017 18:12