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
0
votes
2answers
29 views

Customize and Display Layout / URL of K2 Articles in Joomla

I'm currently designing a website in Joomla working with the k2 extension for Joomla. Let's simplify things and say I made a Category "A" of k2 articles. 1) I link a main menu to display the ...
0
votes
2answers
424 views

Need to display category dropdown for custom component on frontend site using joomla category extension

I have tring with the same thing but using following code but it not retuns any category what need to pass not getting for the same: $model_categories = JCategories::getInstance('Thirdparty'); $root =...
1
vote
1answer
230 views

getimagesize($file['tmp_name'])=== false is not working in php 5.6

I am using the below code to validate an image. getimagesize($file['tmp_name'])=== false It's working fine in php 5.2 (wamp server local), but not working in live website(php 5.6). ...
0
votes
1answer
114 views

Joomla 3 permissions setup

I am using Joomla 3.4.3 and I am trying to give permissions to a specific group. I want this group to Create/Edit/Delete articles in a specific category. I have created a group under Registered users....
1
vote
1answer
110 views

How do I pass the generated form together with the custom fields to model class?

I have this code here, which I modified in the getForm function from my Model Class: $elementHeader=' <fieldset name="reportFilters">'; $elementName = $elementHeader; $form ...
0
votes
0answers
6 views

How to fix “Application Instantiation Error” caused by “JFactory::getApplication('site')” in docker application?

I am about to move a Joomla application (Joomla! 3.7.3 Stable) into a docker environment. This unfortunately causes the JFactory::getApplication('site') an Application Instantiation Error that I do ...
0
votes
1answer
60 views

Hikashop, extract text after read more

I want to have the introtext and then the rest of the text in Hikashop product details page. So in the product description I insert the <hr id="system-readmore" /> to separate the introtext and ...
0
votes
0answers
63 views

How to package modules with admin back-end

Say I want to take mod_custom as a base for a future module. This module has an admin back-end and is not provided as package. After modifications, how can I package it for installation? Seems there ...
0
votes
1answer
28 views

What kind of extension should I use in order to build a back-end GUI to edit parts of the theme?

I'm a Web Developer who has recently begun using Joomla. I've written a custom theme using php, html and css etc but would like to create a way for someone with absolutely no programming experience to ...
0
votes
0answers
85 views

Link of menu items

It's me again, and I have the following issue: Some menu items are redirecting to 404, but only when I access my website through a cellphone, and they don't redirect if I I'm on the homepage. For ...
0
votes
1answer
41 views

How can I prevent Joomla from removing octothorpe/pound from URL post login?

For example, I would like to send the following links in an email to users: https://www.example.com/#foo https://www.example.com/deep-link/#foo When clicked on, I get the following results: https://...
3
votes
3answers
126 views

Is there a file that defines error messages?

I would like to catch some exceptions to inspect the error code and determine if I should re-throw it with a more user friendly message. This would probably be most beneficial with MySQL errors. Is ...
2
votes
1answer
22 views

TypeError: Form is Null on Button in Admin toolbar

I am receiving TypeError: form is null in the browser console when I select a custom button added to a form using JToolbarHelper. I can insert the button to any other component as is and it will ...
1
vote
0answers
47 views

How to get ride of duplicate and useless URL from /component/contact

I try to use the form from Joomla, but seems there are strange downsides… If I setup a contact form, from Components > Contacts, and put this Contact Component inside a Menu, I can access the "...
0
votes
1answer
22 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 ...
0
votes
1answer
30 views

OTP verification through SMS & Email while registration

Are there any free plugins/extensions which send the OTP through registered email as well as a mobile number during the registration process?
1
vote
1answer
7k views

Error: 0 - Call to a member function get() on null

My Joomla site breaks after I attempt to login in the front-end, returning an Error. Error: 0 - Call to a member function get() on null I can´t see anything in the console, I dont have any further ...
0
votes
0answers
18 views

Can't login to admin with no errors (joomla 3.9.3)

My site on Joomla 3.9.3 is working well but since last week no one admin user can log in. There are no errors, the login form just refreshes after any submission. I've tried to rewrite Joomla core ...
1
vote
1answer
70 views

JFile::makeSafe does not convert file name

I need to rename and save a file upload when saving an item in a custom component. The problem is that the JFile::makeSafe function seems like is not converting the filename as you can see below. So ...
0
votes
3answers
44 views

How can you make that tables in your Joomla articles are responsive and re-size appropriately with screen size?

How can you make that in Joomla, for example for the visibility of a table of a Joomla article on a mobile phone ?
2
votes
2answers
42 views

How to force auto versioning of css and js to renew on file change within Joomla! template?

I would like the version of css and js within a template to be renewed automatically on file change. I tried JHtml with auto versioning without the desired result. JHtml::_('stylesheet', 'template....
1
vote
2answers
32 views

How to remove excerpts in joomla articles

On my homepage, I am listing all my blog posts from a category. I don't want to show there any excerpt of articles neither full article instead of a title and featured image. How can I achieve that?
1
vote
2answers
192 views

Joomla.submitbutton is not a function at HTMLButtonElement.onclick

I have been facing a problem when I try to update the article from the frontend then it shows this error Joomla.submitbutton is not a function at HTMLButtonElement.onclick Here is my code &...
0
votes
1answer
15 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
1answer
55 views

Display a menu item with Login requirement

I have made a Menu item and set its type to a 'Single Article'. I want that menu item to be displayed publically but login after clicking it to enter that article. When I have set the access level to ...
0
votes
2answers
104 views

PHP in helper module. How to format directory string to access images

I wanted a Joomla extension which would (among other things) allow me to show a different image for every day of the month but couldn't find one. So I decided to learn PHP to do the job. I wrote ...
0
votes
2answers
94 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 ...
2
votes
2answers
486 views

How to remove menu parent from url?

The Joomla menu system includes the menu's parent name in the URL structure for sub-menu items as follows: https://www.mysite.com/parent/page I'd like to remove the parent directory from the url as ...
1
vote
1answer
137 views

Joomla. How to disallow Joomla download OpenSearch xml-file?

We can enable OpenSearch in Joomla search-component to insert links in <head> section like this: <link href="http://site.name/component/search/?id=45&amp;Itemid=104&amp;format=...
1
vote
1answer
46 views

How to add a custom field for a product details page for Hikashop?

I have just started using Hikashop for ecommerce and followed the directions from this link: https://www.hikashop.com/support/documentation/42-hikashop-field-form.html My problem is that I can't get ...
0
votes
1answer
39 views

CheckToken() error when TinyMCE init

I have a form, which add some data to DataBase. <form> <input type="text" name="mydata" /> <textarea name="mytext"></textarea> <?php echo JHtml::_( 'form.token' );?> ...
1
vote
2answers
923 views

Backend - ERR_EMPTY_RESPONSE

I have installed joomla 3.3.6 and I had no troubles installing it. I login as super user, and everytime I try to change any element (menu, items, modules) it displays the ERR_EMPTY_RESPONSE error. I ...
0
votes
1answer
182 views

I've missed something with how category layout override is working

I'm working on a students directory with the following structures: Directory (parent category) |_ 2017-2016 (child category) |_ 2016-2015 (child category) |_ 2015-2014 (child category) … In each ...
0
votes
1answer
98 views

Menu permissions problem

I have one menu that is associated to one group acess level. This menu is not appearing if i acess an user with a different level of acess. But this menu is appearing with none user logged in. I ...
1
vote
1answer
46 views

Article backend layout is gone only for articles belonging to specific category

For some reason only articles belonging to a specific category are not showing their layout. This is what I am looking at: And this is how it should be: There is no difference in the articles, only ...
0
votes
2answers
243 views

How to correct a sesssion_write_close() warning?

I have the following error shown on error log. But I am a Joomla novice. Could I get a simple step by step guide on how to solve my WSOD problem here? [10-Nov-2018 07:48:20 UTC] PHP Warning: ...
0
votes
1answer
781 views

How to list a Category Blog and sub-categories with Articles still in Category Blog layout?

Using Joomla 3.8.5. Using the Menu Category Blog I've been able to list the Category title as a heading, and the Articles in blog layout style with two columns for the Articles using a Read More when ...
2
votes
2answers
26 views

Link to Page & Pre-Filter Portfolio Items

Joomla 3.9.10 I am using this template. I would like to create a link on my home page that when clicked, will take the user to the portfolio page and display a pre-selected tab.. For example my link ...
0
votes
0answers
10 views

Translation file for Contact form module in French?

In my Joomla website, I'm using the module type "Perfect AJAX Popup Contact Form": The problem is that my website is multilingual, and a translation in French doesn't seem to be available. No when ...
2
votes
2answers
399 views

Login menu item as modal

Is there any way of opening the "login" menu item as a modal box? This would allow the user to stay on the same page after logging in. I don't want 3rd party extensions as they tend to crack with ...
1
vote
1answer
102 views

Joomla - Display block of a tooltip not work in main menu

I'm trying to display a tool tip when you have your mouse over to the menu item " blog ". My tooltip, content in the menu is this: < li id="newitem91">< div class="tool-tip">< span>tool tip!...
1
vote
1answer
306 views

Tagged items listing layout after clicking on a tag is displayed on homepage

I have installed a Cloud Tags module to display most used tags on my site. I would expect that when clicking on any of the Tags on the module, to see a page with a list layout that will show all ...
1
vote
1answer
37 views

Raw sql query returns multiple rows, but with Joomla methods only one row is returned

For some reason the query I put directly to DB works, but when set in Joomla syntax it is returning only 1 result, and there should be a lot more... Clear Mysql query: SELECT vmp....
1
vote
2answers
64 views

How to fix empty Itemid's like https://www.joomla.org/?Itemid=

Google has indexed an URL on my site like this: https://www.joomla.org/?Itemid= This results in strange page of course. Try it with your own site! What would be the best way to redirect this to the ...
0
votes
1answer
36 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; ...
0
votes
1answer
55 views

Responsive footer issue with spoiler. Joomla (JSN Megazine PRO template)

I can't make a responsive footer in joomla. The problem manifests itself when using the spoiler widget (Shortcode Ultimate http://bdthemes.net/demo/joomla/shortcode/en/shortcodes/spoiler.html) When ...
2
votes
1answer
28 views

Trigger switch from main menu bar to offcanvas menu when main menu would break in two lines?

I have a website in three languages, so the main menu doesn't take the same space for all the languages. Because of that, the main menu gets broken up into two lines when the words in the main menu ...
0
votes
0answers
20 views

How to customize amount of columns in Joomla megamenu?

My website has a mega menu dropdown in the main menu which shows up nicely, but the problem is that I had to choose the design for six columns to be able to implement my five desired columns in the ...
0
votes
0answers
5 views

K2 content module not showing articles images in category view / article list view

I associated articles of one category via its category to a K2 - content module. They all display when the page of the module is called, but the images of the articles only show up when you click on ...
0
votes
0answers
7 views

Customize alternative layout for the K2 Content module in Joomla

I already established an alternative layout php file and it's recognized by the Joomla administrator for the K2 - content modules. What I need to do now is code the layout I want in php, but the ...