Initial thoughts on converting existing templates to Joomla 3.0

The information in this article has been transcribed from the Joomla! User eXperience (JUX) Webinar. This was a webinar upload in early June of 2012, in which Kyle Ledbetter (lead of the Joomla JUX project) discusses upcoming changes in Joomla 3.0 What about template conversion for existing sites to Joomla 3.0? We will need to Read More >

Joomla 3.0 and Bootstrap

The information in this article has been transcribed from the Joomla! User eXperience (JUX) Webinar. This was a webinar upload in early June of 2012, in which Kyle Ledbetter (lead of the Joomla JUX project) discusses upcoming changes in Joomla 3.0   General ideas behind Joomla 3.0 and bootstrap Another thing that we’re doing is Read More >

Joomla 3.0 and Mootools

The information in this article has been transcribed from the Joomla! User eXperience (JUX) Webinar. This was a webinar upload in early June of 2012, in which Kyle Ledbetter (lead of the Joomla JUX project) discusses upcoming changes in Joomla 3.0 General thoughts on Joomla 3.0 and Mootools Joomla 3.0 will now ship with jquery Read More >

How to set the min upload image size in Drupal 7

When working with your images in Drupal 7, there are many settings you can adjust to optimize and customize the site you have in mind. One of these settings is to set a minimum size for uploading images. This is for when you may have a particular width and height range you want to work Read More >

How to set the max upload image size in Drupal 7

While working with images in Drupal 7, there are many settings you can adjust to optimize and customize your site. One of these settings is to set a maximum size for uploading images. This is for when you may have a particular width and height range you want to work with. Setting this maximum size Read More >

How to change the allowed image file types in Drupal 7

When working with images in Drupal 7, you can control which types of images you want to be uploaded for each content type. Perhaps you want to restrict the files to gif and jpg files, or only want to use png files. In either case, this is easily controlled via the Drupal 7 admin dashboard. Read More >

How to enable alt text for images in Drupal 7

After enabling the image field for your Basic Page or other content type, you may want to customize the settings to fit your particular needs. One of the more common settings you may want to enable is the Alt Text. Alt text is displayed when the image itself cannot be. It is customary to have Read More >

How to add an image in Drupal 7

When adding content to Drupal, you may want to accompany your textual information with an image. This ability is automatically enabled in Articles, but must be enabled for Basic Pages. However, once enabled, adding an image is the same in both content types. Below are the instructions on how to insert an image into content Read More >

How to enable images for Basic Pages in Drupal 7

Within the core Drupal 7, only Articles have the ability to add images to the content by default. This can be enabled for Basic Pages also by configuring the proper setting in the admin dashboard. Below are the steps you will need to follow to turn on the ability to add images to Basic Pages Read More >

Joomla 2.5 Templates – $files = JHtml::_(stylesheet)

In this class, we are learning how to create Joomla 2.5 templates by first looking at the PHP code in the Beez2 index.php file. We have already looked at quite a bit of php code, and as we continue our review we come to the following code: $files = JHtml::_(‘stylesheet’, ‘templates/’.$this->template.’/css/general.css’, null, false, true); if Read More >

How to add a new position to a Joomla 2.5 Template

While reviewing the PHP code in the Joomla 2.5 Beez2 template, we come across the following code: <jdoc:include type=”modules” name=”position-0″ /> The code above defines a new position within a template, in this case position-0. If you want to add a new position to your template, you’ll need to use code similar to the above. Read More >

Joomla 2.5 Templates – $this->direction

The last use of $this in the Joomla 2.5 Beez2 template that will review is $this->direction. We can see it being used in the following section of code in the template’s PHP file: <html xmlns=”https://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>” dir=”<?php echo $this->direction; ?>” > When we look at the result of Read More >

Joomla 2.5 Templates – $this->language

In our last few tutorials, we have covered the $this variable in Joomla 2.5 templates. We will continue focusing on $this, and this time examining the following code: <html xmlns=”https://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>” dir=”<?php echo $this->direction; ?>” > The output of the above PHP code results in the following code Read More >

Joomla 2.5 Templates – $this->template

In the Joomla 2.5 Beez2 template, we see the following PHP code in the index.php file: $doc->addScript($this->baseurl.’/templates/’.$this->template.’/javascript/md_stylechanger.js’, ‘text/javascript’, true); In this tutorial, we will focus on $this->template.   What is $this->template To find out what the value is of $this->template, we will update our template’s code as follows: $doc->addScript($this->baseurl.’/templates/’.$this->template.’/javascript/md_stylechanger.js’, ‘text/javascript’, true); echo “<pre>” . $this->template Read More >

Joomla 2.5 Templates – $this->

We are continuing to review Joomla 2.5’s Beez2 template code, and we next come accross the following code: <html xmlns=”https://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>” dir=”<?php echo $this->direction; ?>” > In our review thus far, we have alread seen instances of $this->, for example: $showRightColumn $this->countModules $this->params->get What is $this-> ? Technically Read More >

Joomla 2.5 Templates – JFactory::getDocument()

In our continued effort to review the PHP code in the Joomla 2.5 Beez2 template, we come across the following code: // get params $color = $this->params->get(‘templatecolor’); $logo = $this->params->get(‘logo’); $navposition = $this->params->get(‘navposition’); $app = JFactory::getApplication(); $doc = JFactory::getDocument(); Our specific focus in this article will be $doc = JFactory::getDocument(). What is getDocument? According to Read More >

Introduction to RSS Feeds in Drupal 7

Below is a short introduction to RSS Feeds, how they work, and why they are used. What is an RSS Feed? RSS (Really Simple Syndication) feeds are a way for you to let your visitors and subscribers know about changes on your site. It is most commonly used to distribute headlines, updates, or even content Read More >

How to create a new forum in Drupal 7

One of the first tasks you may want to do after enabling the forum module and configuring its basic settings is add another forum. This is because the only forum you currently have is General Discussion. In the following Drupal 7 tutorial we’re going to show you how to add another forum called Food Discussion. Read More >

Changing your Drupal 7 frontpage

By default your Drupal 7 homepage will display your latest articles, which is referred to as a content feed. If you have a specific page you’d like to set as your frontpage, regardless of its content type (such as a basic page or article), you can do so in Drupal 7. How to set the Read More >