Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [joomla-3.x]

For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.10.

Filter by
Sorted by
Tagged with
3 votes
2 answers
415 views

Edit Contacts on Front End

Joomla 3.9.14 Is it possible to edit a list of contacts from the front end? I need to display a list of contacts from a certain category, and allow administrators to edit their details. Currently ...
1 vote
1 answer
72 views

Smart Search results missing a category and settings for paginated results

Joomla 3.10.11 I cannot find the settings for this. I have been experimenting with the native search, smart search and an extension for advanced search. We are most happy with the results from smart ...
0 votes
1 answer
23 views

problems with updating database

I have some code to update a table: $updateLastAttempt = new stdClass(); $tempDate = new DateTime('now'); $formattedDate = $tempDate->format('Y-m-d H:i:s'); $updateLastAttempt->id = $pxobjUpdate-...
0 votes
1 answer
240 views

Using a custom field with different names

I want to use a flexible field name for a field across different forms thru my extension. My custom example field looks like this: defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\...
0 votes
1 answer
59 views

Virtuemart Call for price form submission allows user to got logged in to the frontend of the website

Virtuemart Call for price form submission allows user to got logged in to the frontend of the website if the user has a account with a submitted email id. how to get resolve this issue?
1 vote
2 answers
88 views

Can a module used in an article have parameters?

Im quite new to joomla. As far as I understood, modules can be used in an article like building blocks. Example: {loadmoduleid 117} Goal I would like to give article authors a simple method to add ...
1 vote
1 answer
27 views

Unable to install theme with live-preview features

I recently bought this template ("Beat" from WiselyThemes) and followed the instructions to make it look like the live preview the seller posted on Themeforest (http://preview.themeforest....
0 votes
1 answer
187 views

JRoute does not show the URL it is supposed to

I have the following problem: I set a URL with JRoute like this: JRoute::_('index.php?option=com_gallery&view=gallery'); This gives me example.site/gallery, which is correct, however, if I ...
0 votes
1 answer
2k views

How to change the default page in the Language Switcher?

I am creating a multi-language page in Joomla with 5 different languages. Everything is ok except for the language switcher. My home page is set for English, when I try to change the language from ...
1 vote
3 answers
364 views

How to iterate over the "params" of an item ZOO Joomla?

The item of my interest is in the __zoo_item table. My query: $query ->select($db->quoteName(array('params'))) ->from($db->quoteName('#__zoo_item')); $db->setQuery($query); $...
2 votes
2 answers
103 views

Adding articles to a local copy, then pushing them to the live version

We have a client who was getting errors when trying to add a lot of articles (like a dozen) to their live site in a short time span, but we found that after moving their site to a localhost they did ...
1 vote
1 answer
156 views

Contact Form Non Unique id #jform_id

Joomla 3.9.14 When I open a contact to edit their details and look in the browser console I can see the following notice; [DOM] Found 2 elements with non-unique id #jform_id: (More info: https://...
0 votes
3 answers
628 views

Joomla 3 call model function inside controller

I want to call a function from model inside controller my model : httpdocs/components/com_storemanager/models/searchmanager.php <?php /** * @version CVS: 1.0.2 * @package ...
1 vote
1 answer
393 views

Joomla 3 return view with parameters

I'm using Joomla 3 and I have a controller with the function abc that should call a view with some parameters title & address My controller :components/com_storemanager/controller.php <?php /...
2 votes
1 answer
83 views

Joomla Tagged Blog of articles

I managed to create a 2 column blog view of articles on a Joomla 3.9 website using the guidance in this post, along with some additional linked advice on adding a "readmore": How to show ...
1 vote
1 answer
34 views

Query with multiple joins and a variable

I have a query: $query->select( $db->quoteName( array_keys($fields), array_values($fields) )); $query->from($db->quoteName('#__receipts_patient_charge',...
2 votes
1 answer
404 views

Get menu-meta_description from menu item

I need to add meta description inside a component page. That's what I tried: $menu = $app->getMenu(); // Load the JMenuSite Object $active = $menu->getActive(); // Load the Active Menu ...
0 votes
1 answer
63 views

How to return Http 401 on Joomla Administrator for an unauthenticated user?

everyone How can I have /administrator/index.php?option=COM_MYCOMPONENT&controller=MYCONTROLLER&task=MYTASK return a "401 Unauthorized" HTTP error instead of redirecting to the ...
1 vote
1 answer
409 views

Product url problem after updating VirtueMart

In my VirtueMart Configuration under the SEO tab, I've checked "Use full category tree for product links" so my products detail page default routing was like this: example.com/cat1/subcat1/subcat2/...
0 votes
1 answer
478 views

Joomla 3.9: Menu item set to Separator is not clickable to reveal sub-menu items

I am building a website in Joomla, and I'm trying to make a menu in which some menu items should not have any article associated with it; clicking on them should only reveal the sub-menu items, but ...
0 votes
1 answer
432 views

Fatal error: Call to undefined method InvalidArgumentException::getlevel() in l/libraries/legacy/error/error.php on line 536

I've done a website transfer from one hosting provider to another one. I managed to make the website live in the new hosting, but can't access the Joomla! administration area. I get this error: ...
1 vote
1 answer
72 views

How to add GET parameter to CSS filename in plugin JCH Optimize (Joomla)

I cannot find an answer to for several weeks. Perhaps my experience in development is not so great :) One site uses the JCH Optimize plugin and I noticed that after clearing the old memory (cache), ...
2 votes
1 answer
103 views

Ask for confirmation before extension update via update server

We are implementing an update server feature for our custom Joomla extension. Is it possible to add confirmation text after selecting the extension and require the click of the update button before ...
2 votes
1 answer
242 views

Joomla 3.x routing and slug problem

I have 1 component with 2 views - default is view1 - secondary is view2. When I associate it with the menu from the backend, Joomla creates the correct url with alias for SEO. Example: www.sitename....
0 votes
2 answers
448 views

Unable to log in to Joomla! front-end

When attempting to log in using the standard Joomla! login page, the following message is displayed: Warning The security token did not match. The request was aborted to prevent any security ...
1 vote
1 answer
134 views

Install Joomla On Windows 10 And Use MS SQL As Back-End

I have Windows 10 and IIS up and running, I was wanting to know if there was a way to set-up Joomla with MS SQL on windows 10 and IIS?
0 votes
1 answer
78 views

SEF url and custom view

Was able to create a custom component and a custom view which I went ahead and attached a js library to. Now to achieve my desired functionality I need to create a custom url(SEF) in my route.php file,...
0 votes
1 answer
174 views

Manually render Clear form button in layout

I followed instructions here and I render some fields in my front end view, like this: echo $this->filterForm->renderField('search', 'filter'); Now I wonder how to manually add a clear button. ...
0 votes
1 answer
178 views

Remove index.php - file on multlilingual Joomla Site

As supported by various posts, I did : change the htaccess.txt - file name to .htaccess via FTP set the URL - Rewrite Option in the Joomla Configuration Options to "YES" Result: - index.php is ...
1 vote
2 answers
115 views

Individual user fine grained ACL is it possible in Joomla! 3.x

I was wondering if it was possible in Joomla! 3.x to have permissions down to individual user level. Eg: user A can see item X but not user B even if user B is in the same group or have the same ...
1 vote
1 answer
2k views

Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite()

I'm having this error in Joomla for some reason: Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite() I see other posts with this error, but I suppose they are using ...
0 votes
1 answer
79 views

Change boolean field in JModelList table like "published"

Joomla 3.9.10. I have custom component. In admin panel I show items list from one DB table with JModelList. models/mycom.php: class MyComModelMyCom extends JModelList { public function getItems()...
0 votes
2 answers
163 views

Custom Component - Copy / Archive record when values change

For a custom component, I want to incorporate a way of keeping track of changes made to records in specific tables. For example, when the mileage value of a car is changed, the record having the old ...
0 votes
1 answer
111 views

Joomla - User Custom Fields (Required for user on frontend, but not required on backend)

I am using custom fields in the user section. I am needing to set this required for the front-end users when they are editing their profile, etc. This is working as intended, however, I am needing a ...
0 votes
1 answer
66 views

How to conditionally filter the presentation of category when creating a new category/article?

I am looking for a solution for the following requirements: Display only the category of first level when creating new category. Display only the category of second level when creating article in ...
0 votes
1 answer
130 views

JLayout Search Tool not populating filters and inputbx

I am converting the searchbar in one of my components to JLayout Search Tools searchbars to become more ready for J!4. Everything is working fine but it is not populating the filters. In view.html....
0 votes
1 answer
340 views

Resize image width in function of set image height in CSS?

I'm trying to tell an image to be displayed with a maximum height of 400 pixels, and a width adapted onto the used height, with the following CSS - Code: span.itemImage img { max-height:400px; ...
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 (...
3 votes
1 answer
403 views

Joomla keeps wrapping content with user-visible p tags

I have observed the same behavior when installing Joomla from multiple so called Quick Start Packages embedding themes and plugins. Right now, I have installed, Basic Joomla running on a production ...
1 vote
2 answers
515 views

How to link article to specific menu item?

I have two menu items, for example Menu1 and Menu2. Both are a Category Blog for same category Cat1, but Menu1 has some specified tags. Of course, some articles are present on both pages, and all url'...
0 votes
1 answer
624 views

How to get k2 item and category to use different templates?

This is a very old problem, I asked it before but never got a satisfying answer. By default, on a "k2 category" page, when you click one of the items, the "k2 item" page will keep using the current ...
2 votes
1 answer
313 views

Create record from modal edit form

Is there a standard Joomla mechanism / development pattern for creating a modal edit form to create an item from within another item? I've used this tutorial to create a modal list view, where you ...
1 vote
1 answer
140 views

Redirect problem in multi-lang site

I have developed a multi-language site, all necessary steps are taken in regard with plugins, menuitems and its associations, modules etc. The language-switcher module works perfectly, but yet, when I ...
1 vote
2 answers
150 views

How to compare current date to article created date?

I need a code to compare if current date and time is greater than article created time of joomla. I have this example code: function CompareDate() { // new Date(Year, Month, Date, ...
5 votes
1 answer
131 views

Install packages to "Administrator" location in Extension Manager

Is there a way that extension packages can be installed using the "administrator" client option or similar in a manifest file? I've made an installer package purely for the backend and I'd like it to ...
1 vote
1 answer
461 views

Getting error message as The most recent request was denied because it had an invalid security token. Please refresh the page and try again

In my list view I have added token in my form using <?php echo JHtml::_( 'form.token' ); ?> Then I have redirected from the list view to a controller's task like http://some/joomla/site/...
1 vote
1 answer
119 views

How do I make a login page just like Joomla's backend?

I want my homepage to be like Joomla's administration page, meaning there is only a login form displayed on the page. The hard part is, although it is not hard to make a homepage like this and I can ...
0 votes
2 answers
562 views

How to style a page inside s-box popup

After an update of few components and Joomla some of front-end users noticed that when inside article's creation clicking on "Introduction image" shows a modal (/index.php?option=com_media&view=...
0 votes
1 answer
144 views

Article Show and Link to Article

I use the extension "Article Show" in Joomla 3 https://www.olwebdesign.com/joomla-extensions/article-show-joomla-module.html I create a module "Last news" with the position "...
2 votes
1 answer
50 views

K2 SEF issues including Joomla Smart Search

I am having an issue with smart search and k2. If I search for a Joomla article then everything pulls the correct SEF URL. If I try to search for something that is a k2 item it loads correctly but ...

1
2 3 4 5
64