Questions tagged [joomla-api]

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

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
60 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
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
408 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
32 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 ...