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
6
votes
1answer
1k views

What does “Prepare Content” do and when should it be used?

For some (all?) custom modules, under the options tab, there is a Prepare Content option. What does it do? When should it be used? (Conversely, when should it not be used?) What's its impact on ...
6
votes
2answers
2k views

How to use a custom layout with JForm subform fields?

I want to reuse some forms in my component. The subform field does the job. However, I need to remove some fields and/or field groups when displaying the subform. I tried to use the JForm methods ...
6
votes
1answer
1k views

Calendar Field Showing Incorrect Date

I am using the Calendar form field type and am experiencing an odd result. I am passing in a date of 03/23/2016 as a string and it is instead showing 03/22/2016. This is true for all dates I have ...
6
votes
1answer
466 views

How to Prevent 'Secret Key' appearing in Logon Screen

Can someone please let me know how I prevent the 'Secret Key' from appearing in the Log On screen? At the moment, the Username, Password and 'Secret Key' appear in the Log On screen when users ...
6
votes
1answer
603 views

Substitute of JObject

While creating custom component, I got to know that, JObject is deprecated. Keeping this in mind, What is the recommended method of creating blank Object. Do we have any substitution of JObject class?
6
votes
3answers
6k views

Could not find template

I tired more then hours,but i could not find the solutions for this issue. i have site with Joomla 3.4. i have move the files to my local system. config the data base and other things, but page show ...
6
votes
1answer
1k views

Thumbnail in the blog

Does Joomla 3 has some default options to set a smaller image size in the Blog view (thumbnail) and the normal size in the article?
6
votes
1answer
424 views

jdoc: include in Joomla

Hi I am a newbie in Joomla and want to understand one of the functionalities of the Joomla. In joomla templates we use jdoc:include type="component" statement. But I am not able to understand how ...
6
votes
1answer
698 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. ...
6
votes
1answer
1k views

How are the controllers for a specific view called?

I'm trying to understand how to component com_installer (the componenent for installing the extensions) in the administrator folder in joomla works under the hood. In particular, I'm trying to ...
6
votes
1answer
265 views

Community of photographers: is Joomla the CMS to go for?

Hello I am seeking advice. I would like to have a CMS to organize a community of photographers. Essentially all I need is the possibility to register users, each having his/her own profile in which ...
6
votes
2answers
180 views

Suggestions for Performance improvement based on Result differences

We have a Joomla site (http://guru99.com) running over dedicated server. Currently, Rockettheme's gantry based template is installed on the site. So, to optimize my site's performance I have tested ...
6
votes
2answers
2k views

Why doesn't Joomla use foreign keys in the core table structures?

I am developing a custom component and want to use a foreign key user_id referenced to #__users(id). I noticed that Joomla doesn't use any foreign key in its core tables for example in #__user_notes ...
6
votes
3answers
4k views

Simplify image management in articles

I recently tried to explain someone how to add images from a digital camara to an article in Joomla, and I noticed how cumbersome this actually is. Basically one has to do the following steps: Find ...
6
votes
1answer
3k views

Activation email not sent via localhost?

when i try to register from the front-end of Joomla, its displayed that the activation email has been sent but actually there is no email sent. i have tried this before but on a Web host and it works ...
6
votes
3answers
366 views

One time form for Joomla Users?

I want to place a custom html/php form for my registered Joomla users but I want it to be submitted by the user only once, i mean if a user has submitted the form , the next time he'll open that form ...
6
votes
2answers
473 views

Possible to make slug generation turn “&” to “and” for url? as extension/plugin/patch?

I have a lot of clients who like to write "&" in their titles but the slug auto generation removes the "& " which can give the url a totally different meaning and so we must hand check them. ...
6
votes
3answers
678 views

How to Joomla 3 use tags on extension?

How to realize tags function on my custom extension? I have try follow https://docs.joomla.org/J3.2:Using_Tags_in_an_Extension this guide step by step but still I can't save tags into database. System ...
6
votes
1answer
2k views

Recommended way of Server-side validation for custom component with Ajax

I'm developing custom component and I use Ajax for calling various tasks via controller. I've one form, where user inputs data which should get validated before database transaction. I'm using JTable ...
6
votes
2answers
2k views

Sometimes it shows the error #1044

I've just installed Joomla! 3.3 but sometimes, when I want to change a parameter, it shows the next error: 1044 Access denied for user ''@'localhost' to database '*' SQL=LOCK TABLES h2ap7_assets ...
6
votes
2answers
3k 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 ...
6
votes
3answers
2k views

Remove language code from url

I'm having a slight issue with a multi language site. I am using FaLang to handle translations of 4 languages (English, Spanish, French and Italian) on a 3.3.6 Joomla installation with English set as ...
6
votes
2answers
137 views

Joomla Component Development: Starting Point

So, basically, I've developed an application that gets the data from the database, processes it and then displays it on a webpage and now I need to integrate it with joomla. I've read about MVC ...
6
votes
1answer
50 views

Using “Joom” as part of extension name

The Joomla documentation states clearly that it's not permitted to use the word "Joomla" as part of an extension name, unless it's called "MyExtension for Joomla!" (except with a license): The ...
6
votes
1answer
884 views

What are the Design Patterns used In Joomla?

This question can be vague, so i narrow down and list down some points i want to know. What are the design patterns used in Joomla (Just a list of them). In Which section of Joomla ...
6
votes
1answer
61 views

Package installation with conditions

I have a package (Joomla! 3x) that contains 2 plugins and it install/update and uninstall correctly. But now, I need to refine the installation/update process. Scenario on fresh installation: If ...
6
votes
1answer
2k views

Joomla token with ajax request

I've built a module that requests some data from the server via an ajax request. It includes the Joomla token to validate the session. An odd thing is happening-- when I open Chrome and load the page,...
6
votes
1answer
77 views

Components: What is the purpose of the option_on and option_off fields in models > forms > viewname.xml?

In a Joomla 3.x component, a parameter that's frequently listed in the MODELS > FORMS > VIEWNAME.XML file is option_on or option_off. For example; <field name="something_amazing" type="...
6
votes
1answer
922 views

Can templates be set per user?

Is it possible to set templates at the user level? If not then is there a plugin? If not what can I do? The reason is that I want to build a new template for an existing website and see the build ...
6
votes
1answer
183 views

Is it possible to display a list of category “grand children”?

We have our articles organized as shown below - the main Producers category has a subcategory for each Producer, which then has a category for each of their Programs. I've been tinkering with the ...
6
votes
1answer
435 views

Abandonware user self-registration procedure in Joomla core

Joomla 3.6 has two different controllers intended to create a new user: UsersControllerRegistration::register() defined in components/com_users/controllers/registration.php and UsersControllerUser::...
6
votes
1answer
1k views

Disable front-end registrators from recving a confirmation email

I'm trying to disable users that register from the front-end from receiving confirmation / welcome emails. Please note: In com_users options you can only disable the password and username from ...
6
votes
1answer
217 views

Bootstrap Tour on Joomla

How would you go about putting one of these: http://bootstraptour.com/ on you Joomla 3 site? Should I make a module? Modify my template? How would you do it?
5
votes
3answers
2k views

Where or how is the Jhtml class defined?

I'm trying to get started with Joomla extension development, and am having trouble following along with simple examples. Where is the Jhtml class defined and/or documented? I see it being used in ...
5
votes
3answers
5k views

Migrating component from 2.5 to 3.3

This documentation: Adapting a Joomla 1.5 extension to Joomla 2.5 http://docs.joomla.org/Adapting_a_Joomla_1.5_extension_to_Joomla_1.6#Renamed_events Really helped me when I migrated my component to ...
5
votes
3answers
11k views

How to get module parameters inside helper function and how to get params inside a custom form field type?

Part 1: How to get module parameters inside helper function? I am trying to get the same module parameters inside the helper file. class ModTestHelper { public function getFoo () { return $...
5
votes
2answers
2k views

How did hackers manage to create a new user while “allow user registration” is set to “NO”?

Recently I find a new user is created on my 3.6.0 site and put into "administrator" group, but the "Allow User Registration" option is set to "NO", though the "enabled" and "Activated" status are both ...
5
votes
8answers
2k views

Hide homepage when user is logged in

When the user is logged in and trying to access the homepage I need to redirect him to certain url. So basically when authorized user gets to www.example.com he's redirected to www.example.com/...
5
votes
4answers
1k views

Unknown code in my site - am i hacked?

I am using Joomla 3.3. I checked my homepage source code and found unknown code: <div style="position: absolute; top: 0px; left: -6500px;">Bookmakers bonuses with <a target="_blank" rel="...
5
votes
3answers
507 views

Do I need for multiple pages == multiple components?

If I were to create a Joomla social media component from scratch, say something similar to communitybuilder (used for interpals for example), would every page (profile, register, list of profiles) be ...
5
votes
3answers
5k views

How to set get('Items') limit?

By default, populateState seems to limit a call to any model's get('Items') function to 20 items. How can this be overridden - by re-writing populateState? By writing a separate function in the model?...
5
votes
5answers
760 views

How to find the version of extensions used on a Joomla website without access to the backend?

First of all, I would like to check myself: An extension is an aggregate of modules, plugins and components, right? If that is right, then modules, plugins and components have the same versions. Is ...
5
votes
1answer
6k views

How to know which usergroup/specific access level user belongs to

For determining whether user is a super user, we do something like this : $user = JFactory::getUser(); $isAdmin = $user->get('isRoot'); if ($isAdmin) { echo 'You are an Administrator'; What would ...
5
votes
3answers
1k views

Don't show other recipients when sending multiple emails with JMail

So this is my code where I send same email to 3 different users $mailer->sendMail($emailfrom, $sitename, 'adam@malinator.com', $subject, $message, 1); $mailer->sendMail($emailfrom, $sitename, '...
5
votes
2answers
1k views

Remove 'Publishing', 'Language' and 'Metadata' options from frontend editor in Joomla 3.4

I would like to remove the 'Publishing', 'Language' and 'Metadata' options from the frontend. Does anyone know how this can be done? Any help would be greatly appreciated! Thank you!
5
votes
2answers
6k views

How to change Joomla date format in a component

I would like to change the backend Joomla 3.0 date format for a custom component. Right now the component is taking the Joomla date backend format which is Y-m-d and that I need to change to d-m-Y for ...
5
votes
1answer
6k views

Get user ID from username

I know I can get user information from any user with the getUser( $id ) object: $user = JFactory::getUser(); if (!$user->guest) { echo 'You are logged in as:<br />'; echo 'User name: ' ....
5
votes
4answers
4k views

Page Class Suffix doesn't work

I want to add a custom CSS to a page of my website... I have edited the Page class Suffix of the page I want to edit, but I dont know why, the class doesn't appear in the body when I go to that page......
5
votes
2answers
3k views

What is best approach to show the component page in popup-modal window without header and footer?

I have developed a custom component that displays some information. I want to show the same information in modal popup window without header and footer information. what should be best approach to ...
5
votes
2answers
4k views

How to do SQL exception / error handling compatible with 2.5 and 3.x?

I was trying to develop Joomla 2.5 and 3 component. As many things deprecated between these two versions and the way to throw and catch database and other errors, I could not find ways yet to make ...

1 2 3
4
5
59