I'm trying to edit the default articles' HTML. Right now the titles are in h2s and I want to change them to h1s and get rid of the print options etc.
There has to be some where you can edit the HTML of default article templates. Anybody know where?
I'm trying to edit the default articles' HTML. Right now the titles are in h2s and I want to change them to h1s and get rid of the print options etc.
There has to be some where you can edit the HTML of default article templates. Anybody know where?
Changing joomla/components/com_content/views/article/tmpl/default.php is not a good idea, since all changes will be lost after your next update.
Copy the before mentioned file and place it into the Your_template/html/com_content/article folder, which would have to be created first, if its not there already.
as i know when you are posting some article on joomla you have an option to post the data as
HTML
and i don't think so that you have to change some php codes.on the other hand when you are Adding an article that time follow these steps:
No
of the Show Title optionHide
all between Article Rating to Email Iconafter all these setting you just only get your own
HTML
codes that you posted on that article as well the<h1>
tagEDIT: Or if you want to completely change the Article layout then
find the location
joomla/components/com_content/views/article/tmpl/default.php
The above
default.php
file keeps all the layout of the article section and all the data that data that will keep on theRightColumn
.