Search Results
Article: 7 Tips To Improve Website Usability
Website usability should be an essential part of your online strategy, but it is so easily overlooked or overshadowed by pretty design. Here is a quick list of 7 things that can cause your users to get frustrated and go elsewhere. 1. Search Search is a very important part of any site, and if it …
Article: PHP Questions
… questions and use them in your own interviews. I have created a new category to store these questions in and will be updating this post as and when I add more questions to that category. The Questions Scope Resolution Printing A Boolean Value …
… 'year', 'monthnum', 'day', 'hour', 'minute', 'second', 'name', 'category_name', 'tag', 'feed', 'author_name', 'static', 'pagename', … 'year', 'monthnum', 'day', 'hour', 'minute', 'second', 'name', 'category_name', 'tag', 'feed', 'author_name', 'static', 'pagename', …
… after all. Add a contextual filter on the ID field of the Content category. Set the filter to provide a default value of the content ID … filter, this time with the Has taxonomy term ID field in the Content category. Set the filter value to provide a default value and check the …
… the standard index.php file. Also, if the user clicks on a link for a category, Wordpress will load the category.php file. If this is not present then Wordpress tries to load …
Article: Drupal 7 Audit SQL Queries
When doing site audits on Drupal sites it’s always a good idea to get a feel of what sort of content types, users and taxonomy terms are available. Here are some SQL queries that I tend to use when starting out on a Drupal Audit. User/Roles Breakdown SELECT role.name as Role, COUNT(role.name) as …
Article: PHP Exif/IFD0 Functions
The Exif/IFD0 functions in PHP work with images to pull out meta data associated with them. Most image applications and digital cameras will produce an image with a certain amount of meta data present. This is obvious stuff like file size and creation time stamps, but you can also get stuff like …
Article: Wordpress Breadcrumbs
… $trail = array($post); // Initialise the output. $output = ''; $currentCategory = 0; if (is_front_page() == true && $options['printOnHome'] == … array_unshift($trail, $parent); } } elseif (is_category()) { // The current page is a category page. $trail = array(); $currentCategory = …
… to use a path that contains the type of entity being presented, what category it was added to, and even the title of the item of content. …
Article: Drupal 8: Automated Spam Protection
Spam is a constant problem for any site on the internet that has a publicly available form, but automatically preventing spam can be tricky. The idea is to prevent the automated spam bot from being able to submit data to your site, but not at the detriment of the users. There is a careful balance …