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

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

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 ...


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

There is no way to pass the JEXEC constant to the file, other than including a file that defines it - Generally you would want to go through Joomla for this. Turn the whole form to a module and use com_ajax to make the AJAX calls to the helper of your module. https://docs.joomla.org/Using_Joomla_Ajax_Interface Alternatively, you could have used a mature form ...


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 }); });


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