html header and body

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
Taboga
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 119
Joined: Thu Jan 17, 2008 10:04 pm

html header and body

Post by Taboga » Wed Sep 30, 2015 6:07 pm

Where do I find the HTML for my webpage? I need to add code between the header and body. I have Joomla! 3.4 and Gantry 5

I used tto know where t find this in CPanel but I can not find it anywhere...it would help if I knew the name of the file...

harperlala
Joomla! Guru
Joomla! Guru
Posts: 697
Joined: Mon Aug 24, 2015 5:55 pm

Re: html header and body

Post by harperlala » Wed Sep 30, 2015 6:23 pm


sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: html header and body

Post by sovainfo » Wed Sep 30, 2015 6:31 pm

Right-click and request the pagesource. That is the only place where you'll find html. It is produced by quite a number of php scripts. Which script you need depends on the situation. Maybe you can formulate what you want a little less abstract.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

Taboga
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 119
Joined: Thu Jan 17, 2008 10:04 pm

Re: html header and body

Post by Taboga » Thu Oct 01, 2015 7:06 pm

I know how to inspect an element, I just know I used to find the whole page HTML somewhere.

Doesn't anyone need to add code anymore?

User avatar
AlexVega
Joomla! Hero
Joomla! Hero
Posts: 2711
Joined: Fri Aug 28, 2015 6:13 am
Location: México

Re: html header and body

Post by AlexVega » Thu Oct 01, 2015 10:33 pm

Hi there!

Joomla does not manage html pages, the pages are generated from multiple php files.
You can add your code most commonly in index.php of your template in your template folder.

The extensions listed above help you to add the code you need, for example before </body>.
Cheers!

Taboga
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 119
Joined: Thu Jan 17, 2008 10:04 pm

Re: html header and body

Post by Taboga » Sat Oct 03, 2015 3:58 pm

Thank you AlexVega!

User avatar
AlexVega
Joomla! Hero
Joomla! Hero
Posts: 2711
Joined: Fri Aug 28, 2015 6:13 am
Location: México

Re: html header and body

Post by AlexVega » Sat Oct 03, 2015 10:28 pm

You're Welcome,
Regards!


Locked

Return to “General Questions/New to Joomla! 3.x”