How to Show “Upload” Tab to Logged in Users Only Using a Custom Template in Clip-Bucket v2
Last Updated on Thursday, 18 April 2013 02:34 Written by Richi González Friday, 19 April 2013 12:00
Hello,
Like I wrote in a previous article, How to Check if a User is Logged in When Uploading Videos in Clip-Bucket v2, I further saw that the Upload tab from the top navigation bar was still there, in some custom templates, even when users where not logged in, therefore I decided to write this article to show you how to add a check to see if the user is logged in, if not, don’t show the tab, otherwise, show it. Note, if you are using CB template cbv2new, you don’t need to add this modifications.
Learn MoreHow to Retrieve the ID of the Current Category in Clip-Bucket v2
Last Updated on Tuesday, 16 April 2013 09:08 Written by Richi González Wednesday, 17 April 2013 12:00
Hello,
As I’ve been asked two times already how to get the ID of the current category being browsed in Clip-Bucket v2, I decided to write an article for it so everyone can learn how do it by themselves. Knowing how to do this, you can display specific advertisement for each category, for example.
Learn MoreHow to Get the Value of an Element’s Attribute with jQuery using attr()
Last Updated on Wednesday, 13 February 2013 08:35 Written by Richi González Wednesday, 13 February 2013 12:00
Hello,
Lately that I’ve been working a lot with jQuery, I have noticed how easy and small functions get endless possibilities for improving code. In this article, you will learn how to get the value of any attribute of an element with jQuery using attr()
We will imagine we have the following HTML code:
Learn MoreHow to Remove Contents of an Element (div, ul, etc) with jQuery
Last Updated on Friday, 21 December 2012 08:12 Written by Richi González Friday, 21 December 2012 12:00
Hello,
As I’ve been recently working with a website that has a lot of jQuery and AJAX, and my jQuery knowledge was small, I was wondering how to remove the content of a <div> with jQuery. The solution was pretty easy and with just a line of code.
The element we are going to affect will be called ‘Target’.
Learn MoreHow to Add an Extension to the php.ini Through a Terminal in Linux
Last Updated on Thursday, 12 July 2012 09:44 Written by Richi González Sunday, 22 July 2012 12:00
Hello,
I’ll show you how to easily add an extension to the php.ini with a simple line in a terminal.
1. Open up a terminal or console.
The code is:
Learn More
Recent Comments