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

Best way to override the index.php file from a joomla template

I am using protostar as a template for my 3.3.1 website. I have change the index.php in order to redesign the module positions and to add more of them. I have just updated my website to Joomla 3.3.3 ...
6
votes
3answers
2k views

List articles by author

I am looking for the simplest way to create a menu item that lists all articles by a specific author. Any help is appreciated. Elad.
5
votes
1answer
313 views

Class 'JInput' not found after updating to 3.7.3

I am updating a clients site to 3.7.3 and following the update receive the following on both the front end and admin: Fatal error: Class 'JInput' not found in /home/wwwsitew/public_html/rmi/...
3
votes
2answers
3k views

Joomla's extension for a custom database application

I need to create a website which will basically feature a database with a lot of records. Each user can see a big list of every record and then a page dedicated with all the informations about it. I ...
3
votes
2answers
584 views

How to manage article/chronoform permissions

How to create one article which is when user who log in will see chronoform form and they can insert information; but when visitor who does not log in to the website only can view the information ...
2
votes
0answers
1k views

getUserStateFromRequest variable become empty if name starts with '.filter.'

In my view.html.php I set UserState Variables. One of this variables is set like this: $app->setUserState('com_mycomponent.modelname'.'.filter.status', 1); When I try to get the variable in the ...
2
votes
2answers
973 views

I am trying to connect two database with one Joomla site

I have two joomla site with different database.And I want to share all data one site to Another site .For example when I register A user in one website then it's updated on second site database also....
2
votes
2answers
1k views

Error 500 in new extensions installed (Joomla 3.0 Gantry Framework & Magnus tmpl)

On a page developed with Joomla 3.0, Gantry Framework & Magnus Template everything has been running fine but when installing new extensions like rs_mediagallery , facegallery or rokgallery , the ...
17
votes
3answers
12k 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 "...
10
votes
6answers
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.
8
votes
2answers
8k views

JUser: :_load: Unable to load user with ID: 16635

When I log into my joomla site from the front end I get this warning. JUser: :_load: Unable to load user with ID: 16635 But that user doesn't exist. From searching it might be easiest to just ...
6
votes
2answers
6k views

How to deal with “JFolder::create: Path not in open_basedir paths Unable to create destination” while installing Joomla extensions?

I am trying to install a new extension in Joomla,But I am getting this error Message: "JFolder::create: Path not in open_basedir paths Unable to create destination" What is the solution?
6
votes
3answers
802 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.
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
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
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 ...
4
votes
1answer
5k views

You cannot access the private section of this site

On a Joomla 3.3.3 site which was upgraded from 2.5 (latest version at the time), we are having some issues with regard to user logging in. Some users have reported that after registering, they are ...
4
votes
3answers
1k views

Hide Template Name

Is it possible to hide the name of a Joomla 3 template, e.g while looking at 'view source' in a browser? I know it's possible to rename the temate but this doesn't hide the name, it's still visible ...
3
votes
3answers
3k views

How to assign a module to different pages

I have menus in home page. Now i want to display different modules in different page and also I want to add SEF custom name to pages. Since I am new to Joomla, Any help greatly appreciated. Thanks in ...
3
votes
2answers
344 views

Joomla turns all menu items to sub-sub-menu items when adding a new one

When I add a menu item, Joomla shows all menu items on all menus as if they are sub-sub-menu items, ie with a |—|— before the name in the menu manager. This breaks the menus, or adds "root" to the ...
3
votes
1answer
479 views

Last Visit Date Override

I am trying to override the Last Visit Date in the admin area of my Joomla 3.4.1 site. I have manually made overrides to the following constants (site and admin) and it's not making any difference ...
3
votes
5answers
16k views

How to create a category blog layout with all articles shown in full?

Hello Joomla community, I'd like to create a category blog layout where all articles are shown with their entire content. I.e. without having the article shortened at the 'read more' position. What's ...
3
votes
1answer
1k views

Replacing JRequest (deprecated) with JInput

I believe JRequest is depreciated and should be replaced with Jinput, however when I change the following code: $limit = JRequest::getInt('limit', $app->get('list_limit')); $this->setState('...
3
votes
2answers
496 views

Custom css 'Page Class'

I have a Menu Item that links to an Article. I attach " example" css to the Page Class under the Display Options It links to my css .example{ font-family: myFirstFont; font-size: 32px; line-...
3
votes
1answer
2k views

Load K2 article with ajax

I am using the category layout to feature articles on my front page with joomla 3.3. I am customizing this view so that the article links pull the articles into this page via ajax on click. This is ...
3
votes
2answers
721 views

Displaying more articles in the article view

I'm using joomla 3.3.6 and I designed content page as I want, but I need one more thing. Is there a plugin or a component to display all/other articles as a list, so the user can move to them. The ...
2
votes
1answer
2k views

Loading the options of a select form field via jQuery Ajax

Basically I am trying to load a front-end form select field via jQuery AJAX. The XML form field is <field name="student_ids" type="list" required="true" label="Select Students" multiple="...
1
vote
1answer
294 views

How to add submenus to a menu?

My main menu is: Home | Software | Contact I have two K2 items in 'Software' category: Soft1 and Soft2. I want to make the Soft1 and Soft2 appear as submenus in the 'Software' menu. The Software ...
1
vote
4answers
1k views

Insert query with ignore of duplicates (without key)

I have a query: $query_add_analogue ->insert($db->quoteName('#__parts_analogues')) ->columns($db->quoteName($columns)) ->values($value); $db->setQuery($query_add_analogue); $...
1
vote
1answer
581 views

Joomla Staging and Multiple site management? [duplicate]

Good Morning all, i was wonder if anyone is aware of an open source joomla management solution for multiple sites similar to Cloudaccess or MyJoomla? I cannot seem to find anything? Any suggestions ...
1
vote
3answers
1k 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 ...
8
votes
1answer
12k views

How to create a view with filters and pagination

I want to create a view with filters and pagination for Joomla 3.x, but I'm not sure about what I have to include and where. For now, my model extends JModelList and I started using the getListQuery(...
11
votes
1answer
10k views

Displaying a Joomla module using PHP?

Can i display a Joomla module using PHP? What would be the script to achieve this? (If it's possible!)
11
votes
2answers
4k views

Module as menu item

I need to insert the search module as a menu item (default menu module). I need this output : <ul> <li>menu item</li> <li>menu item</li> <li>SEARCH ...
14
votes
4answers
5k views

How to manage multiple Joomla sites and their updates

I have a number of Joomla 3.x sites, which I want to manage centrally, however they are all for different clients, so I cannot share any information between them. What I want to achieve is to ...
8
votes
3answers
4k views

What's the proper way of setting a persistent cookie in Joomla 3.x

I would like to set a "destination" cookie for all users on my site, to serve tailored content. The cookie needs to persist across login/logout so it appears I cannot use jSession, which is cleared on ...
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 ...
10
votes
2answers
721 views

How to add com_content extra fields to Smart Search Index

Where I can find any tutorial or instructions to build a plugin which handles "onPrepareFinderContent" ? I've added some extra fields to com_content articles and I would like them to be indexed by ...
7
votes
2answers
3k views

What is the recommended way to structure a Joomla 3 custom component view using angularJS?

There is very little information out there from users who have successfully integrated angular js in a joomla custom component list view. I found the following: https://stackoverflow.com/questions/...
7
votes
2answers
9k views

Custom Component - Need to verify if user is logged in

I'm developing new MVC custom Joomla component (com_helpdesk) and need to verify if user is logged in to site. If not then it should redirect to the login page with "return" parameter. Could someone ...
7
votes
1answer
983 views

How to create a folder during installation custom component

I know how to create a subfolder inside the media folder by using <media folder="media" destination="com_mycom"> in the manifest file. But how to create subfolder inside of the images folder ...
16
votes
6answers
7k views

Change Super User account password

I have forgotten my super admin password. How can I reset the super admin account password? I have access to both FTP and phpMyadmin how can I change the Super User account password? My table ...
16
votes
4answers
7k 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 ...
14
votes
6answers
21k views

How can I print out a Joomla query?

Suppose you have constructed a query with Joomla. // Get a db connection. $db = JFactory::getDbo(); // Create a new query object. $query = $db->getQuery(true); // Select all records from the ...
11
votes
3answers
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 ...
10
votes
1answer
391 views

Adding Tags Functionality To Existing Component

I'm looking to get tags working inside of an extension. I saw this and have gotten the field to appear in the edit view, but of course it doesn't save anywhere. Looking at com_content article tag ...
8
votes
1answer
1k views

How to get Categories of custom extension or third party component

I have a thirdparty component which stores its categories in #__categories table. -----+----------------+-----------------------+-----------------------+----- ... | extension | title ...
7
votes
2answers
2k views

Get Value of Repeatable Field from Joomla XML manifest

repeatable - How to get values from this field type ? I am coding a Free module with a repeatable field. <field name="star_slides" type="Repeatable" icon="list" description="" label="Edit Your ...
6
votes
2answers
651 views

Site Vulnerability Check

With the recent security announcement regarding SQL injection, I was wondering what I could do in order to 'review' my current Joomla sites, and ensure none of them have been compromised. Apart from ...
6
votes
2answers
4k views

How can I grab the user's IP address?

I want to store the user's IP address in a Joomla 3.5 component; with 2.5, I did a $ip = JRequest::getVar('REMOTE_ADDR', '', 'SERVER'); Which is the most efficient way to get the IP address from a ...