Questions tagged [header]
For questions on modifying Joomla's header content, including HTML HEAD area, template header positions and HTTP Headers
24
questions
1
vote
1
answer
130
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....
0
votes
1
answer
424
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="...
1
vote
1
answer
74
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', ...
0
votes
1
answer
556
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="...
1
vote
1
answer
305
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/...
3
votes
2
answers
146
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 ...
0
votes
1
answer
610
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 ...
2
votes
2
answers
467
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 ...
3
votes
2
answers
3k
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 ...
0
votes
0
answers
93
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 ...
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 ...
1
vote
1
answer
514
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 ...
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 ...
0
votes
1
answer
40
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.....
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 ...
2
votes
3
answers
783
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 ...
0
votes
1
answer
863
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 ...
1
vote
2
answers
160
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 ...
1
vote
1
answer
581
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 ...
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/...
1
vote
1
answer
583
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 $...
0
votes
1
answer
336
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 ...
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 ...
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?