eZ Community » Forums » Developer » Ez 4.4 with no H1 in contents???
expandshrink

Ez 4.4 with no H1 in contents???

Ez 4.4 with no H1 in contents???

Wednesday 28 November 2012 2:19:57 am - 1 reply

Just found out that EZ Publish does not handle H1 tags!! is there a way to solve this or to modify them?

 

Help, thanks.

Wednesday 28 November 2012 11:00:40 am

Hi Luis,

do you mean that if you select Heading 1 in WYSIWYG editor, you get H2 tag instead of H1 in HTML output?

This is normal, as in most usecases, you will have H1 in your template code rather than in content.

If you want to change this, you will need to override design/standard/templates/content/datatype/view/ezxmltags/header.tpl template and modify it to output h1 instead of h2, h2 instead of h3 and so on.

You need to be aware that overriding this template is a global change and will affect every heading of every content in your eZ Publish installation, so you should override.ini rules to make the override as specific as possible.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from