Questions tagged [joomla-3.x]
For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.8.
2,964
questions
2
votes
1answer
34 views
Change the helper.php path for com_ajax
I'm trying to use Joomla's com_ajax for my module by using this url : index.php?option=com_ajax&module=MODNAME&method=MODMETHOD&format=json
However my helper.php file is located under ...
1
vote
1answer
21 views
Compare new data with old data in JModelAdmin save() method
I create a new component for Joomla and just work on an override for the save() method which is inherited from the JModelAdmin class.
The goal is to modify the data a bit before I submit it to the ...
0
votes
0answers
30 views
Uploading a .ZIP To Site
Using cPanel on Host Gator, I am trying to upload a .zip Extension. However, anytime I try to upload this I get the errors:
JFolder::create: Could not create folder.Path: /home/packages
Warning: ...
0
votes
0answers
8 views
Chronoform6 Page not listed in SP Page Builder Joomla Module
I try to embed a Chronoform6 page into an SP Page Builder page using the Joomla Module Addon. However the Chronoform page is not listed in the dialog of the Joomla Module Addon. Does anyone know why ...
0
votes
0answers
13 views
Add tags to K2 article programically
Is there any way to add tags to a K2 article using PHP? Maybe there is a K2 tag observer class that I can use to add the tags like the code below.
$tagsObserver = $Table->getObserverOfClass('...
1
vote
0answers
23 views
Add an Image to K2 article pragmatically
I want to add an image to a K2 article using PHP. Is there a way to add an image when I am creating the article using PHP? Adding the title, body, and category is simple enough. All you have to do is ...
0
votes
0answers
12 views
Pick and choose what categories are added to a menu in a categorylist
I am trying to create a menu in Joomla and want to pick and choose what categories are added in my categorylist menu. Now I can pick a parent category and it will list all sub categories, but what if ...
1
vote
1answer
12 views
CSS position: absolute doesn't display correctly on Amazon Fire tablet
I have a Joomla 3.9x website with a custom responsive menu. Each menu item in the top level has a pseudo ::before element displaying icons from a custom font. If the item is a menu separator, then the ...
0
votes
1answer
28 views
I have view of categories showing one category after other one, I want to show it but each one in tab can You help?
ok I had view like this
<?php
foreach ($categories as $category)
{
if (!$config->show_empty_cat && !count($category->events))
{
continue ;
}
?>
<div ...
2
votes
1answer
68 views
How to clear Joomla default search filter value when leave current page?
I developed the component based on the https://docs.joomla.org/J3.x:Developing_an_MVC_Component/Adding_decorations_to_the_backend tutorial, using the default search filter function to put it in the ...
1
vote
1answer
18 views
Home flag in content languages is set to NO and cannot be set back to YES
I am trying to build a multilingual site with Joomla 3.9. Due to unknown reason, one of the "Home" flag in content languages is set to "NO" and I can't set it back to "YES&...
1
vote
1answer
31 views
How to write Joomla functionality that writes image data directly to the browser?
I am in the process of writing Joomla functionality that will produce JPEG-images on the fly using Imagick and GD. It is supposed to be used in Joomla articles like this:
<IMG src="/index.php?...
1
vote
0answers
23 views
Why the article ordering does not follow the date?
Recently I want to change the order of my article.
I set the Blog Layout Options -> Article Order -> Most recent first Date for Ordering -> Created However, it does not follow the date to ...
2
votes
1answer
29 views
Recommend a contact us module for Joomla 3
I am looking for a module in Joomla 3 that creates a contact form below the article.
It must help me to send a copy of the message to my visitor who have inquired and send another one to our contact ...
2
votes
1answer
25 views
User creation with PHP : disable sending email
I'm using the User Class to create new users. Here are my fields :
$udata = array(
"name"=>$data['name'],
"username"=>$data['user'],
...
0
votes
0answers
26 views
Error 500 when drag & drop an image via tinymce
I have two domains pointing to the same joomla 3 : example1.com (main domain) and example2.com.
When I edit an article in front via the main domain, the drag & drop of an image works well with ...
3
votes
1answer
37 views
Can article be automatically unlocked after a certain amount of time in joomla 3?
referring to this issue in 2014:
Can content items be automatically unlocked after a certain amount of time?
is there a good solution for unlocking items after a certain period of time with Joomla 3 ?
1
vote
0answers
28 views
Password Reset on Login Form
Joomla 3.9.23
I have a meu item type Users » Login Form, this displays;
username
password
remember me checkbox
login button
Should there alslo be links to Forgot your Password? and Forgot your ...
2
votes
0answers
19 views
Getting no login prompts when trying to access private content, getting “Page not found” instead
I have private content on the site, and I want "non-registered" users to be redirected to the login page when they try to access the private content, without using any extensions.
I have ...
0
votes
1answer
23 views
Looking for a portfolio module?
I am looking for a specific module for Joomla, open source or paid does not matter, most importantly it has the options I need.
What I am looking for is a portfolio module where each photographer can ...
1
vote
1answer
38 views
Programmatically created article: System-Pagebreak problem
I have created 1000 joomla articles via console import (It was a migration from other source).
Everything is working fine (Tagging, Intro-Text, Custom fields and so on) but i have a problem with ...
0
votes
1answer
24 views
Is Joomla a correct choice for a social medium with rankings of products?
I'm thinking about creating a certain website and I'm not sure if Joomla is a tool I could use and would be one of the best choices.
I would like to create something like https://www.imdb.com/ , i.e. ...
0
votes
0answers
23 views
Combine a custom module and component
I have inherited some custom components and modules for development. One module depends on one component very heavily. Is it possible to combine these two into one installable package? If so, how?
0
votes
1answer
21 views
Connect to External Mongo
Is it possible to connect to an external mongo db or some other no sql database to get some data?
I don't mean to have no sql database as the main joomla installation. Joomla is installed to mariadb ...
0
votes
0answers
18 views
New User Activation Permissions
Joomla 3.9.23
I have a user that's in the default Administrator group, I have also created a new group Staff, which is a child group of Registered. See image;
When Staff register on the site ...
2
votes
1answer
66 views
Making /joomla subdirectory the website root AND forcing HTTPS
Setting up a Joomla site on Apache 2.4 on a Synology Disk Station. Joomla is unavoidably installed in a subdirectory of the web root (/web/joomla) and unfortunately do not have access to the Apache ...
1
vote
1answer
91 views
Joomla 3.9.23 Installation error after moving configuration file
I've installed last version of Joomla (3.9.23) and have encountered a problem.
When I install Joomla with automatic setup all is working correctly.
What I need is to install Joomla by deploying ...
0
votes
0answers
14 views
Joomla CHMOD index.php changed from outside
For some time I have had the issue that the file permissions for index.php in the root directory (and sometimes within /administrator folder as well) is automatically changed from 644 and so page ...
1
vote
0answers
37 views
Display modules only in articles (not in the article list) and only in articles with a specific tag
I'm using the J2STORE component on Joomla 3.9.22.
I would need to publish a module in a Blog category but only in the articles (not in the list), in this case the articles are products of j2store.
...
1
vote
1answer
31 views
The template style option is missing from all menu items
We have a weird problem where at some point our menu styles dropdown has disappeared from all menu items. We can see it in our old site, and we're pretty sure it used to be there, and we're not ...
0
votes
3answers
98 views
Problem with K2 Plugins - Joomla - Warning: count(): Parameter must be an array
Warning: count(): Parameter must be an array or an object that implements Countable in /home/......./archi/html/com_k2/templates/default/item.php on line 398
396 <!-- K2 Plugins: ...
2
votes
2answers
92 views
How to get access to image metadata from PHP?
I am in the proces of writing a Joomla extension that utilizes metadata embedded in image files in IPTC, EXIF and XMP chunks. In particular, I want to gain access to "Title", "Tags"...
0
votes
1answer
40 views
Set Joomla cookie via cURL from external website
I'm trying to set up a cookie in Joomla from an external website using cURL. The process flow is as below:
User does an action in external.com
external.com cURL a URL in joomla.com
joomla.com sets ...
0
votes
0answers
30 views
Add a packet with composer
I have seen Joomla has composer build in -in the core- under /libraries/vendor.
Now I want to implement AMP Optimizer with composer for modifying the html output.
Is it possible, and how to add this ...
0
votes
0answers
13 views
How to add class to containing p tag in Joomla TinyMCE
I am trying to add a class to the containing p tag using the TinyMCE styles.
eg.
<p class="text-left">test</p>
However, when I select the style from the format drop-down list, an ...
1
vote
1answer
24 views
How to disable close modal box when click background?
I use Joomla modal to popup an internal link.
JHTML::_('behavior.modal');
<a class="modal" href="contact-us.html" rel="{size: {x: 480, y: 500}, handler:'iframe'}">...
1
vote
1answer
38 views
JFactory query to select field value if mulitple conditions are met
I'm basically trying to create a Joomla JFactory query to COUNT and SELECT data if a particular field's value meets my criteria.
In "myTable", I may have several records where Field4 may ...
0
votes
0answers
5 views
confirm dialog, on New Custom Field creation
I am in the process of creating a new type of Custom Field. (Joomla 3.9x)
As a new Field under Plugin.
I need to have a confirm-dialog on beforeSave, but I can't find any proper tutorial on how to do ...
0
votes
1answer
52 views
Display intro image inside mod_breadcrumbs
I try to add code in order to display article intro image inside the mod_breadcrumbs.php but I have no luck so far. Any help? I have tried some variations of this code:
<?php
$article_images = ...
0
votes
0answers
18 views
Want to show random item title from one appointed category
I have following codes:
<?php foreach ($list as $item) : ?>
<li<?php if ($id == $item->id && in_array($view, array('category', 'categories')) && $option == '...
1
vote
1answer
26 views
Install component via FTP, copy component from one installation to another
I have a weird and unfortunate situation. I use a certain component which the creator of it retires due to stage four cancer. This means that I cannot download the component anymore, but I do have the ...
1
vote
0answers
42 views
Using Tags in an Extension
So far I made the follow changes looking for add tags functionality to my extension:
Register a Content type
Add Observer methods to the extension table class
class TagimagesTableTagimages extends ...
0
votes
0answers
34 views
joomla article override: poster category
Still in my recovery of overrides, I try to display in the override of an article the category in which the article is located
I test this
nothing is displayed I must not retrieve the variables
<?...
2
votes
1answer
44 views
Launch a module in an article override
i tried this
<?php// Render modules inside this article override
$doc = JFactory::getDocument();
$renderer = $doc->loadRenderer("modules");
$raw = array(“style” => "...
1
vote
0answers
36 views
Unable to change 'Joomla Update' options for upgrading Joomla 2.5 to 3.x
I am trying to upgrade Joomla 2.5.28 to Joomla 3.x using the steps described here: https://docs.joomla.org/Joomla_2.5_to_3.x_Step_by_Step_Migration
I backed up the original website using Akeeba and ...
0
votes
1answer
24 views
Spam Registration for Joomla 3.6.0
I've just recently started getting a LOT of spam registration on a Joomla! website that my company host for one of our clients. I know they are spam because every single user has "https" in ...
0
votes
1answer
33 views
About custom field in default_articles.php
I've already created a custom field called "part-no", and I want to show the "part-no" that exist in all articles in the same category. But now it only show the "part-no" ...
0
votes
1answer
33 views
Get multi checkbox values from jpost [duplicate]
I can get my form data using
$jinput = JFactory::getApplication()->input;
$jpost = $jinput->post;
$feedback = $jpost->get('feedback', '', 'STRING');
But I have a group of checkboxes[] and ...
0
votes
1answer
19 views
Render template on iframe by template ID
I am facing a problem with the rendering template after duplicating. The situation is I want to load a template on iFrame. So, I've set the URL of the iFrame like-
Uri::root(true) . '/index.php?...
1
vote
0answers
18 views
Joomla multilingual site HTML tag attributes don't change after install k2 component 2.10.3
I found a problem in the "System - K2" plugin in version 2.10.3.
When the "System - K2" plugin is enabled, if the site is multilingual, the language attributes ("lang" ...