Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
4answers
73 views

Joomla API for identifying if new visitor?

Is there a API or possiblity to identify in joomla if the user is a new visitor, who visits the page the first time or a defined period passed? To be specific, the user is not registered joomla user, ...
3
votes
1answer
28 views

How to get URL parameter via Joomla api with decoded strings?

how can I get the full url parameter with the url-encoded values ?myParam=dummy%C3%B6%C3%A4%C3%BC this is the decoded url: ?myParam=dummyöäü if I use $myText = urldecode(JFactory::getApplication(...
3
votes
3answers
32 views

How to create many pages with the same content except for one variable?

I have over 100 pages to create and they will have the same exact content except for one variable (dog breed). Examples: www.dog.com/husky-dog www.dog.com/rottweiler-dog www.dog.com/pitbull-dog and ...
1
vote
1answer
47 views

Delete row from custom made SQL when deleting article in Joomla

I´m still new to Joomla and to coding SQL. I was thinking about how I should manage a big system I made with information that is saved in a sql table, that contains some user input and the "id" of an ...
3
votes
1answer
40 views

Caching items with different cache lifetime

I'm looking into using Joomla's caching mechanism for a plugin. However I would need to cache the plugin data for a given period of time irrespective of the site-wide cache settings. Is it possible ...
1
vote
1answer
16 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
vote
1answer
32 views

limit dimension of image while uploading in joomla 3.10

I wanted to restrict the dimension of image width & height to minimum in media manager of joomla 3.10. min-width: 100px, min-height:50px. Please help me how can i do this....?
1
vote
2answers
23 views

Why doesn't an article appear when following some links?

When I try to access an article by following a link like thisindex.php?option=com_content&view=article&id=9, the post appears as expected. However, when I use the link index.php/2-...
0
votes
1answer
10 views

Plugin creation for affiliate tracking

I am trying to figure out how difficult it would be to create a custom plugin that would identify an affiliate conversion. I am using Joomla Event Booking extension and am looking at implementing ...
1
vote
1answer
47 views

Override helper.php on mod_related_item

I want to get the related items of an article order by created and only show the related items that have the same catid. To accomplish that i must change the helper.php code and add this code: $...
1
vote
1answer
37 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
0answers
29 views

Why sometimes a component's pages are pointing to a non-existing menu item id?

I am using Jomsocial(COM_COMMUNITY) to build a social network system. According to their documentation, , all jomsocial pages are using a same itemid. But on my site, this item id doesn't exist in the ...
1
vote
1answer
32 views

Joomla's homepage content displayed instead of the article page

I'm starting a new Joomla 3. x template and I'm finishing the front page index.php, now the problem is when I go to an article the same page is appears (the front-page) how can I create a custom page ...
1
vote
1answer
59 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). ...
1
vote
1answer
22 views

Joomla 3 - Text area in Editor field breaks the Admin section

I have an editor field with some HTML code in it. The HTML code consists of a form and one of the form fields is a text area. When this code is added to the editor field, the Admin section of the ...
1
vote
2answers
30 views

Joomla 3 - How to set content of the editor field?

I have a editor field which I would like to populate with HTML content: <fieldset name="basic"> <field name="Code" type="editor" label="Code" description="" width="300" filter="safehtml" ...
2
votes
1answer
48 views

Joomla 3 - How to set module params programmatically?

I have a module and params are being saved through the config form. I want to add some additional params programmatically e.g. a token? Is this possible? Thank you.
1
vote
1answer
23 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 ...
1
vote
1answer
50 views

Joomla 3 - How to call a function on Module save?

I have a module, and a number of different fields for authentication with an API. I want to perform the API authentication when the Save button is clicked, and return a success or fail message ...
2
votes
1answer
68 views

Reload admin form after save field in database

In a custom component I need the user in the edit view of an item to be able to load a field in the editor field through modal and ajax. The case is the user can fill an editor field from a text ...
0
votes
0answers
19 views

Joomla login issue after xampp upgrade mysql to mariadb

I have shifted my Joomla 3 site to another drive on a local windows server, performed some tweaks and everything went okay, but I am unable to login to the Joomla administrator account. This issue is ...
1
vote
1answer
58 views

Site has 2 seconds of server waiting time

I have exhausted all the options (to the best of my knowledge) and there are still 2 seconds of server waiting time. I have upgraded to the latest version of Joomla, jch optimize pro, jotcache, gzip, ...
4
votes
2answers
110 views

Website speed is awful

I work as an apprentice web developer who has been left in charge of the web team (all of my colleagues have left) and have been left with an impossible task. We have a 10-core Windows server, with ...
0
votes
0answers
20 views

Custom component com_fields in multiple views?

I am developing a custom component in which I have integrated the joomla custom fields. I have 2 tables and views in admin. The template view The Item View In the templates view there is an editor ...
1
vote
1answer
34 views

How to replace &nbsp; with a space?

I am creating some code to auto-generate a meta-desc for product pages in VM. I have stripped tags, but I am still seeing &nbsp in the resulting text. The code I have at present is: if ($...
0
votes
3answers
68 views

Convert PHP code to Jooma PHP syntax?

I'm running a query on phpmyadmin which has the "IN" function included. It is to extract data from the same column for different fields' (Waybill1, Waybill2 etc.) I shall post the SQL query below: ...
0
votes
1answer
24 views

Checkin When Moving From One Component Edit Screen to Another

We have built a custom Joomla! component that has multiple sections and edit screens. In many cases, our component pages are related to each other and it makes sense for users to move from one to ...
0
votes
0answers
55 views

How to create a Joomla MVC for consuming a RESTful API

I'm looking for some help with writing a Joomla MVC which will consume a RESTful API. The API returns data in JSON and XML. The component should have two views (a frontend list with all objects - ...
1
vote
1answer
30 views

How to make form action to work?

I'm learning how to make my own module on Joomla. MyModule mod_planejamentomensal.php is like this: //No direct access defined('_JEXEC') or die; require_once dirname(__FILE__) . '/helper.php'; ...
0
votes
0answers
14 views

Joomla Bootstrap 3; break out image or div on the left

I am using a Bootstrap 3 template. I'd like to make pages with images or text divs sticking out of the regular space of the column. I was thinking of something like this: <div class="col-md-...
1
vote
1answer
35 views

file upload in admin backend - custom component

In my custom component/admin, in the item edit template I am trying to let the user upload a file. The problem is that the file is not being passed in my save function. There is not even in the array ...
2
votes
3answers
47 views

Hiding a Menu item with PHP in Sourcer in Joomla 3.8.1

I have a menu Item, and I added a custom css class so I could modify it like so: In Firefox's F12 developer tool, when I look up testphpmenuclass I find it just fine here: So I create a Custom ...
4
votes
1answer
28 views

Custom template creates multiple H1 tags on same page

I´m new to Joomla and started on my own template. Using this code to get articles: <jdoc:include type="component" /> Output multiple tags on the same page... This is, as far as I know, bad ...
1
vote
1answer
78 views

Get com_contacts item by id?

I need to get a com_contacts item the same way Joomla does (so I can re-use a template for example). I know I can get the item by querying the database directly, but that won't prepare things the same ...
1
vote
2answers
29 views

Redirect problem

Over the last couple of years I have taken over a website made up of several parts, ie there were some traditional html pages, a php “wiki” installation and a similar php “knowledgeable” installation. ...
1
vote
1answer
20 views

Export language overrides

I need to export the language overrides which i set in the joomla 3.8 admin. I couldn't find any option at extensions->languages->overrides and i also couldn't find the overrides inside the database. ...
1
vote
1answer
25 views

How to display submenus in customized Joomla menu?

I want add schema in my Joomla menu. My code: $menu = JFactory::getApplication()->getMenu(); // Get menu items - array with menu items $items = $menu->getItems('menutype', 'mainmenu'); //...
1
vote
2answers
71 views

Beez 3 Logo size

I'm trying to change the size of the logo in beez3 on this website: https://jurahaus-verein.de/ to a smaller logo but so far didn't succeed with either of the following: - saving it in a smaller size ...
0
votes
0answers
27 views

Caching pagination and reset number of products per page in Joomla Virtuemart

My Virtuemart 3 is crazy. It caching pagination position, on which I was in catalog and, when I return to catalog, open category on that page, example 3 (if I go away from catalog on third page). In ...
0
votes
1answer
27 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
0answers
25 views

Virtuemart 3 number of products

I have a shop on Virtuemart 3.2.2. In configuration there 24 products per page. When I go to catalog page first time, there is all good - 24 products. Then in pagination I click, for example, 10 page, ...
1
vote
1answer
73 views

Get tags for an article

How can I query the db for all the tags associated with an article? I have been able to use JTable to query to *_tags table, but that doesn't return the tags that are associated with the article ...
1
vote
1answer
76 views

Find user by email

How can I look up a user by email? I thought that JTable::load would do it, but it returns a weird data shape: $user = JTable::getInstance('User', 'JTable', array()); $user->load(array("email" =&...
1
vote
1answer
92 views

How to log in user into Joomla 3.x from external script

I hope you can help me with this to find a solution. On site1 I have a Joomla 3.x installation. I want to run an external script which validates a user on site2 (this is already working). After ...
1
vote
1answer
163 views

Get module id in helper file

I need to get id of current module in helper.php file of mod_menu. But there is no module parameters in this script.
0
votes
0answers
16 views

Create user / category on new item in custom component

I need some help and ideas to achieve the following scenario. In the administration when adding new item in my custom Joomla 3 component I need to link the item to a specific user. The user will not ...
0
votes
1answer
14 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' );?> ...
0
votes
0answers
24 views

Virtuemart - accounting system connection

I would like to create a plugin that's able to link virtuemart with an accounting system. virtuemart = v accounting system = a Functions: a-price = v-price a-orders = v-...
0
votes
0answers
24 views

joomla -> jevents -> Calendar Event ; Go directly to edit when mouse click on the Event

I am using Joomla 3.8 with JEvents v3.4.47. When you click on a recurring event on the web site you need to navigate with several clicks to "edit this recurrence" page. I want that the first click on ...
1
vote
0answers
38 views

Can't run task when there is constructor

I am building a component which will act as a API for a front end and was curious about something. For example if I call the url http://example.com/index.php?option=com_helloworld&task=shout it ...