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.

Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

Joomla main page header length maxmizing

Unable to adjust main page header length of the Joomla karoltheme template(v 3.9.1). Tried changing the template.jss but failed. Great to know the correct way of adjusting the main page header length....
1
vote
1answer
55 views

Code for the Content Language Field type

What is the proper way to call for the Content language field type. My below code works but I don't use the content language field type. I am building a drop down from all available languages. $...
1
vote
1answer
54 views

Menu has > symbol

My bottom menu in the footer position has a greater than symbol (>) or chevron that appears before every menu item. The menu appears at the footer of this website: https://www.brettvachon.com/ I ...
1
vote
1answer
32 views

Joomla Warning Showing Incorrect PHP Version

Using Joomla 3.9.8 I recently migrated from localhost (PHP 7.1.9) to a live server (PHP 7.2) On localhost my site was installed at localhost/mysote. On my live server it's installed at dev.example....
0
votes
1answer
79 views

How to remove username field from the reset password confirmation form?

Does anybody know how to remove the username field from the reset password confirmation form? I edited the reset_confirm.xml file in /components/com_users/models/forms to remove it from the front end,...
0
votes
0answers
25 views

komento comments count at article

I'm trying to add komento comments count add to article at below file templates/name-template/html/com_content/article/default.php code $query->select(' COUNT(jc.id) AS ...
1
vote
2answers
69 views

How to fix empty Itemid's like https://www.joomla.org/?Itemid=

Google has indexed an URL on my site like this: https://www.joomla.org/?Itemid= This results in strange page of course. Try it with your own site! What would be the best way to redirect this to the ...
0
votes
1answer
34 views

Setting Joomla input

I'm using $jinput = JFactory::getApplication()->input; to get an array of the input from a page. I then use: $foo = $jinput->get('jform', '', 'raw'); I can then echo $foo['...
0
votes
0answers
32 views

setting component parameters

I'm trying to set a parameter of a component. I have models->rules then the php rule. This seems to work fine. However when I try to set one of the component params it refuses to do it. I've ...
2
votes
1answer
25 views

Remove Subcategories title and links from bottom of Category blog

I am using a category blog menu item type in order to display article intro’s for a number of subcategories. Under the blog layout settings, 'include subcategories' is therefore set to all in order ...
0
votes
0answers
18 views

Search tools labels

I am using Search Tools and noticed that labels in filter form fields are not rendering, despite being present in xml. I also noticed that there are no labels in standard filters, (like on User ...
0
votes
1answer
35 views

Joomla update gone wrong

I tried to update my Joomla site (www.thecolourchangers.nl) to Joomla3.6.5 via the update button and the site has made a backup. The trouble is: nothing is working anymore. I have unpacked the /tmp ...
1
vote
1answer
53 views

Translate only one string in component rest of component stay with default language

Is there a way to translate a single string with a language that is different from the default language? (Google search did not lead me to a solution.) Example code that does not work: // This shows ...
0
votes
1answer
24 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
20 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
41 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
69 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
72 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
23 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
31 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
77 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
1answer
45 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
28 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
26 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
32 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
42 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
76 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
63 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
2answers
99 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
53 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
35 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
42 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 ...
2
votes
2answers
51 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
67 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
41 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
78 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
39 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
44 views

How to update Community Builder fields of user with RSFORM

I have Joomla 3.8.11 and RSFORM 2.0.14. I want to update the Community Builder fields of the logged-in user. The main fields that I am trying to update are via some checkboxes: The checkbox field ...
0
votes
0answers
68 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 ...
1
vote
1answer
60 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
90 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
68 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
34 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
230 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
31 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
46 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
20 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 ...