Questions tagged [joomla-api]

This tag is for questions related to the Joomla-API, both Joomla CMS and Joomla Framework.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
81 views

Why calling addIncludePath from self has different results than from JModelLegacy

I'm trying to get an instance of a com_menus model from within my component. The following code works: JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_menus/models/'); $model = ...
1
vote
1answer
32 views

HTMLHelper::isRegistered what is it used for?

In Joomla's profile plugin, I came across these lines of code if (!HTMLHelper::isRegistered('users.url')) { HTMLHelper::register('users.url', array(__CLASS__, 'url')); } ...
1
vote
0answers
15 views

Upload and attachement for phpmailer

hello i starting an code to allow sending file via a form i create an input file field <input type="file" name="'.$field_name.'[]" accept="'.$values_field[0].'" id="'.$field_id.'" '.$placeholder.' ...
1
vote
0answers
20 views

JToolbarHelper contents disappearing when cache is enabled

I've setup my custom component using JToolbarHelper for navigation, following the standard set by base Joomla components. Each view contains some variation of the following: JToolbarHelper::title(...
1
vote
0answers
438 views

Create breadcrumbs when JPathway object is empty and knowing the parent JMenu

There may be a couple of ways to solve this, but it seems the JPathway/JMenu route is the most feasible. I have legacy php code that is pulling design information from a database. The custom code ...
0
votes
0answers
11 views

Joomla carousel that gets its content dynamically from an external json file

I am wondering if there is a carousel module for Joomla that can consume an api's json response to update carrousel database, at some interval, and generate the visual result. The idea is to generate ...
0
votes
1answer
35 views

Does Joomla CMS or Joomla Framework provide any Class for making POST request to an external API?

I came across this page in Joomla's documentation and this page, are they the same thing? And are these capable of sending POST requests to an external API?
0
votes
0answers
66 views

Joomla custom SSO plugin

I need to create a custom SSO plugin. The way it should work is: User authenticates on 3rd party application 3rd party application calls a Joomla URL via POST request The URL that has been hit deals ...
0
votes
0answers
11 views

create Custom Integration to Sp Page Builder editor

i have created a portfolio component and i want integrate it with sp page builder to create better items when i checked the \administrator\components\com_sppagebuilder\helpers/integrations.php i see ...
0
votes
1answer
56 views

Joomla post requests

I'm trying to make an android application and so i want to connect it directly to my Joomla website, i want to send some post requests but they are getting denied, I'm not asking for any help ...
0
votes
0answers
41 views

Change default backend language programmatically

I have a component installed which doesn't provide multilingual support. If I import data via the API, I can't import in a different language, only in the default backend language. Unfortunately, ...
0
votes
0answers
41 views

API to read and write http headers?

I am wondering what is the best way to read and write http headers in Joomla? What do I need to achieve? I want to read all requests headers I want to add response headers I want to control optional ...