Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
16 views

Remove tag association when deleting an item in own component

I followed the MVC Tutorial from Joomla as close as possible to create my own component. I included Joomlas Tags system within my component using the Observer technique in the JTable class class ...
0
votes
0answers
15 views

Joomla configuration under Azure with MySQL in-app

I'm running Joomla under Azure using the MySQL In-App option for the database. Everything has gone well, but I have been unable to get the database config variables in JConfig to pull dynamically from ...
0
votes
0answers
33 views

How to programmatically create and install a module during component postflight?

I want to create and install a module via component postflight. I can get postflight etc. to work, but I can't get it to create and install the module. Code I've created: // Get the database object ...
0
votes
0answers
65 views

Access namespaced custom field method from a plugin into another plugin

In one of my previous questions, I learned how to properly set up a namespaced custom form field, but it turns out that it's only available within its plugin scope for some reason. I need the field ...
0
votes
0answers
29 views

Can't connect to Joomla administration page after Windows10 update

I'm using Joomla version 3.9.6. I encountered a problem just after a windows update. The error displayed is: Warning: session_start(): Failed to read session data: user (path: C:\xampp\tmp) in C:\...
0
votes
0answers
18 views

j2store add to cart button

I'm trying to add J2Store add to cart with below code templates/name-template/html/com_content/article/default.php code require_once(JPATH_ADMINISTRATOR.'/components/com_j2store/helpers/j2store.php'...
0
votes
0answers
30 views

Article links from Joomla article do not work for multi-language website

I have a Joomla article that contains links to other articles: https://www.dev.gonativeguide.com/de/ I add the links with the "+article" button of the editor. My site is bilingual: English and ...
1
vote
2answers
45 views

Extended subform field use own layout from template/html folder

I've created an extended subform field type called families.php, basically I want to have my own custom layout for this custom field, it makes sense I don't want to mess up everything just for this ...
-2
votes
2answers
35 views

Dynamically adding Page URL and Page Title into html Link

I am attempting to create some custom social sharing icons using Font-awesome. I started out with the following code: <span>Share this article:</span> <a class="facebook" href="...
0
votes
0answers
26 views

“Temporarily Unavailable” message when a menu alias contains “contact”

One of the websites we manage, http://wesleyunited.ca , recently started having a problem with menu aliases containing "contact" as a substring: clicking the menu just brings up an empty page that ...
0
votes
0answers
24 views

Contacts - Sending to multiple recipients

Never had to deal with this in the past, but now I have been asked to add a second recipient email on a contact form made with com_contacts. At first glance this seems to not be supported by the ...
0
votes
0answers
23 views

Adding field path and script into form relative to template path

Case 1 I am trying to add field path into templateDetails.xml without specifying a templateName. The following code works <fieldset name="name" label="label" addfieldpath="/templates/templateName/...
0
votes
1answer
30 views

fetch user custom fields in article

I have created some custom fields in user profile from backend templates/name-template/html/com_content/article/default.php and use this code for load custom fields at joomla article <?php $...
1
vote
1answer
59 views

Generate and render a module on an article with PHP

I want to create a module and add it to an article I can already create the module manually and can add it to the article using php. I can't figure out how to add a module using php. So if I have ...
2
votes
0answers
80 views

Can I interrupt installation process with preflight function?

I'm trying to add a note to user when trying to install an extension / module. Basically I want to add note before user continuing the module installation process when an older version found, and ...
0
votes
1answer
13 views

configuration.php unwritable when permission is 0644 but writable when 0664

My Joomla is 3.9.4. When I tried to make some global configuration change in the backend, I got this error: Could not write to the configuration file. I looked at the file system, configuration....
1
vote
1answer
81 views

Create an image overlay on rollover in SP Page Builder

I am trying to create a rollover effect as can be seen here but am struggling as to the best way to do it. The client has requested that the site be built using SP Page builder as they want to ...
0
votes
1answer
37 views

Disabling Menu Recovery Mode for user groups

I'm actually trying to get two administration level for my Joomla Website. The first is the standard Super User with the standard admin menu The second is a "Communication Admin" with only some items ...
0
votes
2answers
32 views

Server name removed from text when submitting JForm TinyMCE editor field

I'm working a custom Joomla module that has a JForm with an editor field. My users use this form to edit and send some email messages to our customers. The field is prefilled by the system with some ...
1
vote
1answer
38 views

Article Table of Content in the sidebar

I need to find an extension to generate the Article Table of Content or Outline in the sidebar like this page (right sidebar). The page will scroll to that heading/content when click to the sidebar ...
1
vote
1answer
37 views

How to force auto versioning of css and js to renew on file change within Joomla! template?

I would like the version of css and js within a template to be renewed automatically on file change. I tried JHtml with auto versioning without the desired result. JHtml::_('stylesheet', 'template....
0
votes
2answers
57 views

Hikashop: Category Name in products listing div

I want to show the category name of a product, inside the category product listing div (category name inside each product div). I use this code to show manufacturer: <?php $db = JFactory::getDBO();...
1
vote
1answer
39 views

What does getApplication mean in Joomla?

What does getApplication mean? I understand instance of class like Input, Registry, and String. What about Application? What does it include? Why do we need this class?
0
votes
2answers
55 views

Jform radio button not displayed or not horizontally aligned with its label

I'm working on a custom Joomla module displaying a JForm with some radio buttons. I'm using the sample code described for Joomla 3+ styling with arbitrary values described here <field name="...
1
vote
1answer
34 views

Get parent menu item object in plugin

Problem Working with a code variation from this tutorial I'm trying to get the parent menu item instance object of a given item (currently editing) and it always returns null. /** * Prepare form ...
0
votes
1answer
21 views

How to update CB fields of user with RSFORM

I have Joomla 3.8.11 and RSFORM 2.0.14. I want to update the CB fields of the logged-in user. The main fields that I am trying to update are via some checkboxes: The checkbox field from RSFORM has ...
0
votes
0answers
34 views

Frontend pagination links do not send POST request

I built a view (call it 'history') to display a list of historic records with couple filters. A change of filter value will trigger the submit (onchange = "submit();"). The view will get the new ...
0
votes
1answer
40 views

Using Link A instead of the title link

I am using the module Articles - Newsflash to show a category of mine, which works just as intended. Now I can see all intro images of the selected articles and also some corresponding text. ...
1
vote
1answer
77 views

JImage - Set generated image quality

I'm using JImage to generate .jpg image thumbnails. $image = new JImage($image_src); $resizedImage = $image->cropResize($thumb_width, $thumb_height, true); $thumb = $resizedImage->toFile(...
0
votes
1answer
52 views

How to get data from core components and modules formatted as JSON?

As I would like to use a front-end JavaScript framework within Joomla I would like to know what's an efficient and maintainable, structured way of accessing data from core components (such as ...
1
vote
0answers
29 views

Echo PHP output in a slider effect

I'm fetching data using for loop and echo results on a page. How do I output the results in a slider effect? I have tried a simple CSS slider but can't get the intended result. What I end up getting ...
1
vote
3answers
129 views

JFactory::getDbo() deprecated— what's the replacement?

I'm running Joomla 3.9.5 and I'm attempting to update my JFactory::getDbo() calls (which are deprecated) to the newer format using the container. However, I'm getting the following error: Call to ...
0
votes
2answers
30 views

“Use Global” not available on menu entry

I have an installation where the article options are wonky. Global and article seems to be working, but on the menu (blog) the "Use Global" options is not available (as it is with a fresh install or ...
0
votes
0answers
10 views

Restrict Publisher/Editor Access to Own Articles

In my Joomla website, I have a few departments like: Education Electricity Women Empowerment Tenders Each department is handled by a different group of people. I will explain one scenario... ...
0
votes
0answers
9 views

How to modify article info visibility for single article shown by “read more” in blog view

I've created a blog menu entry that shows the articles without any article info (which is what I want). But if I use "read more" and navigate to that particular article the info is visible. I have ...
0
votes
1answer
39 views

JLayout Search Tool not populating filters and inputbx

I am converting the searchbar in one of my components to JLayout Search Tools searchbars to become more ready for J!4. Everything is working fine but it is not populating the filters. In view.html....
0
votes
0answers
19 views

How to prevent 404 error on my site's index.php page?

I have joomla 3.x site (mydomain.com). www.mydomain.com and www.mydomain.com/index.php produce 404 error However, www.mydomain.com/index.php/welcomepage works fine and opens my welcomepage. I ...
0
votes
0answers
22 views

how getInstance method works

I was going through codes of application, what document is and it has method getInstance method public static function getInstance($client, $config = array(), $prefix = 'J') { return ...
0
votes
0answers
23 views

custom styles: Heading numbering: wrong numbering

I would like to have headings in an article to be automatically numbered as follows: <h2>a</h2> <!-- 1 --> <h3>a</h3> <!-- 1.1 --> <h4>a</...
0
votes
1answer
28 views

Unable to log in to Joomla! front-end

When attempting to log in using the standard Joomla! login page, the following message is displayed: Warning The security token did not match. The request was aborted to prevent any security ...
0
votes
0answers
12 views

How do I create and use my own layout for category page?

I want to create a custom layout for my category. I've read the tutorial about https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_coreand https://docs.joomla.org/...
0
votes
1answer
34 views

How to write a complex installer script for a component?

I would like to ask the user some questions in a dialog way during installation of my component. As far as I know, this could be done in the preflight method. But I am not sure how to do user ...
3
votes
1answer
61 views

Joomla keeps wrapping content with user-visible p tags

I have observed the same behavior when installing Joomla from multiple so called Quick Start Packages embedding themes and plugins. Right now, I have installed, Basic Joomla running on a production ...
0
votes
2answers
45 views

htaccess problem with joomla and sef

I have the standard joomla .htaccess file installed. The site is at 3.9.4 and works fine. The pages have no extra modules published other than joomla custom modules - nothing else is published. ...
0
votes
1answer
23 views

Index content of YOOtheme text modules

I activated the Zoo search plugin as described at https://yootheme.com/support/zoo/search-plugin and yet what inside YOOtheme text modules (created using the YOOtheme builder) isn't indexed for the ...
0
votes
1answer
33 views

Administrator user getting locked out when adding products

We have a Joomla 3.8.10 website for a client with J2Store 3.3.1, hosted on one of our servers. When our client uses the administrator control panel to add several new products or make several edits, ...
0
votes
1answer
29 views

Why is my JOOMLART UBER navigation menu displayed incorrectly on iPad in landscape mode?

The navigation menu on all devices tested works as expected in portrait and in landscape mode, except on one of our iPads. This issue can be observed with an older iPad. With the newer ones, or with ...
0
votes
1answer
55 views

Adding articles to a local copy, then pushing them to the live version

We have a client who was getting errors when trying to add a lot of articles (like a dozen) to their live site in a short time span, but we found that after moving their site to a localhost they did ...
2
votes
1answer
38 views

How to configure Eclipse Project for Joomla Component Development

I like to develop a fresh Joomla Component for Joomla 3.x in Eclipse and created therefore a simple PHP project. The problem I have is now how to setup the correct "include path", so that the basic ...
0
votes
2answers
44 views

Is there any one to use the mod_menu as we please? *Modifying the backend*

so I've been asked to make a special menu for a website.I'm using the default module that is mod_menu. The issue is I want to modify the HTML Structure to that module. But I heard modify the default ...