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.

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 contains all the widgets per users. If the users has not set any widgets to be shown or is using the default dashboard, basic dashboard plugins will be shown.

For Shika 1.0, user will not be able to select the widget and hence only the basic widget will be shown. This feature will be implemented in version 1.1.

Continue reading
1
  2163 Hits
  0 Comments
2163 Hits
0 Comments

Passing filter values via the url to Joomla Admin List Views

Passing filter values via the url to Joomla Admin List Views

We have already seen how you can introduce filters to list views in the Joomla admin & collate them under the Search tools menu previously in our Blog  last year. 

The Search tools filters are extremely useful to admins especially if your extension manages a lot of data. As a usability feature, Joomla retains the state of the filters to the ones last used by the user. 

In most cases, manually setting the filters will work just great for Admins. However there are some cases when knowing how to set filter parameters via the URL can be very useful. 

Continue reading
1
  4623 Hits
  0 Comments
4623 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
  30626 Hits
  0 Comments
30626 Hits
0 Comments

How to access Joomla plugin parameters anywhere inside Joomla code?

How to access Joomla plugin parameters anywhere inside Joomla code?

When developing a new Joomla extension or making changes to existing extension, you might need to access plugin parameters of a Joomla plugin outside the plugin code. There can be cases where you want to access plugin parameters in some Joomla module or component. Now the question is - How to get plugin parameters outside the plugin code?

Here is a snippet of a Joomla code in PHP that lets you access plugin parameters anywhere inside Joomla.

// Get plugin 'my_plugin' of plugin type 'my_plugin_type'$plugin = JPluginHelper::getPlugin('my_plugin_type', 'my_plugin');// Check if plugin is enabledif ($plugin){	// Get plugin params	$pluginParams = new JRegistry($plugin->params);	$param1 = $pluginParams->get('param1');	$param2 = $pluginParams->get('param2');	$param3 = $pluginParams->get('param3');}

 

Continue reading
7
  8709 Hits
  0 Comments
8709 Hits
0 Comments