Function to Generate a Copyright Since with PHP
Last Updated on Saturday, 23 February 2013 01:37 Written by Richi González Monday, 25 February 2013 12:00
Hello,
When working with a website, I always try to make things the most automated I can so that I don’t need to be editing them often, that’s why here I present you a function I created that is used to return the years for the copyright notice, for example. It will print the year since the website started and the current year. Keep reading to see what I’m talking about!
1. Copy paste the following function to your functions file or, if you don’t have one, to the top of your PHP file.
Learn MorenopCommerce Tips: How to Get More Facebook Traffic to Your nopCommerce Site
Last Updated on Thursday, 12 July 2012 09:44 Written by Carole Bennett Monday, 23 July 2012 12:00
nopCommerce has a broad array of built-in features, but did you know it also has a built-in blog? Blogs are a powerful tool to communicate with your users, create interest in your products, and improve your SEO. Let’s look at how you can leverage your nopCommerce blog to get more traction with your Facebook followers.
To create blog entries, you’ll want to access your nopCommerce Administration section. Under the “Content Management” section, highlight “Blog”, and click on “Blog Posts”. Click the “Add New” button in the top right area.
You’ll notice that you have a fairly robust text editor available, as well as the ability to set tags for your blog entry. At this time, you don’t have the ability to schedule your post in advance; you may choose to use a third-party app if that’s an important factor to consider.
Learn MoreHow to Backup Your Website Using cPanel
Last Updated on Friday, 29 June 2012 08:05 Written by Arian Jahansouz Friday, 29 June 2012 12:00
This article will give you a step by step guide on how to backup your website from your cPanel
If you want to manually backup and restore specific files and folders, please refer to this article
Sign into your cPanel and follow these steps:
1) Click Backups
2) Click Download or Generate a Full Website Backup
Learn MoreHow to Backup Your Database Using cPanel
Last Updated on Friday, 29 June 2012 08:25 Written by Arian Jahansouz Friday, 29 June 2012 12:00
This article will give you a step by step guide on how to backup your database from your cPanel
If you want to manually backup and restore specific files and folders, please refer to this article
Sign into your cPanel and follow these steps:
1) Click Backups
2) Under Download a MySQL Database Backup, click on the database you would like to download
Learn MoreHow to Generate Test Users Manually in Elgg
Last Updated on Sunday, 24 July 2011 08:17 Written by Rodolfo Hernandez Sunday, 24 July 2011 12:00
This article gives a step by step guide on how to generate test users manually in Elgg. Test users are useful when developing your Elgg site. Several users do not know how to do that, and instead of logging out, you can create as many users as you want within the admin account. It is also useful if you disable registration and create accounts manually. Access your Elgg site as an administrator and follow these steps:
Learn More


Recent Comments