10
votes
Accepted
Joomla 3.4.5 to 3.4.6 Simple?
Updating from Joomla 3.4.5 to 3.4.6 is a simple one-click update. Unless you have core hacks (not recommended), the update process is absolutely safe. But please update, because this fixes a critical ...
9
votes
Accepted
Can I use git to version control Joomla website's debugging and development?
There are two concepts we're dealing with, the first being a code repository. Although there are different types of repository technologies, GIT is the defacto standard currently. Websites such as ...
7
votes
Accepted
Remove 'Publishing', 'Language' and 'Metadata' options from frontend editor in Joomla 3.4
Copy this file :[root]/components/com_content/views/form/tmpl/edit.php
to [root]/templates/your_active_template/html/com_content/form/edit.php
then open and delete line 75 to 77
<li><a ...
7
votes
Accepted
Redirect users to the last page visited, after login from component
Quite simple to do this.
You will firstly need to create a Template Override for the following file:
components/com_users/views/login/tmpl/default_login.php
Once done, open the following file (your ...
6
votes
Accepted
How to Prevent 'Secret Key' appearing in Logon Screen
Go to Extensions | Plugins
Select Type twofactorauth
Unpublish Two Factor Authentication - Google Authenticator plugin.
6
votes
Accepted
Include finished website in Joomla?
When you decide to adopt a CMS, you must embrace its definitions, features and methodology. Otherwise, you are creating some hybrid site.
To migrate a site to Joomla, you must create or implement a ...
6
votes
Accepted
Redirect users to the page pointed in the URL after login
First of all, com_users login is written to use POST method, so adding ?return= don't give you anything, it won't work.
If we don't specify return in post data, model will use default pointing into ...
5
votes
Accepted
Add custom language to content language
Hope this can help you.
You need to create a Languaje Content entry for your language.
Go to Extensions->Language Manage -> Content
And create a new record as shown in the picture
In order to get ...
5
votes
Standalone PHP calling Joomla APIs
Firstly, you're importing the wrong files which are required when using the Joomla API.
You then also need to initialise the application.
try the following:
define('_JEXEC', 1);
define('JPATH_BASE',...
5
votes
Accepted
Submitting a Form with file inputs via AJAX
I managed to make it work. Sharing the same which can help others.
No change on the form and controller. Slight changes on the model and ajax
model
public function uploadPicture() {
$input = ...
5
votes
Accepted
Can't click next on new installation
If you cannot install Joomla, then your server is not filling the minimum requirements. For instance, a basic PHP configuration must have certain PHP extensions enabled.
Check your browser console or ...
5
votes
Accepted
How to show a module inside com_content/article/default.php
Assuming with fails you mean it simply doesn't show on the article page and not that you are getting any other kind of errors.
The code you posted seems okay and should work.
So, I guess it might be ...
5
votes
Accepted
How to create a custom 404 Error page for every language
you also could use the standard 404 (or similar) php-file of your template if it already exists. The Joomla! alias standard would be /404 or /404.html according to the global configuration for the ...
5
votes
Accepted
Find Updates does not find latest Joomla core update
For Joomla core updates go under Components > Joomla! Update. If it does not appear the new update click on the "Clear Cache" button and all should be fixed.
Extensions > Manage > Update refers only ...
5
votes
Accepted
Creating a Joomla user from outside Joomla
You should use the internal Joomla functions to create and handle user accounts.
See the answer here: https://stackoverflow.com/questions/1904809/how-can-i-create-a-new-joomla-user-account-from-...
4
votes
Accepted
Not able to store a Object in Joomla session
It's simple, your var $temp is a reference of the session object. So if you change the content of the object you change the session object itself.
You have to clone the object:
$temp = clone $...
4
votes
Submit a view instead of redirect to another view
Answering my own question... I should have spend some time in google before asking my question.
Joomla supports CSRF anti-spoofing and it is explained in How_to_add_CSRF_anti-spoofing_to_forms
Since ...
4
votes
Automatic login after they complete the registration form Joomla 3.4
I did a plugin to do that some time ago.
You can download it from here:
http://www.webemus.com/en/37-productos/extensiones-joomla/303-joomla-autologin-plugin
It is necesary to set "New User Account ...
4
votes
Accepted
CLI command line script working locally but not on host
Have you checked that php5-cli is installed?
If it's not installed, you can run the following in command line to install it:
apt-get install php5-cli
or
yum install php5-cli
4
votes
Accepted
Echo Joomla 3.4 GroupId
I guess you first have created the user object.
$user = JFactory::getUser();
Then the $user->group is an array, not an object, and it will contain all the usergroups a user belongs.
Therefore the ...
4
votes
Accepted
How Useful Are Meta Descriptions & Keywords
I will focus only on the question itself, about the 2 meta tags and won't expand on what else would make a website SE Friendlier.
From the 2 meta tags in question, the one that you should really care ...
4
votes
Accepted
Redirect to splash page before home for new visitors
It looks like your redirect script is fired on window.onload, and as described in this post, that's after all your content is loaded. That's why you see the home page for a moment before a user is ...
4
votes
Question/Advice about PHP code development in Joomla!
*First of all, it is generally a bad idea not to use HTTPS when dealing with sensitive data. Also storing the data itself in the database without any encryption may later lead to a leak. You should be ...
4
votes
Accepted
Help chaining a query?
Try this code -
// Start database stuff
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(true); //-> you are missing this
//Select records that were created today
...
4
votes
How can I use google recaptcha in my custom page?
First read carefully in which files the SO
answer that you quoted
tells you to put the code.
Also, the code you attached is no longer working in Joomla 3.5. This is due to a change in the reCaptcha ...
4
votes
Joomla 3.4.8 update to 3.5 giving 'Uncaught TypeError: window.pingExtract is not a function' in console
I had the exact same issue on two 3.5.0 instances.
Turns out that media/com_joomlaupdate was missing the /js directory. The file update.js in the /js directory is what declares pingExtract
I ...
4
votes
Accepted
Simple Joomla plugin doesn't work
The naming convention of the plugin files must be proper. This might be the issue why your plugin class is not rendering. See the example below:
Plugin File: nameofplugin.php
class ...
4
votes
What does 'lft' and 'rgt' do in #__menu table?
The lft and rft code is quite old in Joomla, and only used in a sub-set of core functionality. Basically it means...
lft: the item id of the item to the left
rgt: the item id of the item to the ...
4
votes
I can't get changes to a published article to show
In this case the article is loaded by the menu item home, check the correct article here.
Are you using some cache extension for your site?, check for possible extensions and clear the cache.
Note: ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
joomla-3.4 × 299joomla-3.x × 55
php × 47
module × 18
templates × 11
extensions × 11
mysql × 11
jform × 11
javascript × 10
component × 9
plugin × 8
development × 8
joomla-3.3.x × 8
update × 8
user × 7
language × 7
multilingual × 7
joomla-2.5 × 6
custom-component × 6
css × 6
administrator × 6
database × 6
jquery × 6
url × 6
template-override × 6