All Questions

Filter by
Sorted by
Tagged with
7 votes
2 answers
14k views

How (re)set password for admin after migration from 1.5?

I migrated an old Joomla 1.5 site to a shiny new Joomla 3.3 version using the tool SP UPGRADE. Now I can't seem to login and I fear its because all the user passwords in the DB look like 'MD5':'Salt'...
tgunr's user avatar
  • 71
7 votes
1 answer
5k views

Override MVC classes in Joomla 3

Is there anyway to override MVC classes in Joomla 3? I have found this thread but it is for Joomla 2.5. How to override core classes? I have done MVC overrides in Joomla 2.5 successfully but now I ...
cha's user avatar
  • 387
6 votes
1 answer
768 views

Can't see alternative layout once i add xml file

I create a file "product.php" in "\templates\beez3\html\com_content\category" I can see it in "alternative layout option" but i can't see it in "menu item type". Then i create a "product.xml" file. ...
yip102011's user avatar
6 votes
3 answers
1k views

Joomla/PHP How can a plugin append a css class to the body section?

Hello Joomla Community, How can a css class be appended to the <body> from inside a system plugin? Any advice is appreciated, Thank you.
SePröbläm's user avatar
6 votes
2 answers
4k views

Logging in user without getting password from them

My requirement is something like login by Facebook, so the user does not provide password but gets logged in. I want to make a user logged in from within extension code by knowing his user id and/or ...
dev-m's user avatar
  • 1,351
6 votes
3 answers
839 views

Input filtering an array of integers, words

This is one that has bugged me for several years now - Joomla provided JRequest, and then JInput to access filtered data from the incoming request. You can ask for filtered strings, integers, words ...
John Rix's user avatar
  • 551
6 votes
3 answers
3k views

Programmatically Add Menu Item in Component

I am trying to create a component where the user can add a menu item to an existing Menu after creating the article (or selecting from a list of article). The closest I could come across to an example ...
sifu's user avatar
  • 1,105
6 votes
3 answers
5k views

What does JHtml::_ do?

I've seen code like this: JHtml::_("script", "path/to/script.js"); JHtml::_("stylesheet", "path/to/stylesheet.css"); JHtml::_("jquery.framework"); What does the underscore function do here?
Flimm's user avatar
  • 481
5 votes
2 answers
530 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. ...
Neil Robertson's user avatar
5 votes
2 answers
2k views

RESTful API to manage article

We have an application which collaboratively collects data from authors. We want to upload curated content to different joomla powered sites. The current application is built on Ruby on Rails. Does ...
Amit Patel's user avatar
5 votes
2 answers
3k views

How Can I Get Rid Of Category Pages in Joomla

I have created several categories in my Joomla site to keep my articles organised but I have noticed that Google can see these categories and the category id and name is being added randomly to the ...
Laura's user avatar
  • 51
5 votes
3 answers
1k views

Editor stripping Script

I have a form which has been created in a CRM and then the code copied in to the website and updated to make it look and read better. However, when I copy the code in, the "script" at the bottom of ...
Sam Potts's user avatar
  • 293
5 votes
2 answers
2k views

Should I use JResponse::setBody or onContentPrepare for strings replacements?

I am developing a shortcodes plugin that searches trough Joomla content and creates html outputs from the matched string. Currently I am using this public function onContentPrepare($context, &...
Dan's user avatar
  • 889
5 votes
1 answer
146 views

How to adjust search keyword sanitization settings as language override?

I am working on some custom search plugins and I have a 2-part question regarding the file administrator/components/com_search/helpers/search.php. I want to adjust the sanitization settings without ...
mickmackusa's user avatar
  • 4,791
4 votes
3 answers
5k views

How to add article image to module mod_article_categories?

I am using Articles - Categories module in my Joomla website (my custom template) and it works great, meaning that it lists all articles with intro text from the categories I want. But it does not ...
Miha's user avatar
  • 71
4 votes
2 answers
2k views

Still required to turn Remember me off when migrating from 2.5 to 3.x?

With 3.3 and 3.2.4 is it still required to turn the plugin Remember me off? What is the technical reason?
sovainfo's user avatar
  • 876
4 votes
3 answers
2k views

Pass var to jQuery script

I need to pass a php var to a jQuery script. They are in separate files, one file to php code and another file to jQuery scripts. Is there a way of doing it? I am using Joomla 3.4.1. I just need to ...
n.h.'s user avatar
  • 871
4 votes
3 answers
565 views

Mass Joomla sites Updates / Maintenance

I have around 100 websites on a single server, all in j3.2.x all working fine. Now if i want to add a single module/component/plugin in all the websites i have to log-in in all the websites and add ...
Brijesh Savaliya's user avatar
4 votes
2 answers
193 views

Many usergroups slow down sections of the website

I am working on a Joomla 3.3.0 website that has about 140 usergroups. However this causes the joomla to slow down, particularly when I am going to the sections of the website that needs to load the ...
FFrewin's user avatar
  • 19.7k
3 votes
1 answer
373 views

How to create an instance of the Joomla CMS from the browser or the command line

Recently there have been a number of questions posted on JSE relating to how to load the Framework that in most cases is really asking how to load up the Joomla CMS either from a command line or via a ...
Irata's user avatar
  • 3,917
3 votes
2 answers
3k views

Layout Overrides: Intro Image Link

I have searched everywhere for this answer but I can't find it. I really like the new layout overrides in Joomla 3 but I want to be able to add a link to the intro_image.php file so that when a user ...
DesignSubway's user avatar
3 votes
3 answers
2k views

Overriding Core Components Model Form XML

I want to change the Field type for the Article's Links, from input text to DropDown List with internal menu items. I am looking for a convenient way to do this with the minimum work. I can't find ...
FFrewin's user avatar
  • 19.7k
3 votes
3 answers
5k views

Using AJAX in a custom module - how to do it?

I think this might be useful in future for many others. First of all, I know that there's com_ajax for this kind of a job, but I do not want to use it. Is there an alternative? What I got: default....
Poo123's user avatar
  • 155
2 votes
5 answers
10k views

Single Sign On (SSO) Joomla with other System

I've been searching over the net on how to make a Single Sign On Joomla 3.3 to work with a system that is based on Java. Both Joomla portal and java system are under the same server. I need it to ...
Syafiq AZ's user avatar
2 votes
1 answer
1k views

How to make a single-page template?

I want to make a single-page template from scratch, but I don't really know where to start. I'm using Joomla 3.x, so my approach should be bootstrap compatible. I guess that since the menu buttons ...
mattosmat's user avatar
  • 317
2 votes
3 answers
4k views

Sending POST data within module - AJAX

Requirements for this task is - I can NOT use any type of components (com_ajax is out of the options list) GOAL: send post data if checkboxes are 'checked' using ajax within custom module. Is my ...
Wizzy1996's user avatar
2 votes
1 answer
879 views

Correct ways to verify update query is successful under conditions

I was trying to find out correct ways to verify db update query is successful but some problems i am fetching. Even if update query($db->execute()) is not done/row does not exists.... but it ...
dev-m's user avatar
  • 1,351
1 vote
3 answers
2k views

select data from several tables in one query - how to control JOIN?

I'm building on my question here: Build a query with JOIN, but filter and sort that joined table first Now the goal has become more complicated and I can't solve it. Here's the problem: I'm building ...
michi's user avatar
  • 37
1 vote
1 answer
1k views

Joomla 4 - how to set namespace for custom field addfieldprefix

I have the editors-xtd\vimeo plugin with this structure ..\plugins\editors-xtd\vimeo\models\fields\(a bunch of custom fields) ..\plugins\editors-xtd\vimeo\forms\form.xml ..\plugins\editors-xtd\vimeo\...
thednp's user avatar
  • 415
1 vote
2 answers
495 views

Selecting data from two tables and make a ranking in an HTML table

I want take the result from scheda_atleta table for every player and make an HTML table with the best result. I've two tables: first named: at +----+----------------+ | id | nome_e_cognome | +----+----...
Frullix's user avatar
  • 13
0 votes
1 answer
934 views

How to SET a user-defined MySQL variable and increment it to produce ranking values with JDatabaseQuery?

I'm trying to write this query: SET @rownumber = 0; UPDATE #__hikers SET rank = (@rownumber:=@rownumber+1) ORDER BY score DESC; like JDatabaseQuery, but still got an error. Please help UPDATE: I ...
Midhat's user avatar
  • 109
0 votes
3 answers
1k views

Store data to other table and get the id

I'm using a method to store information in another table. This is how I'm doing that: public static function CreateMail($userid, $title, $state = 1) { $maildata['userid'] = $userid; ...
MyFault's user avatar
  • 677
23 votes
7 answers
22k views

How to detect if user is Super User?

To determine whether the visitor is a guest, we use something like this : if ($user->guest) { echo 'Hello, guest!'; } Now, if i want to determine whether the visitor is a registered SuperUser (...
saibbyweb's user avatar
  • 2,289
17 votes
3 answers
14k views

Joomla tmp directory - What is it for and can I delete its content?

My Joomla website currently uses about 100 MB of storage. I checked my folders and found out that the tmp folder is about 30MB and contains a number of files and folders named like "...
FFrewin's user avatar
  • 19.7k
17 votes
4 answers
8k views

Joomla Registration: Remove unneeded fields

First, I am aware of this question: https://stackoverflow.com/questions/14799733/remove-name-field-from-joomla-registration-form But the link in it's answer is dead, and the file path mentioned ...
gfrung4's user avatar
  • 271
15 votes
7 answers
10k views

Upgrade from 2.5 to 3.x overview

This is something I have been curious on for some time considering a few things. How well is the "one click" upgrade going to improve prior to the EoL of Joomla! 2.5? Right now we have a very low ...
Jordan Ramstad's user avatar
14 votes
9 answers
6k views

How can a module be disabled based on device or viewport size in Joomla 3 to optimize performance for mobile devices?

I'm a proponent of Responsive Web Design in conjunction with Adaptive Web Design (i.e. - one design that adjusts display for all devices and provides content based on view port size) as opposed to ...
NivF007's user avatar
  • 2,097
14 votes
4 answers
15k views

How to get Itemid by URL and pass it to JRoute

I have a menu item for a specific view in a custom component. Attached to this menu item I have another Template Style selected, not the standard template. Accessing the view via the menu works well, ...
Valentin Despa's user avatar
13 votes
1 answer
4k views

Adding drag-n-drop ordering in component

I've developed a small component based on the Joomla Hello World tutorial, and now I would like to implement the same drag-n-drop reordering that many other Joomla components include: By sorting by ...
Bogowoe's user avatar
  • 1,178
13 votes
3 answers
5k views

Can multiple records be inserted all at once with the jDatabase?

Instead of using a loop, can Joomla database functions create a SQL statement like this? INSERT INTO #__tablename (col1,col2) VALUES ('1', 'one'), ('2', 'two'), ('3', 'three'), ... ('999', '...
GDP's user avatar
  • 7,715
11 votes
4 answers
4k views

Change Login to Logout

I have a website using Joomla 3.5 and I currently have a 'Login' main menu item. Once a User logs in, there are some sub-menu items that appear under the 'Login' menu item. What I want to do is to ...
Sam Potts's user avatar
  • 293
11 votes
1 answer
6k views

Form field "showon" with multiple fields

I have 3 fields defined in my XML file like so: <field name="field1" type="radio" label="Field 1" class="btn-group" default="1"> <option value="1">JYES</option> <option ...
Lodder's user avatar
  • 26.9k
11 votes
6 answers
10k views

Jhtml::script order - how to postpone until jQuery has been loaded?

I use JHtml::script to add scripts to my pages in a custom-developed module. However, these scripts are injected into the head before J3 adds in jQuery - for example: <!-- my module js --> <...
codinghands's user avatar
  • 2,295
11 votes
6 answers
10k views

Show/hide module title not working

I'm trying to hide the title of a module. I have changed the admin setting but the title is still displayed in the front end. In the database, the showtitle field is set to 0.
toomanyairmiles's user avatar
11 votes
5 answers
5k views

Joomla 3.6.0 to 3.6.1 results in a "invalid security token" error

I've just tried to update my site from Joomla 3.6.0 to 3.6.1 and I get the following error message: The most recent request was denied because it contained an invalid security token. Please refresh ...
Lodder's user avatar
  • 26.9k
11 votes
1 answer
11k views

Can I use PostgreSQL with Joomla 3.3

Can I use PostgreSQL with Joomla a 3.3 production site (not for testing) and if so is there anything I should be aware of? I would appreciate some feedback from someone who has actual installed and ...
CoalaWeb's user avatar
  • 275
11 votes
3 answers
31k views

How to get joomla version by http?

I have seen screenshots of a solution, there the Joomla version is getting detected by only accessing the page via http. E.g. the solution displayed all 3 digits of a version of Joomla. e.g. 2.5.28, ...
hkais's user avatar
  • 111
11 votes
3 answers
2k views

How to restrict access to custom component views?

In my custom component, I'd like to be able to restrict specific views to only certain usergroups. If I create a menu item for one of my views, that's pretty easy to do: I just select the access level ...
Isidro Baquero's user avatar
10 votes
2 answers
2k views

What's the difference between JHtml:script() and $doc->addScript?

I developed a module recently that required certain JS and CSS files to be injected into the <head> of each page. Initially, I used: $doc =& JFactory::getDocument(); $doc->addScript(JURI:...
codinghands's user avatar
  • 2,295
10 votes
1 answer
3k views

How can I dynamically generate a form's XML from PHP?

I have a requirement to generate a page/form based on the user's list of items. As is, the user can specify a list of items that have a text description of the item, and whether it's a text or list ...
GDP's user avatar
  • 7,715

15 30 50 per page
1
2
3 4 5
15