Menu
New rocks

DPMedia's restricted media feature is becoming more and more popular especially on large web sites. Time to brush it up with some new features.

Following our established release strategy, we are excited to announce a new feature version of DPCalendar and DPMedia. It is a week earlier as planed because in Europe is summer holiday approaching. Nevertheless, today, we are releasing the following updates:

The next chapters are highlighting some of the most important changes in this release window.

DPMedia: Restricted custom folder

The restricted DPMedia filesystem plugin stores images automatically on a specific folder with the article or category ID in the filesystem path. When the media manager is opened from within the article form, then it shows only the content of the respective folder without the whole tree of the images folder. That prevents publishers navigate outside and to mess with the images folder, everything is nicely structured.

Previously did the restricted adapter store the images always in a path with the full context name (com_content.article), some user were arguing that it is a too technical approach. Now it is possible to add a substitute name for the context to have it in a more user friendly way. This is especially handy when you have a blog and images are always connected to one blog post, so the images will then be stored in the folder /images/blog/{id} and not /images/com_content.article/{id}.

More information can be found in the context concept documentation.

DPMedia: Upload before article is created

The restricted images adapter for the Joomla media manager stores the images automatically in a path with the article ID. When a new article is created it was not possible to upload images, only when the article was saved at least once. This was problematic on large web sites where users could create articles and publishing was done by an admin. Now are images uploaded to a temporary directory and when the article got created, they are moved to the correct location automatically.

More information can be found in the restricted plugin documentation.

Restricted temporary folder

DPMedia: SmugMug default image size

When an image is uploaded to SmugMug, then it is stored in different sizes in their cloud. The DPMedia plugin was always using the original size which is often too big for performance optimized web sites. Instead of the original size, can now a default size be specified in the adapter. Images not nigger than that size are used, when they are selected in an article or banner. Like that it is possible to have all images with the same size, in a way that they fit perfectly your Joomla web site.

This feature is only used when no local images are configured. If local images is enabled, then does the plugin copy the image from SmugMug to a local folder and serves it from there in Joomla, which improves privacy on your web site. More information about all these features can be found in the SmugMug plugin documentation.

SmugMug image size list

DPMedia: Small enhancements

DPMedia got a couple of more enhancements:

  • Enabled components and their categories are configured now in the adapter
  • Images are copied on save

DPCalendar: External events sync scheduler task

When external events are configured with database sync, the eventsync.php script must be executed as cron job to perform that long running task. This is a legacy from the Joomla 3 ages and nowadays cli scripts should be converted to Joomla scheduler tasks. They are easier to maintain in the web interface and failures are notified by mail.

Therefore, we have deprecated the /administrator/components/com_dpcalendar/cli/eventsync.php file and are offering now a scheduler task which does the same job. Once the task plugin is installed, a new task can be created and an external calendar selected. This task should be executed shortly before the cache expires in the plugin to prevent admins from hitting the sync task while browsing the web site. More information can be found in the task plugin documentation.

Task form

So all you have to do is to change the cron job from 

/{{joomla-root}}/administrator/components/com_dpcalendar/cli/eventsync.php

to

/{{joomla-root}}/cli/joomla.php scheduler:run

 

Bugfixes

We are eager to improve our extensions on a regular basis. That's why every major/feature release does contain also bug fixes and small enhancements as well to improve the stability and performance.

A full changelog is added in the respective download release description on our download site.

Kind regards

Allon Moritz aka laoneo
Founder of Digital Peak

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.