The Techjoomla Blog

Stay updated with all the latest happenings at Techjoomla. From news about the developments in your favourite extensions to Tips & Tricks about the Joomla CMS, Framework & Development.

Beware of these mistakes while coding in PHP

Beware-of-these-mistakes-while-coding-in-PHP
As a PHP developer, I am sure we all write some lines of code every day where we use library functions, creates new functions, Writes for, for each loop and also we use some statements and many more things that we need to do for solving a problem by PHP. Do we use the right library functions in the right place? Do we write correct loops? In my opin...
Continue reading
0
  2283 Hits
  0 Comments
2283 Hits
0 Comments

PDF Embed v2.1.8 is released

pdfembed2.1.8

We are happy to announce availability of PDF Embed v2.1.8. PDF Embed is one of our most popular and free extension with ~1.4 lacs of downloads and counting. This release addresses a bug seen on PHP 7.x versions, it also has improvements for installation script. At the time of release, this version is compatible with the latest version of Joomla (3.8.13). Read on for the upgrade instructions and complete changelog.

Get PDF Embed Now!

Continue reading
0
  2227 Hits
  0 Comments
2227 Hits
0 Comments

JMailAlerts v2.6.0 is released

JMailAlerts-2.6.0-is-released
Hello Joomlers!
 
We are happy to announce the availability of new JMailAlerts v2.6.0. JMailAlerts is one of our most popular and FREE extension with 20K downloads and counting.

This release mainly addresses logging in JMailAlerts. Now, the logs are written into where Joomla logs path is configured. Also, email ids in the logs can be masked, giving you more control over sensitive information not being logged into log file. This is not all of it, we have also added an option to specify max log file size for log file. After reaching this size, log file will be rotated. 

Download JMailAlerts

Continue reading
0
  1236 Hits
  0 Comments
1236 Hits
0 Comments

Some JavaScript code snippets in Joomla worth keeping in your stash

Some-Joomla-Javascript-Code-Snippets-Worth-Keeping-in-your-Stash

In this blog, I will be explaining some JavaScript snippets which are very useful while developing extensions in Joomla. Let’s start one by one.

Continue reading
1
  5065 Hits
  0 Comments
5065 Hits
0 Comments

Using custom field of jform create textcounter

Using-custom-field-of-jform-create-textcounter-1
Joomla already has powerful form management libraries - jform, supported by jfield. There is plenty of built-in field types (text, textarea, integer, file, calendar and several more). However, once in a while you come across a special field that is not present. Or maybe extending the existing field types to add more features. These are perfect cand...
Continue reading
1
  2491 Hits
  0 Comments
2491 Hits
0 Comments

How to create widgets for your Shika user dashboard?

How to create widgets for your Shika user dashboard?
In the process of making Shika's user dashboard  more user friendly we have made some major changes by adding new widgets to the dashboard. With this you can now build your own widgets and give your users the freedom to choose which widgets he/ she wants to be shown on the dashboard. We have created a new table #__tjlms_dashboard which contain...
Continue reading
1
  2357 Hits
  0 Comments
2357 Hits
0 Comments

Ways to delete documents in Solr!

Ways to delete documents in Solr!

Solr is a open source standalone enterprise search server. It comes with great features like full-text search, auto suggest, faceted search, database integration and many more. To know more you can visit http://lucene.apache.org/solr/.

Solr extension is a light-weight, very fast and feature-rich library which allows to communicate with the Apache Solr Server in PHP. To know more solr-php methods visit http://php.net/manual/en/book.solr.php

We have been using Apache Solr in one of our service project. The project is a website which is basically collection of artefacts, posters and other memorabilia from across the globe, importantly India. It currently has about 75,000 objects in our database. In addition, there are roughly 100,000 items in ‘masterlists’. Within the masterlists we have the list of people, films etc, which are the related data for the objects.

Continue reading
5
  12823 Hits
  0 Comments
12823 Hits
0 Comments

How to generate video thumbnails in PHP?

How to generate video thumbnails in PHP?

A Video link without a thumbnail is like a smartphone without a camera, you can use it but no one would like to use it. If you want your visitors to see your video, you need to make sure that your video link has a thumbnail which is forcing users to click on the link.

How can we do this?

Continue reading
22
  32412 Hits
  0 Comments
32412 Hits
0 Comments

Adding validation in Joomla for post_max_size and memory_limit

Adding validation in Joomla for post_max_size and memory_limit
Hey Guys, In this blog we will see how to handle validation for ‘post_max_size’ and 'memory_limit' in Joomla for file uploads. Sometimes when dealing with file uploads in Joomla or in any PHP frameworks, form post size can exceed the max allowed ‘post_max_size’ (set in php.ini in your server configuration). If the size of post data exceeds post_max...
Continue reading
4
  6716 Hits
  0 Comments
6716 Hits
0 Comments

Using Joomla logging to easily debug MySQL issues

Using-Joomla-logging-to-easily-debug-MySQL-issues
Sometimes, you might have operations like crons running PHP scripts behind the scenes. If there are any errors in it, it can become difficult to debug them since they might not affect the entire website. Whether you are doing this with any PHP framework or in a Joomla component, logging can help you debug such issues. Here is how you can use Joomla...
Continue reading
1
  12416 Hits
  0 Comments
12416 Hits
0 Comments

Zoo - Creating an address field element

Zoo-Creating-an-address-field-element
Here's a short tutorial on creating a Zoo element that has multiple sub-fields. A good example for the same, which we've also used as a sample is an address field. An address field will typically have different parts such as city, zip, state etc. I assume you have already gone through the zoo documentation on creating a new custom element - http://...
Continue reading
3
  15698 Hits
  0 Comments
15698 Hits
0 Comments