3

A podcast is just another form of content in a file therefore yes you can and the second part of your idea is going to need some form or subscription/payment process. A quick Google and this article by Peter B. describes the general steps for setting up the podcasting environment, https://joomlabe.at/joomla-advice/management/how-to-podcast-with-joomla The ...


2

Adding stylesheets, scripts and declaring php vars is all done inside the main mod_mygallery.php file This is bad. Styles and scripts should be added in layout files to allow overriding with ease. This way unneeded assets can even be removed. Adding JavaScript manually is bad also. You should use Document API instead. You could avoid JS code cluttering ...


2

Personally I wouldn't use a .css.php file. The following assumes you WON'T be supporting Internet Explorer and I will be answering your question about CSS filters. The grid/masonry can be asked as a separate question. So, let's say you want to set a CSS filter (grayscale) and the percentage is set dynamically. You firstly want to have the following CSS file (...


2

If the external resource is just 1 file (even if it has a minified version with it), I would place it directly in the /assets/js directory. If the resource is a collection of 2 or more files, I would give it a subdirectory within the /assets/js directory. This is just personal opinion since in many years of joomla experience I've never come across definitive ...


2

A simple code review: You don't need the condition block because getScriptOptions() always returns an array. getScriptOptions() documentation If you want to declare the variable $configs... $configs = $document->getScriptOptions('mod_mymodule'); $configs[$module->id] = $params; $document->addScriptOptions("mod_mymodule", $configs); If you ...


2

If you know the ID, you can use JModuleHelper::getModuleById(). https://api.joomla.org/cms-3/classes/Joomla.CMS.Helper.ModuleHelper.html#method_getModuleById


2

The code required to extract the first name of the currently logged in user is fairly simple. Here's an example: <?php $user = JFactory::getUser(); if (!$user->guest) { echo strtok($user->name, ' '); } ?> Using the free or paid version of Sourcerer you could insert the code directly into an article as follows: {source}<?php $user =...


1

See the documentation for Adding Configuration Parameters. This then makes your configuration parameters available via the params, these can be obtained anywhere using the JComponentHelper class or via your own method. Example: JComponentHelper::getParams('com_your_component')->get('yourcustomfield', 'a-fallback-value'); As an alternative, you can create ...


1

If you want to distribute your module so that other people can use it, then you should keep flexibility in mind. In that case the best practice would be to put images, script and CSS style sheets in their own extension folder in Joomla's /media/mod_yourmodule/js/. The media folder is used for files that are served by components, modules and plugins and can ...


1

Okay.. Found the solution. Here we go: $configs = $document->getScriptOptions('mod_mymodule'); if ($configs) : $configs[$module->id] = $params; else : $configs = array($module->id => $params); endif ; $document->addScriptOptions("mod_mymodule", $configs); The logic wasn't that hard. I'm still pretty new at php and Joomla! ...


1

You have a JavaScript error: SyntaxError: missing ) after argument list Wrap argument list in curly brackets: jQuery(document).ready(function() { jQuery(".owl-carousel").owlCarousel({ loop:true, margin:10 }); });


1

I would program a custom module for this purpose. In its helper file I would load the Model of your component to retrieve the items that you will display. Check out a Joomla core module like /modules/mod_articles_latest to see how it re-uses Joomla's ContentModelArticles. In the /tmpl/default.php I would put the html + php to display the data. As basis ...


1

A solution could be possible using Community Builder extension and it's plugin CB Content Bot.


Only top voted, non community-wiki answers of a minimum length are eligible