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
5
votes
2answers
256 views

Updating deprecated methods

I'm updating an old bit of custom Joomla plugin, and there's a deprecated line saying JResponse::allowCache(false); -- what's the "right" way to handle this for Joomla 3.x compatibility? Also, ...
5
votes
4answers
5k views

Blog layout - responsive image grid positioning

I use the category blog layout and override it to wrap a link around the article intro-image, which points to the article. Now i want to achieve a responsive image grid positioning like you can see ...
5
votes
3answers
3k views

Restrict front-end component access

I'm developing a Joomla component and would like admins to have the option to restrict access to a particular view in the front-end. If a create a menu item for this view, then try and access it via ...
5
votes
1answer
5k views

Menu item without link

I often create a menu item with no link (like a not-clickable menu item with a dropdown menu), but in the "System Links" tab, there are several options that look similar. What's the difference ...
5
votes
2answers
1k views

How to get Ajax response within a Module?

I am coding my first experimental administrator/module so that I can understand how Joomla performs ajax calls. I only need to refresh the content of my module with some server info and a couple of ...
5
votes
2answers
336 views

Superscript/subscript in Joomla Article Title

Is there a way to add superscript or subscript in Joomla Article Title words? as Joomla cleans the tags from title area. Thanks
5
votes
1answer
124 views

How does the akeeba backup actually work for cron jobs

This is just a general question into how the Akeeba backup system works when called from a cron job. I have traced the coded as much as I can and understand that its called from the front end and ...
5
votes
2answers
2k views

Two left join in one query to Joomla database

I have two tables: #__records and #__parents. In the first table some records may have parent records that are stored in the same table but relations between childs and parents are stored in the ...
5
votes
3answers
315 views

Equivalent tool to Drupal Web Forms

Getting into Joomla and love the system. Wondering if there's an equivalent to Drupal web forms for Joomla or Gravity Forms for Wordpress.
5
votes
4answers
4k views

How to disable frontend editing on a specific module?

The frontend icon on the language switch module is really annoying. How could I disable the frontend editing for a specific module? EDIT: I do need this icon for all the other modules, it just that ...
5
votes
1answer
1k views

SQL Injections using Jfactory::getDBO and setQuery()

$db = JFactory::getDBO(); $searchP = JRequest::getVar('key'); $sql = "SELECT name FROM people LIKE " . "'%" . $searchP . "%'"; $db->setQuery($sql); $fileR = $db->loadObjectList(); Will ...
5
votes
3answers
3k views

how to reduce server response time

How should i improve my site's server response time? on gtmetrix waterfall tab shows that my site spends 2.8 seconds on requesting part how can i reduce this part's duration? any help would be ...
5
votes
3answers
7k views

Redirect users to the page pointed in the URL after login

In Joomla 3.5.1, I want to redirect users to a specific page, like: https://www.domain.com/login?return=L2YlQzMlQjNydW0tcGVyZ3VudGFzLWUtcmVzcG9zdGFzL2NvbnZlcnNhdGlvbi9yZWFkLmh0bWw/aWQ9MjU= Where the ...
5
votes
1answer
4k views

Click on custom button opens modal window

I've got some custom buttons in my Joomla component and I want them to open in a modal window like with the batch button in the com_content component. Anyone has got any idea on how to do it? Thank ...
5
votes
1answer
582 views

File upload with unicode filename

I am trying to upload a word file into media manager: the file name is in unicode (in Russian) - файл_для_загрузки.docx . After upload the file automatically is being renamed to __.docx. How to ...
5
votes
1answer
716 views

How to add a batch button in Joomla?

hello all actually I'm developing a component for school in which i want to add a batch button for asking about fail & leave fail & reappear pass & promote, pass & leave and for this i ...
5
votes
3answers
2k views

Default menu item undo

I have accidentally set a single article menu item to be the default page of my site. So that page now acts as the site home page. In the menu manager for the Main Menu, that menu item now has a ...
5
votes
2answers
840 views

Add a class to all images in article dynamically

I'm trying to build a plugin that adds a class to all images in my articles. So far I have the following code: <?php // no direct access defined('_JEXEC') or die; jimport('joomla.plugin.plugin'); ...
5
votes
1answer
3k views

How to use data from another table in my view?

I'm struggling to learn Joomla 3.x and am baffled as to how to join my record to another table and use the joined data in my view/form. I'm familiar with components that use something similar to this: ...
5
votes
2answers
3k views

How to show and save a form from module like we do in components?

I do display and save forms in Joomla MVC components using jmodeladmin classes. But how can I do same thing from a module? As modules don't do things in the MVC way that automatically can find the ...
5
votes
2answers
175 views

How to reverse-engineer a 3rd party Joomla extension to clone it and to be able to make modifications to it?

I have a template from a provider in which they've included a new content type and a com_content override. The template is a quick install. I'd like to find out - what files have been added by ...
5
votes
3answers
4k views

Joomla custom fields in Category List

With Joomla 3.7.x article custom fields have finally gotten part of Joomla content. However, I would like to ask how I can render these Custom Fields in the Joomla Category List? Adding custom ...
5
votes
4answers
1k views

Upload HTML5/CSS3 to Joomla

I am running an internship at a small company, and I am supposed to create their new website. I have coded on my computer, in HTML5/CSS 3 and some JavaScript code, a website that pleases all of ...
5
votes
1answer
268 views

Equivalent of unset using jinput

How can I do the below using Joomla API JFactory::getApplication()->input; unset($_GET["variable1"]);
5
votes
2answers
433 views

How do i remove the id from Joomla 3 URLs using code

I know this question has been asked before, I think I've read most of the answers: make a menu item for the article hack the core (router) use a paid SEO extension like sh404sef use rewrites None of ...
5
votes
1answer
92 views

How to create my own Joomla distribution with the extensions I always use?

I want to make "My Own Joomla". Instead of creating my sites starting from vannilla blank Joomla installation, and then manually adding my favorite extensions and configuring my favorite options and ...
5
votes
2answers
423 views

How can I load the new Protostar custom CSS stylesheet last?

I have been using EasyScript to load custom CSS on a website using the Protostar template: This works well and allows me to override the template styling and also third party extension styling (e.g. ...
5
votes
1answer
3k views

How to use com_api plugin for REST?

I have installed the com_api component and plugin from the official site for REST calls. I should authenticate user login with a web service at another domain using REST POST. How should I do it? I ...
5
votes
2answers
149 views

It is safe to allow access to Joomla default Administrator user-group?

I need to allow access to an untrusted person to a site. I understand that the "Administrator" user-group is not allowed to upload or edit php files, install extensions, or any other stuff that ...
5
votes
2answers
9k views

How to categorize an Article under many categories?

Is there any plugin or extension that able to allow adding Joomla article under many categories?
5
votes
1answer
1k views

Joomla access state variable in modules

How can I access my state variables in Joomla modules? Usually I do it like $app = JFactory::getApplication(); $variable = $app->getUserState('com_mycomponent.view.filter.variable' ,'default'); ...
5
votes
1answer
155 views

Joomla Site not detecting https protocol

I have a Joomla site that I am finishing up and now loading onto the server that will host the live site. I'm now getting the following error in the javascript console: Mixed Content: The page at '...
5
votes
1answer
485 views

PageNavigation Plugin

I need to move the |Next/Prev* buttons, located in the pagenavigation plugin to after the <jdoc:include type="component" />; Basically render it anywhere in my templates' index.php? Any ideas ...
5
votes
2answers
1k views

What does $context parameter of content plugin mean?

I've read that $context parameter is: "The context of the content being passed to the plugin - this is the component name and view - or name of module (e.g. com_content.article)" https://docs....
5
votes
2answers
1k views

Change menu item title according to login status

I am using T3 Framework blank template. In the megamenu I have inserted the login form as a submenu, so it shows up when the user hovers over the menu item. I would like to change the menu item title ...
5
votes
1answer
6k views

How to change or hide the author meta tag? Facebook still shows the author meta when sharing

I am trying to change the author meta tag. Now, when a user goes to share something to facebook, then the author meta tag is displayed his name. I want to change it to his username. thank you
5
votes
2answers
887 views

Get access to php variable in Joomlas addscriptdeclaration for Javascript

How do I get access to php variables in Joomlas approach to integrate Javascripts with addScriptDeclaration? $document = JFactory::getDocument(); $variable = "test"; $document->...
5
votes
1answer
214 views

Item being edited was created as a new record instead of saving changes after clicking submit

Has anybody encountered this kind of issue where in my edit form, after clicking submit, it creates a new record instead of saving the changes I made? it was able to load the data of the item i ...
5
votes
1answer
408 views

Joomla custom session data is overwritten

I'm writing a custom component cart, and using a form post to save cart data in the Joomla session. It works initially, but then if the user goes back to add another item, the original item is ...
5
votes
1answer
9k views

List articles by Category and Sub-Category

It seems unbelievably difficult to display a list of articles, grouped by their category/subcategory with the category as a sub-heading. The Articles Category module seems to come close as I can ...
5
votes
3answers
2k views

Force SSL on parts of my Joomla site

In Joomla 2.5 and/or 3, is it possible to enable SSL on certain pages? I am aware of the "Force SSL" option in global configuration, but I have a site with an e-store, and I would like to redirect ...
5
votes
1answer
444 views

PHP 7 Upgrade Breaks Joomla Theme

I have a website running Joomla 3.9.1, which uses the Shape5 - Vertex template (one of Shape5's free templates, although the company is now owned by JoomlArt). I am trying to upgrade to PHP 7.2, but ...
5
votes
2answers
145 views

Errors de-crypting libsodium encrypted values from database

I've been implementing some encryption at rest in one of our Joomla components, but keep getting a couple of errors when de-crypting the values when they're written and read from a database. So I ...
5
votes
1answer
817 views

How to find path and list files in directory?

I would like to simply list some files from my web server and display the file names on the front-end of my website. I use Sourcerer plugin and created a custom module where I inserted this code to ...
5
votes
2answers
688 views

How to avoid fake users to register my Joomla site [duplicate]

I have a Joomla site that allows users registration. Form registration uses captcha plugin that comes with Joomla. The problem is that I am constantly receiving fake registrations. Most of them, ...
5
votes
2answers
206 views

<customContent /> or <field type=“editor”>

I was interested to see the answer to this question which mentions the <customContent /> tag. I'd never come across this before, and I'm struggling to find much information on it. It does not ...
5
votes
2answers
605 views

Apply the same code on PHP to content of component and each module

I have some code on PHP something like: $oldstring = ...; ... $pattern = ...; $newstring = preg_replace_callback($pattern, ... {...}, $oldstring); echo $newstring; I need to apply this code (maybe ...
5
votes
1answer
3k views

How to add web font to tinyMCE?

I'm on Joomla 3.4. I have checked JCE editor and there's a way to simply add in the configuration an option so that each time I click on the option from "font family" it will add, in line, the custom/...
5
votes
1answer
6k views

Downgrade (rollback) Joomla Versions

Is is possible to downgrade Joomla versions, for example from version 3.4.3 to 3.4.1? I know restoring from a backup is the easiest and most efficient way, however is there an alternative? I have ...
5
votes
5answers
220 views

Joomla 2.5 to Joomla 3.X

I would like to know, if there're many differences between Joomla 2.5 ad Joomla 3.X How can I update my joomla website (2.5) to the last version without losing data. Same for my modules, plugins etc

1
3 4
5
6 7
59