Now that we have created the vocabulary and we have added terms to it, we can use it when posting content on the web site.
Friday, April 4, 2014
Access Control in Drupal CMS
The access control list in the Drupal's admin panel -> People -> Permissions is quite self-explanatory.
There you can modify the predefined permissions for the different user types (anonymous, authenticated and administrator).
How to Add A Free Live Chat in WordPress
There are some wonderful live chat options available for WordPress. However, most of them are paid and the free ones are not so great. Live chat can be used to answer customer queries, interact with visitors, provide support for products and services. In this article we will show you how to add free live chat in WordPress. We will look at some solutions that are free, reliable, and efficient.
How to Add a jQuery FAQ Accordion in WordPress
What is Accordion?
In web design, accordion is a term used for a user interface design pattern that has tabs or content blocks which collapse or expand upon user interaction. Each tab has content below them which expands when the user clicks on the menu item. In simple terms, it is like a menu that expands when you click on it. We have used a similar effect on our free WordPress blog setup page. Below is a screenshot of a sample accordion.
How to Add the Facebook Like Box / Fan Box in WordPress
Facebook like box also known as Facebook fan box has become a must have element for many website. It allows website owners to provide their users with an easy way to join their facebook community and get updates right in their Facebook news feed. Recently one of our users brought it to our attention that we have not covered the topic of how to add the facebook like box in WordPress. Although we have covered how to add the facebook like button, facebook send button, andfacebook comments. In this article, we will show you how to add the facebook fan box in WordPress.
How to Use Masonry to Add Pinterest Style Post Grid in WordPress
In this tutorial, I will show you how to use the popular Masonry JavaScript Library to create cascading grid layouts for your blog index, as well as archive pages for your theme. I will address a few issues that you need to consider for mobile-optimization and how to solve them.
How to use Thumbnails with Previous and Next Post Links in WordPress
How to use thumbnails for previous/next post navigation in WordPress. The next_post_link and previous_post_link functions doesn’t have a simple enough thumbnail parameter which a new developer can simply turn on and off. In this article, we will show you how to use post thumbnails with previous and next post links in WordPress.
The final result would look like this:
Error: xml file is missing in package (joomla)
Receiving the “xml file is missing in package” error is common when installing a new template. This article contains a list of things you try to troubleshoot in order to find a solution for this error.
- Try this first! Check whether or not the template you downloaded and installed is designed for the instance of Joomla! that you re using. For instance, if the template was created for Joomla! 1.5, you will absolutely not be able to install it on Joomla! 1.7, and vice versa.
- If that doesn’t work, try this next! Another reason for this issue could be that the archive (or ZIP file) that you are trying to install contains the actual installation package (i.e. there is an archive within the archive). The solution is simple – you should extract the archive and install the actual installation package.
If you’re still having issues after troubleshooting, don’t hesitate to submit a support ticket in the Client Area.
URL Error: Numeric Values in URL (joomla)
How to delete a trashed Article
The first step is to delete any or all trashed Articles from the Article Manager. To do this, go to the Article Manager and select "Trashed" from the Status drop down menu item to view the "Trashed Articles". Click on the box next to the name of each Article, and click on the Empty trash button in the toolbar to delete each Article permanently.
Thursday, April 3, 2014
URL Error: Removing "index.php " from a URL
Rewrite engines are little pieces of software that rewrite URLs for different pages within a website in order to make the URLs more "relevant-looking" and representative of content on particular pages. Joomla! features a rewrite engine, and sometimes this engine adds "index.php" to the URL. The result is a URL that may look something like the following:
http://www.yoursite.com/index.php/category/article
A lot of clients would prefer that "index.php" be removed from the URL so it looks cleaner like the following:
http://www.yoursite.com/category/article
This article offers steps to remove the "index.php" from the URL. There are two parts to the process: a few settings made in the Administration area (the back end) of the site, and some changes to one of the sites s primary folders. The second part will require the use of file transfer protocol (FTP). If you are unfamiliar with FTP, there are additional resources at the end of this document that can offer some guidance.
Global Configuration settings in the back end
Changes to the htaccess file using FTP
Related Resources
Global Configuration settings in the back end
After logging into the back end of your site, go to Global Configurations.
JCE: Missing JCE Editor (Joomla 2.5)
Common htaccess rules
The htaccess file is an important configuration file that sits in the root directory of your Joomla Instance. The htaccess file can be used to override certain server configuration settings or provide or block access to the site or directories. It even has useful URL rewriting capabilities. Below you fill find common uses for the htaccess file.
IMPORTANT: Making modifications to the htaccess file can potentially disable or break your Joomla Instance. The CloudAccess.net Support Team does not provide troubleshooting outside of what is listed below.
Android Futures: Creating Android Apps For Google TV
Google IO 2011 took place in early May in San Francisco, California. In the midst of many announcements and tons of information, Android development for Google TV did get a little coverage. As of this writing, most developers cannot yet use Google TVs as a target device for development, but this is about to change. Developers looking to get a head start can follow a few easy tips and be ready when consumers can download applications for their TVs.
Existing Google TV devices are scheduled to be upgraded to Android 3.1, a Honeycomb variant, this summer (2011). The Android Market for Google TV will come with this upgrade, making this a hot new Android platform that developers want to prepare for. There are several key differences between Google TV devices and traditional, portable Android devices, such as phones and tablets. Most of the tips involve accounting for these differences.
Android Fundamentals: Status Bar Notifications
Often times, applications will perform some background operation—maybe while the app is running or maybe triggered on a scheduled alarm. The user won't know what's going on, though, unless they are informed of some event. Luckily, Android has an easy notification system that allows applications to display a message in the status bar and provide informative details to the user when something important occurs.
In this tutorial, we'll extend the existing unnamed "TutList" application to notify the user when the scheduled download of tutorials has taken place. When the user taps on the notification in the status bar, the application will be launched. This way, we use notifications to provide feedback to the user that something has happened, while also reminding he user of the existence of the application and that fresh content is available.
Android User Interface Design: Building Application Preference Screens
Many applications can benefit from Shared Preferences – the Android platform’s answer to the persistent storage of application settings. There are many ways to create user interfaces for collecting and displaying persistent settings for users. The easiest way is to use the PreferencesActivity, which provides a consistent look-and-feel with the rest of the platform, including the device system preferences. Learn how to use PreferencesActivity in this tutorial.
Our simple Mobiletuts tutorial feed reader application, which doesn't have an official name yet (we've been referring to it as TutList), needs better user control over the background updating process. Therefore, we'll add a single preference to help control the background updating.
Our simple Mobiletuts tutorial feed reader application, which doesn't have an official name yet (we've been referring to it as TutList), needs better user control over the background updating process. Therefore, we'll add a single preference to help control the background updating.
This tutorial builds upon previous tutorials, including Android Essentials: Application Preferences and the continued series on our TutList activity with the most recent tutorial,Android Fundamentals: Scheduling Recurring Tasks. If you have trouble keeping up, feel free to post questions in the comment section -- many folks read and respond, including ourselves. Also, don't forget about the Android SDK reference.
The final sample code that accompanies this tutorial is available for download as open-source from the Google code hosting.
The final sample code that accompanies this tutorial is available for download as open-source from the Google code hosting.
Android Fundamentals: Scheduling Recurring Tasks
Many applications have a need for regular, background actions to take place. For instance, in the "TutList" application we've been building over a recent series of tutorials, the content list is stale until the user initiates a refresh from the options menu. Why can't the application simply update its data at regular intervals? Well, it can and it should. Let's implement this new feature right now!
In our last tutorial, Android Fundamentals: Downloading Data With Services, you learned how to download data off the UI thread and independent of any particular activity. This is an efficient way to download data, while avoiding duplicate downloads and restarts. Now you're going to learn how to download content without the user even asking.
Android Fundamentals: Downloading Data With Services
The tutorial content of the still-unnamed "TutList" application we've been building together is getting stale. The data has been the same for over a month now. It's time to breathe some life into the application by providing it with a means to read fresh Mobiletuts tutorial data on the fly.
As it stands now, our application reads a list of tutorial titles and links from a database. This is, fundamentally, the correct way to design the app. However, we need to add a component that retrieves new content from the Mobiletuts website and stores new titles and links in the application database. This component will download the raw RSS feed from the site, parse it for the title and link, then store that data into the database. The database will be modified to disallow duplicate links. Finally, a refresh option will be placed within the list fragment so the user can manually force an update of the database.
As with other tutorials in this series, the pacing will be faster than some of our beginner tutorials; you may have to review some of the other Android tutorials on this site or even in the Android SDK reference if you are unfamiliar with any of the basic Android concepts and classes discussed in this tutorial. The final sample code that accompanies this tutorial is available for download as open-source from the Google code hosting.
As with other tutorials in this series, the pacing will be faster than some of our beginner tutorials; you may have to review some of the other Android tutorials on this site or even in the Android SDK reference if you are unfamiliar with any of the basic Android concepts and classes discussed in this tutorial. The final sample code that accompanies this tutorial is available for download as open-source from the Google code hosting.
Android Fundamentals: Properly Loading Data
The UI thread is a bad place for lengthy operations like loading data. You never know how long data will take to load, especially if that data is sourced from a content provider or the network. Android 3.0 (Honeycomb) introduced the concept of Loaders and, in particular, the CursorLoader class that offloads the work of loading data on a thread, and keeps the data persistent during short term activity refresh events, such as an orientation change. We'll incorporate the Loader as a new feature in our ongoing tutorial series building a yet-to-be-named tutorial reader application.
If you were paying close attention to our last tutorial, Android Fundamentals: Working With Content Providers, you may have noticed that we took a shortcut. We used the managedQuery() method of the Activity class, which is a newly deprecated method. This method represents the "old" way of letting an activity manage a cursor. Now we'll switch it to the new way, using a CursorLoader, as suggested in the latest SDK documentation. We can do this safely because although the CursorLoader class was included in Android 3.0, it is also part of the new compatibility library we discussed in Android Compatibility: Working with Fragments, and therefore can be used on devices as far back as Android 1.6.
Android Fundamentals: Working With Content Providers
The TutList application that we've been working with has a pretty big flaw right now: the article data is not “live”, but static content. In this tutorial, you take several more steps towards a flexible and expandable solution by modifying the application to act as a data-backed content provider.
The Android framework uses a concept called content providers to enable applications to share and use data across the platform. Typically, a provider is backed by a SQLite database where the underlying data is stored. The current state of the TutList application is such that it gets the data for the ListView from static string arrays in the resources. In this tutorial, we'll remove those fixed data resources and build a flexible database-driven content provider in their place. You'll see that the user interface code won't change much. The back-end, however, will get more complex. The advantage here is that when we finally switch the application over to retrieving live data from the Internet, we'll have a place to store and manage it easily.
The Android framework uses a concept called content providers to enable applications to share and use data across the platform. Typically, a provider is backed by a SQLite database where the underlying data is stored. The current state of the TutList application is such that it gets the data for the ListView from static string arrays in the resources. In this tutorial, we'll remove those fixed data resources and build a flexible database-driven content provider in their place. You'll see that the user interface code won't change much. The back-end, however, will get more complex. The advantage here is that when we finally switch the application over to retrieving live data from the Internet, we'll have a place to store and manage it easily.
The pacing of this tutorial will be faster than some of our beginner tutorials; you may have to review some of the other Android tutorials on this site or even in the Android SDK reference if you are unfamiliar with any of the basic Android concepts and classes discussed in this tutorial. You can read the SQLite Crash Course for Android Developers tutorial to refresh your SQLite knowledge. The final sample code that accompanies this tutorial is available for download as open-source from the Google code hosting.
Android SDK: Achieving Movement
In this tutorial, we will run through a quick guide on how to achieve object movement, one of the foundations of game development. We won't be doing anything fancy, just bouncing a ball across the screen. However, the principles in this tutorial can be easily applied in many more complex scenarios. Without further delay, let's jump right in!
Android Compatibility: Working with Fragments
Android 3.0, or Honeycomb, came with some fundamental user interface changes, most notably in the form of the Fragment API. When you were reading the last tutorial on how to use fragments, you were probably thinking, "Wow, this is great, but I can't use any of this because I need to target more than just the Motorola Xoom, the only Android 3.0 device currently on the market." Luckily for all of us developers, Google has released a library called the Android Compatibility package. This package provides support for the Fragment API as well as other key new features to devices as far back as Android 1.6. As of this writing, that covers 97% of all Android devices actively accessing the Android Market. Learn how to use it in this quick tip.
The final sample code that accompanies this tutorial is available for download as open-source from the Google code hosting.
Android User Interface Design: Working With Fragments
The new Fragment API for Android, introduced in Android 3.0, allows for easier dynamic user interfaces. In this tutorial, learn how to convert a two-screen ListView to WebView workflow into a single screen workflow designed for large screens, such as those found on tablets.
Subsequent Changes to Techniques & Software
Certain aspects of applications or techniques used in this tutorial have changed since it was originally published. This might make it a little difficult to follow along. We'd recommend looking at these more recent tutorials on the same topic:
- Android SDK: Using Fragments
The pacing of this tutorial is going to be faster than some of our beginner tutorials; you may have to review some of the other Android tutorials on this site or even in the Android SDK reference if you are unfamiliar with any of the basic Android concepts and classes discussed in this tutorial. The final sample code that accompanies this tutorial is available for download as open-source from the Google code hosting.
Android SDK Tools: Layout Optimization
Creating Android layouts that look good can be challenging. Once you’ve spent hours tweaking them to suit multiple devices, you often won't want to revisit them. However, bulky, nested layouts can be tremendously inefficient. Luckily, there’s a tool available in the Android SDK that can help optimize your project layouts to decrease memory usage and improve performance.
Optimization is always tricky business. Having good, well behaved, high performance code is great. But at what cost? You never want to prematurely optimize or spend too much time on code that may only run once or is in a short-lived feature. On the flip-side, if your application is unresponsive, takes up too much memory, or slows down the rest of the system users will notice and your application downloads will likely suffer.
Optimizing your layouts fairly early in the development process is one easy way to save memory and increase performance. Some changes will be negligible, others may be quite noticeable. The Android SDK comes with a tool to automatically analyze your layouts and find potential areas of unnecessary layout complexity.
Optimization is always tricky business. Having good, well behaved, high performance code is great. But at what cost? You never want to prematurely optimize or spend too much time on code that may only run once or is in a short-lived feature. On the flip-side, if your application is unresponsive, takes up too much memory, or slows down the rest of the system users will notice and your application downloads will likely suffer.
Optimizing your layouts fairly early in the development process is one easy way to save memory and increase performance. Some changes will be negligible, others may be quite noticeable. The Android SDK comes with a tool to automatically analyze your layouts and find potential areas of unnecessary layout complexity.
Android User Interface Design: Building a ListView Application
The ListView is one of the most useful view controls available on the Android platform for the display of variable amounts of data. In this Mobiletuts+ tutorial, we'll show you how to use a ListView to browse a list of articles!
Over the last several months, you've seen many tutorials covering various layout controls. You'll use several of these in conjunction with a ListView in today’s tutorial. The application itself will be very simple: it will display a list of article titles which, when clicked, display the article's content. The pacing of this tutorial is going to be faster than some of our beginning tutorials; you may have to review some of our other tutorials on this site or even in the Android API reference if you are unfamiliar with basic Android controls or concepts. The final open-source code is available for download on Google code hosting.
Over the last several months, you've seen many tutorials covering various layout controls. You'll use several of these in conjunction with a ListView in today’s tutorial. The application itself will be very simple: it will display a list of article titles which, when clicked, display the article's content. The pacing of this tutorial is going to be faster than some of our beginning tutorials; you may have to review some of our other tutorials on this site or even in the Android API reference if you are unfamiliar with basic Android controls or concepts. The final open-source code is available for download on Google code hosting.
Subscribe to:
Posts (Atom)



