Skip to main content

Posts

Showing posts with the label Website Development

YouTube Monetization disabled and re-enabled!

L ike many small time YouTube creators, I also got an email in January 2018 about changes to the YouTube Partner Program (YPP)  regarding changes new threshold of 4,000 hours of watchtime within the past 12 months and 1,000 subscribers. The revenue wasn't much but it was good to get some revenue from the little effort made in creating some videos. Unfortunately, my channel did not meet the subscriber threshold though watch time was alright. So, as per the new rules, monetization was set to be disabled. Read more »

How to display Next Item and Previous Items in OSCLASS Classified websites?

  If you are running a classified website using OSCLASS CMS with some of the default themes available, you might have noticed that there is not NEXT and PREVIOUS links when an item is viewed. So, the visitor will have to either go back to home or click on related listings, tags etc. if available to view other listings. The NEXT and PREVIOUS links are desired on the item page.  If you are running an OSCLASS website, and would like to add NEXT and PREVIOUS item links, we shall see how to add in this post. Read more »

Drupal 8 Tips: Display only one image from multifield image on teaser

On Drupal 8, there is a useful feature in Views Module (now in Core) settings called " Multiple field settings " with which we can  display only one image from multifield image on teaser. As seen in the image above, each of the content has multiple images but only one is displayed in the teasers. Read more »

How to fix partially encrypted/mixed content errors after switching from HTTP to HTTPs (SSL)?

How to fix partially encrypted/mixed content errors after switching from HTTP to HTTPs (SSL)? HTTP (or Hyper Text Transfer Protocol) is the protocol or method used by which data is moved around the Web but HTTP is not secure. HTTPS (or Hyper Text Transfer Protocol Secure) is the answer to the data protection issue. It used to be mostly used by eCommerce and banking related sites. HTTPS protects data by encrypting it before sending it either way by using an SSL (Secure Sockets Layer) Certificate.  Most websites still run on HTTP which is alright if there is not critical information being transferred such as login, password, bank details etc. But when details such as those mentioned are involved in the transfer, HTTP is not secure as there are ways and means by which bad guys can intercept and misuse. But even after applying HTTPS, browsers may block some contents because they are still being served over HTTP. In this post, we will check how to fix partially encrypted / mixed content...

How to receive emails from website using contact forms?

Contact Forms are great to let website visitors contact you for any queries or for specific purpose. Contact Forms are found on most websites nowadays. When we build a website, we usually include a “Contact form" on the website for users to contact us. Once we buy a domain and hosting services from a service provider to host the website, we also usually get email address along with it. And it looks professional to have emails with the website domain name instead of using internet email such as gmail or Yahoo mail. In this post, we shall see how to setup Contact Form and how to receive emails sent from the website. Read more »

How to download a website from live server to development local server?

I n this post, we shall see how to download a website from live server to development local computer. I will be using a Drupal website as an example. On the local machine, I am running XAMPP stack on Windows. But the process would generally be the same for any other CMS or website for that matter. If you are looking for how to move or upload a website from local development computer to a live production server, following the steps here. Read more »

How to move website from XAMPP on one computer to XAMPP on another computer?

I normally use XAMPP for web development on my local Windows machine. And I needed to move the website files from one computer to another as I have a new Windows laptop on which I would be doing my web development activities from now on. So, I needed to move the existing website files from the older computer to the new computer, along with the database of the website. If you are in a similar situation, refer to the steps below how to move the websites from XAMPP on one computer to XAMPP on another computer. XAMPP is a free and open source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database (supports MySQL) , and interpreters for scripts written in the PHP and Perl programming languages.     X = Cross Platform / Any Operating System     A = Apache Web Server     M = MySQL / Maria DB     P = PHP Programming Language     P = Perl...

How To Disable Drupal "Create New Account" Link or Tab If Using Profile2 Registration Path ?

T he default Drupal login page at /user/login shows three tabs - Login, Create New Account and Request Password. Using the tabs, a visitor can either login, create a new account or request password. If visitors cannot create accounts on the Drupal website themselves, then the "Create new account" link or tab can be disabled easily from Drupal administration. But when using Profile2 and Profile2 Registration path, the Drupal default "user/register" path lies redundant. In this post, we shall see how to disable the "Create new account" tab from the default user login page. Read more »

Drupal Tips - How to redirect user to Drupal frontpage after login

Drupal usually redirects a user after login to the account information page. But if you would like users to redirect to the Drupal Frontpage after login, the this post is just about that. In this Drupal Tips , we shall discuss how to redirect user to Drupal Frontpage after login.   Read more »

How to create sliders in Drupal 7 using Views Slideshow?

S liders or Slideshows are dynamic elements usually displayed in home page of websites. Usually with a catchy background image and phrases, they grab attention. They are great additions to any websites to add more aesthetics to websites. Since they are dynamic, websites look more grand and alive. They can also be used to display important content and graphics to engage with visitors. And though sliders are not so good in terms of making websites easily accessible on mobiles over data network due to higher load times, it has still become a standard web design layout. In this post we shall discuss how to create testimonial sliders in Drupal 7 using Views Slideshow. Though the usual sliders we see are catchy background images with catchy phrases, sliders are not only meant for images. They can be any thing, almost. We can also display text such as testimonials, images, quotes etc. Read more »

Drupal: How To Redirect Users to Front Page Based on Different User Role?

T here may be times when we may want to direct users based on their Drupal Roles to different Front Page. For instance, we want users with administrator and content admin roles to see a dashboard, and regular users with "Authenticated User" roles to another dashboard specially designed for those users. In such cases, we want to redirect users based on their roles to different dashboard. In this post, we shall see how to set different Front Page for users based on their user roles. Page redirection can be easily achieved by using Rules. If you don't want to do it with rules, there are modules available for setting front page for different user roles. We shall be check out two methods to set front page for different user roles - by using Rules Module and another by using "Front Page Module" from Drupal Projects. Read more »

OSCLASS Tips : How to move OSCLASS website from live server to localhost development server ?

This post is about how to move OSCLASS website from live server to local development server. The process in a nutshell is pretty forward that is, to download the website files and put them in the local website directory, export database from the live server to the local server and update configuration files on development server. But there are some minute updates or changes required to let OSCLASS work on localhost development server, which we will see in brief in this post. Read more »

How to install and uninstall a module in Drupal CMS?

Drupal Modules are great way to extend your Drupal website. A Drupal module is a collection of files containing some functionality and is written in PHP. It can be installed and uninstalled. In this post, we will see how to install Drupal modules the standard way and to uninstall Drupal Modules. How to install modules in Drupal? There are basically three common ways to install Drupal modules which is popular, besides using "drush". One can install Drupal Modules by either of the following ways: Read more »