Questions tagged [header]

For questions on modifying Joomla's header content, including HTML HEAD area, template header positions and HTTP Headers

Filter by
Sorted by
Tagged with
11 votes
3 answers
2k views

Return JSON using the Joomla Framework

I have started building a web application using the Joomla Framework. It consists of a simple web page which will be displayed in an iFrame along with an API that will be used to update the content ...
Joe P's user avatar
  • 541
10 votes
5 answers
11k views

Disable script loading in head

How do I disable the loading of mootools-core.js core.js In <head> without using a third party component/plugin?
web-tiki's user avatar
  • 1,373
4 votes
3 answers
1k views

Joomla 3.4 Admin Template Override

I want to change the header in the default admin template Isis. This is the output now. <header class="header"> <div class="container-logo"> <img src="administrator/...
purple11111's user avatar
3 votes
2 answers
197 views

Place article specific scripts in head section

I'm using a lot of javascript files for my articles. These scripts shouldn't be loaded everywhere - only in certain articles. That's the reason why I don't add them inside of the templates´ head. At ...
Berstos's user avatar
  • 31
3 votes
2 answers
4k views

Modification of the generated Joomla head (<jdoc:include type="head" />)

I try to modify the generated <head> of a Joomla website 3.9.13. Unfortunately I faced on the famous <jdoc:include type="head" /> How can I modify it? I could not find any reference if ...
Panos's user avatar
  • 33
2 votes
2 answers
2k views

How to include scripts in <head>

Ok I am having a hard time with this one. I just inherited a 3.8.x Joomla site and all I'm trying to do is include a GTM script in the head of the document. What's happening is that anything within ...
Nick's user avatar
  • 33
2 votes
2 answers
536 views

How do I add async attribute for scripts?

I would like to add async to script tags coming from here <jdoc:include type="head" />. I have done some research and I found a few solutions, however those are for custom scripts. I ...
Thiago Guimarães's user avatar
2 votes
3 answers
813 views

Jquery is not included in my component's head

I've just read this tutorial https://docs.joomla.org/J3.x:Developing_an_MVC_Component and finished my component (Joomla! 3.7). Now I realise that the site view doesn't contain the jquery link(s) in ...
Rico's user avatar
  • 155
1 vote
1 answer
589 views

Remove head script not working in custom component

I'm using this lines to remove header scripts of Joomla I don't need it : $doc = JFactory::getDocument(); $dontInclude = array( '/media/jui/js/bootstrap.min.js' ); foreach($doc->_scripts as $...
Dayron Gallardo's user avatar
1 vote
1 answer
214 views

Export as Excel with PHPSpreadsheet as download how to keep Joomla Messages?

In my custom Joomla 5 component I've added PHPSpreadsheet via composer. In the Export View (Backend) i have a small adminform for setting up the export and a submit button that toggles the download by ...
Marco's user avatar
  • 663
1 vote
1 answer
209 views

Manipulate Meta Description Content using Joomla Module

I want to create a Joomla Module that has the capability to write its own text based on the GET data within the submitted URL, it sounds feasible, let's say the submitted URL is yourdomain.com/index....
dhany saguntoro's user avatar
1 vote
1 answer
89 views

How to use HTMLHelper for other file types?

I found samples where HTMLHelper was used to load some types of files like stylesheets, scripts and images: $this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon.svg', '', [], true, 1), 'icon', ...
Plamen's user avatar
  • 745
1 vote
1 answer
533 views

Custom header content depend on article

I am wondering is it possible to have different headers depending on the different articles? e.g article ID 1 shows header A and article ID 2 shows header B. Currently I have modified the template ...
Z Pat's user avatar
  • 13
1 vote
2 answers
161 views

Mobile header available only on the main page

On my website clevervox.com I have a strange problem: My mobile menu and logo are visible only on the first page and on the other they disappeared and I couldn't find logic for this. My template is ...
G.Grozeva's user avatar
1 vote
1 answer
623 views

Joomla: Show Header of my menu not working

I have a problem with my menu for showing the header of my page. When I click Edit in the menu items, for example "About us" -> “Page Display Options”, I write the title of page for the browser and ...
Gabriel91's user avatar
  • 223
1 vote
1 answer
378 views

How to stop Joomla 4 from loading collapse.min.js in my template

I built a custom Joomla 4 template and unfortunately Joomla is automatically loading collapse.min.js When I view the page source I see this in the head: <script src="/media/vendor/bootstrap/js/...
Bold's user avatar
  • 123
1 vote
1 answer
2k views

"Headers Have Already Been Sent"

I was having difficulty with a Joomla! site and decided to move it to another server for testing. The Akeeba backup I had would not fully extract for some reason (a large backup file included in the ...
Michael Yaeger's user avatar
0 votes
1 answer
727 views

jump after header top bar

My site has a top bar and a nav bar with the site menu. Strangely enough, after a few pixels of scrolling down, the content part of the site jumps up. I think this wasn't doing this initially, but I ...
thymaro's user avatar
  • 137
0 votes
1 answer
355 views

What is the purpose of page heading?

In Joomla each page can have page heading and page title both at the same time. I'm very puzzled at why that is so. I simply don't understand what's page heading supposed to be. Categories have ...
Jinx's user avatar
  • 301
0 votes
1 answer
609 views

Joomla 4.1.5 <meta name="keyword"> doesn't show

I use Joomla 4.1.5, and I created my own Joomla Template following the tutorial from joomla.org. My problem is that while other metadata shows correctly on the frontend pages, the <meta name="...
dhany saguntoro's user avatar
0 votes
1 answer
717 views

How to remove CSS and JS from Joomla 4 header?

I want to properly remove CSS and JS links from Joomla 4 header For example I did not want: <link href="/newer/media/vendor/fontawesome-free/css/fontawesome.min.css?5.15.4" rel="...
Gocha's user avatar
  • 83
0 votes
1 answer
41 views

How to debug joomla behaviors?

I was using protostar for a looong time. I jsut bought a theme and switched to it (it uses helix framework). As soon as i switched it. On all pages a text appeared "// You can place JavaScript like.....
user2102266's user avatar
0 votes
1 answer
1k views

Changing the headerlogo in beez3 template the image isn't fit to the headerlogo

I have Joomla 3.7. I have replaced the file personal2.png in /templates/beez3/images/personal/personal2.png to another image with the same resolution ( 1060X288 ). The Image Logo changed but the ...
Ayman Ghandour's user avatar
0 votes
1 answer
877 views

Change header image Joomla 3.6.0

A friend of mine asked, if I can help him in changing the header image of his Joomla Page. Since I should know how to do this in any CMS, I asked him to provide me with the credentials. However, I did ...
beta's user avatar
  • 101
0 votes
0 answers
36 views

Grant access to Joomla API from just one site

In Joomla Joomla 4/5: What is the best strategy to allow access to Joomla API endpoints from only one (or more) specific domains? And how is this configured in Joomla 4/5? (CORS vs. HTTP-Header-Plugin ...
cappu's user avatar
  • 139
0 votes
0 answers
118 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 ...
laendle's user avatar
  • 181